Home›Java›Mods›ItemLottery
ItemLottery
ModsJava

ItemLottery

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
[​IMG]
By the developper of RainbowBeacons

ItemLottery will add a powerful, user-friendly and flexible item lottery to your server.

Spoilers
​
Spoiler
None for the moment

Good to know
​
✦ Compiled with Java 7

Servers
​
Here is a list of the servers using this plugin:
​
Spoiler
creepyminez.mcjoin.eu
​


If you want your server in the list just contact me using the rate/discussion section of the plugin and give me your server's ip
​
Features
​
✦ The lottery ticket is configurable
✦ Manage the prizes list with a user-friendly GUI
✦ No prizes quantity limit
✦ Multiple draw type (Normal, Random and Instant)
✦ Every message of the plugin is configurable
✦ You can't close your inventory while using the lottery, so you won't lose your prize
✦ Supports any item with enchantments, name, lore, amount...

With your suggestions I could add many more features in the future
​
Commands​

✦ /il setticket: Update the lottery ticket with the item you are holding
✦ /il giveticket [Player] [Amount]: Give X lottery tickets to a specified player
✦ /il list: Open the prizes list management GUI (see how to manage the list below)
✦ /il help: Show all commandes
✦ /il reload: Reload ItemLOttery configuration files
​
Manage the prizes list
​

After using the /il list command a GUI will open. Here is how it looks like:
Spoiler
[​IMG]

To add an item to the prizes list, simply click any item from your inventory.
To remove an item from the prizes list, simply click on it (must be in the top inventory)
​
Permissions
​
✦ il.setticket - Gives access to /il setticket command
✦ il.giveticket - Gives access to /il giveticket command
✦ il.list - Gives access to /il list command
✦ il.help - Gives access to /il help command
✦ il.reload - Gives access to /il reload command
​
Configuration​
messages.yml:
This file contains all the messages of the plugin, that you can obviously modify.
If you see words like "variable/0" or "variable/1" in the messages.yml file it is normal. This words are used by the plugin to insert things that can change in messages. When changing messages.yml never put the variables words next to an other word or color code.
Here is a clearer example:
§6Hello §c variable/1 §6! WRONG
§6Hello §c variable/1 §6! GOOD

prizes.yml:
You should not touch this file as it is the place where all prizes datas are stored.

settings.yml:
This file contains all the other datas that you can modify.
lotteryDrawingTitle = The inventory title that will appear when the lottery is drawing
getYourPrizeTitle = The inventory title that will appear when the player can take his lottery prize
lotteryType = The type that will change the way the lottery draws (NORMAL, RANDOM, INSTANT), this is purely visual.
lotteryTicket = This is all relative datas to the lottery ticket, please use the /il setticket command.
​
Finally​

Don't forget to rate this plugin and if you have any ideas tell me in the comment I will try to add them.
​

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ItemLottery is a free Minecraft Java mod. Downloaded 454 times (via Spigot). Download it and open it directly in the game.

Explore more