The time which counts down to the draw will be reset after the server is started or the game is reloaded.
/lottery buy [amount]: To buy the specified amount of tickets or if not specified only one ticket.
/lottery info: Shows how many tickets one have bought and how much is in the pot.
/lottery draw: Force-draw. Ignores the config-set drawInterval. (Just added for testing purposes)
# Format explanation: http://docs.oracle.com/javase/8/docs/api/java/time/Duration.html#parse-java.lang.CharSequence-
# Broadcasts how to buy tickets when someone bought one
# Broadcasts in set interval how much is in the pot; set to PT0M to disable
# The max. amount of tickets a player can buy
# How much of the pot should be given to the winner
# Don't modify this!
I don’t really want to test or mess around with it because the only server I have access to is my pixelmon one, but I have players playing on it and I don’t want my economy to be ruined IF there is a bug.
Yeah, im not sure who is able to draw the lotto at this point. a regular admin was able to do it and they dont have op or * perms
and I would like to see something where it announces when a player buys a ticket, and how to go about doing it; as people keep asking when it actually draws but have no clue that people are even doing it.
Well, the draw command really doesn’t have permissions. I’ll fix that soon™. Luckily, this plugin still is WIP.
So this plugin should send to all the players somewhat a command-help list when someone buys a ticket? That’s like when someone uses WorldEdit and it annouces: “Hey, I’m WorldEdit, use me!”. That feature will definitely be turned off by default.