# In-game ranking

### Implementation

```lua
--// In-game ranking commands
funcs:EnableCommands("YOURPREFIXHERE") --//YOUR PREFIX I.E "!" (default is "!")

--// In-game ranking UI
funcs:EnableUI()
```

### Usage

#### In-game ranking commands

In chat run the following you can run the following commands commands:

```
<prefix>promote username
<prefix>demote username
<prefix>fire username
<prefix>setrank username rankId
```

#### In-game ranking UI

1. Walk up to the player.
2. Click on the player.
3. Select desired option.

### Additional settings

#### Rank limiting

```lua
funcs.minRank = 1 --// DEFAULT is 255
funcs.maxRank = 255 --// DEFAULT is 255
```
