Skip to main content

Commands

All CocoLottery commands are accessible through the /lottery command.


Player Commands

CommandDescription
/lotteryOpen the lottery GUI
/lottery buy <amount>Buy lottery tickets
/lottery statusView current lottery status
/lottery helpShow help message
/lottery toggleremindmsgToggle lottery reminder messages

Admin Commands

CommandDescription
/lottery forcestartStart the draw immediately
/lottery resetReset the lottery to base state
/lottery add <player> <amount>Add tickets to a player
/lottery remove <player> <amount>Remove tickets from a player
/lottery reloadReload all configuration files
/lottery help adminShow admin help message

Permissions

PermissionDescriptionDefault
cocolottery.buyBuy lottery ticketstrue
cocolottery.statusView lottery statustrue
cocolottery.guiOpen lottery GUItrue
cocolottery.adminAll admin commandsOP
cocolottery.forcestartForce start the drawOP
cocolottery.resetReset the lotteryOP
cocolottery.addAdd tickets to playersOP
cocolottery.removeRemove tickets from playersOP
cocolottery.reloadReload configurationOP
cocolottery.max.bypassBypass max ticket limitOP
cocolottery.updateReceive update notificationsOP