Craftbukkit plugin. Lottery tickets to item prizes or cash prizes. Supports item meta.
SILOT2.*:
description: Gives access to all SimpleItemLottery2 commands.
default: op
SILOT2.admin:
description: Gives access to all SimpleItemLottery2 administrative commands.
children:
SILOT2.reload: true
SILOT2.list: true
SILOT2.use: true
SILOT2.class.*: true
default: op
SILOT2.reload:
description: Reloads the plugin.
default: op
SILOT2.list:
description: Players with this permission can list all the prizes.
default: op
SILOT2.use:
description: Gives access to use lottery ticket.
default: true
SILOT2.class.*:
description: Gives access to use class X lottery ticket.
default: true
Hold a dirt block in your hand, then type /silot2 add 1 1000 to add 1 iron block as a prize to database. Now, in prize class 1, the blocks have a relative probability of 20:200:1000, which is 1:10:50 (1.6%:16.4%:82%)
Hold a super awesome sword in your hand, then type /silot2 add 2 5 to add it to class 2's prize list.
And don't forget to type /silot2 add 2 50 100000 to add $100000 as prize, making it more difficult to get your super awesome sword.
Got some even more rarer armors, and you want them to be prizes? Type /silot2 add 3 20 to add them to a even more higher class prize list!
There is a hard limit of classes and probability number of 2147483647 which is 2^31 - 1. You can change the soft limit in config.yml.
Type /silot2 make 1 16 to make 16 * class 1 lottery tickets. You can consider selling them in regular shops, or give them to newcomers.
Type /silot2 make 2 to make a class 2 lottery tickets. Consider selling them in higher class shop or giving them out as event prizes!
Type /silot2 make 3 to make a class 3 lottery tickets. Consider letting them be one of the drops of a boss mob.