LottoPlugin
Compatibility with Pocketmine 4.X.X
Full Customization
Automatic Launch
Automatic Draw
You have to install Pocketmine 4.X.X version.
You have to install EconomyAPI in your PMMP Server.
Lotto :
Description : View the remaining lotto time and the current total amount.
Permission : None.
Ticket :
Description : See the remaining lotto time and the current total sum.
Permission : None.
buy :
Description : Buy tickets.
Usage : /ticket buy <amount>
info :
Description : See your tickets.
Usage : /ticket info
Configuration of config.yml
Name
Description
Default
ticket-price
Unity's ticket price
100
repeating-time
The recurrence of lotto reminders (minutes)
15
Name
Description
Type
messages.success.win
The message when a person wins the lotto
Success
Parameters:
Replaced by
{winner}
Winner's name
{cashprize}
Current total sum
{participants}
Participants's number
Name
Description
Type
messages.success.no-winner
The message when there's none participant
Success
Name
Description
Type
messages.success.repeating
The message that repeats itself after a defined time
Success
Parameters:
Replaced by
{timeleft}
Temps restant
{cashprize}
Current total sum
Name
Description
Type
messages.success.ticket-buy
The message when you buy tickets
Success
Parameters:
Replaced by
{tickets}
Tickets amount
{amount}
Sum of buying
Name
Description
Type
messages.success.info-buyed
The message when the person looks his ticket number and has some
Success
Parameters:
Replaced by
{tickets}
Tickets amount
{amount}
Sum of buying
Name
Description
Type
messages.success.info-not-buyed
The message when the person looks his ticket number and does not have one
Success
Name
Description
Type
messages.success.loto-command-answer
The message when the person looks at the remaining lotto time and its sum
Success
Parameters:
Replaced by
{timeleft}
Time left
{cashprize}
Current total sum
Name
Description
Type
messages.errors.cant-buy-under-one
The message when the person enters a number less than 1 of tickets to buy
Error
Parameters:
Replaced by
{tickets}
Input number
Name
Description
Type
messages.errors.not-enough-money
The message when the person doesn't have enough money
Error
Parameters:
Replaced by
{tickets}
Input number
Name
Description
Type
messages.errors.didnt-enter-amount
The message when the person has not entered an amount to buy
Error
Name
Description
Type
messages.errors.usage
The message when the person does not enter buy or info in the order
Error
Now supports PocketMine-MP 4.X.X.
Don't forget to Star this open-source repo !
Apache-2.0