All CocoLottery commands are accessible through the /lottery command.
| Command | Description |
|---|
| /lottery | Open the lottery GUI |
| /lottery buy <amount> | Buy lottery tickets |
| /lottery status | View current lottery status |
| /lottery help | Show help message |
| /lottery toggleremindmsg | Toggle lottery reminder messages |
| Command | Description |
|---|
| /lottery forcestart | Start the draw immediately |
| /lottery reset | Reset the lottery to base state |
| /lottery add <player> <amount> | Add tickets to a player |
| /lottery remove <player> <amount> | Remove tickets from a player |
| /lottery reload | Reload all configuration files |
| /lottery help admin | Show admin help message |
| Permission | Description | Default |
|---|
| cocolottery.buy | Buy lottery tickets | true |
| cocolottery.status | View lottery status | true |
| cocolottery.gui | Open lottery GUI | true |
| cocolottery.admin | All admin commands | OP |
| cocolottery.forcestart | Force start the draw | OP |
| cocolottery.reset | Reset the lottery | OP |
| cocolottery.add | Add tickets to players | OP |
| cocolottery.remove | Remove tickets from players | OP |
| cocolottery.reload | Reload configuration | OP |
| cocolottery.max.bypass | Bypass max ticket limit | OP |
| cocolottery.update | Receive update notifications | OP |