Skip to main content

Commands

All commands available in Nexal Lottery.

Alias: /lotto

Player Commands​

CommandDescriptionPermission
/lotteryOpen the lottery GUI (the console gets the help menu)nexallottery.use
/lottery help [page]Show the help menunexallottery.use
/lottery infoOpen the lottery GUInexallottery.use
/lottery buy <amount>Buy lottery ticketsnexallottery.buy
/lottery statsView your lottery statisticsnexallottery.stats
/lottery alertsToggle purchase alertsnexallottery.alerts

Admin Commands​

CommandDescriptionPermission
/lottery adminOpen the admin GUI (the console gets the admin commands)nexallottery.admin
/lottery admin help [page]List the admin commandsnexallottery.admin
/lottery admin forceDraw a winner nownexallottery.admin
/lottery admin exportExport players, current tickets and draw history to export/nexallottery.admin
/lottery admin importImport the files in export/ into the current storagenexallottery.admin
/lottery admin alerts on <player>Enable alerts for a playernexallottery.admin
/lottery admin alerts off <player>Disable alerts for a playernexallottery.admin
/lottery admin alerts onallEnable alerts for everyone, new players included (sets purchase-alerts-default)nexallottery.admin
/lottery admin alerts offallDisable alerts for everyone, new players included (sets purchase-alerts-default)nexallottery.admin
/lottery admin alerts status <player>Show a player's alert settingnexallottery.admin

Admin GUI​

/lottery admin opens a hub with:

  • Configuration: ticket cost, purchase cooldown, ticket limit and its maximum, winner payout, tax and its percentage, draw schedule (common presets), timezone, draw history limit and winner fireworks. Changes are saved to config.yml right away.
  • Statistics: the current round, all-time totals and the top winners.
  • Draw History: the last 45 draws, labelled and described like the lottery GUI's.
  • Force Draw (shift click), Purchase Alerts for everyone (left click on, right click off), Export Data and Import Data (shift click).