What is is ItemLottery?
Lottery is an innovative plugin that enhances gameplay allows you to create lottery items for eligible admins or optionally for players along with the ability to set cooldown. Along with a system of logs of created lotteries with the possibility to summon items from the finished events. Our plugin offers an extremely simple player randomization system. The randomization process is very user-friendly graphically. Furthermore, the plugin has logs to ensure no information is skipped.
Installation/Configuration
- Configure the config.yml in the plugin folder
(>>/plugins/ItemLottery/config.yml) - Default configuration is automatically loaded upon startup but after modified you have to restart server.
Customizable
You can fully customize the plugin to suit your preferences.
- Plugin prefix
- Messages
- Command cooldown
Cooldown
- If you want, you can set the renewal time for using the lottery created.
- Set it for the player for the time set in the config.
Winner prize
If you wish, the player who wins the event can receive a reward.
- You can set rewards in the form of items.
/lottery create <time> <price count> <winner count> - creates a lottery, which will execute itself after a lapse of time.
/lottery end draw/force - end raffles with or without prize drawing.
/lottery author - information about author.
![[IMG]](http://proxy.spigotmc.org/f2d59aee9c4ca955580863de106b05b5d574b971?url=https%3A%2F%2Fcdn.discordapp.com%2Fattachments%2F862800193224310795%2F1159593514833809500%2Fpermissions-2-10-2023_2.png%3Fex%3D6531969e%26is%3D651f219e%26hm%3Dd5e6fc1c690cf11b9813165e1542652f4d40c645fca9e2999ddef21b026d7d2e%26)
lottery.admin - allows to use all admin commands.
lottery.create - permission to create new lottery.
lottery.history - entitles to search lottery history.
lottery.playeruse - player with this permission can create new lottery.
lottery.bypass - entitlement skips cooldown to create new lottery
Check out our Discord. There you can ask us for any questions and reoprts bugs. https://discord.gg/vnr7HpmR
Spoiler: config.yml
Code (YAML):
settings
:
#Annoucment on plugin update?
updateChecker : true
#Player can create lottery?
playerLotteryUse : false
#Set player cooldown on use lottery create in seconds
cooldownTime : 300
Messages:
Prefix : "&7[&9Lottery&7]"
Usage : "&8» &cUsage: &7/lottery create/history &ftime/logId"
Permissions : "&8» &cYou don't have permission!"
Cooldown : "&8» &9Cooldown remaining time to create lottery &7%time%"
LotteryCommandArgs:
ItemInHand : "&8» &cYou must have item in hand!"
Time : "&8» &cYou must set lottery time in seconds and time must be longer than 60 seconds!"
CommandRun : "&8» &9Is currently on!"
LogNotFound : "&8» &9Log is not found!"
ForeEndBroadcast : "&8» &9Lottery has been force ended!"
ForceEnd : "&8» &9You have completed the lotteries!"
Error : "&8» &cSomething's gone wrong"
Lottery:
StartTitle : "Lottery"
StartSubTitle : "&9&lHas been started!"
StartBroadCastMessage : "Has been started on %item_name%!"
BosBarTitle : "&aTime to lottery&7: %time%"
Title : "Lottery win"
WinMessage : "You are win the lottery!"
#Annoucment on plugin update?
updateChecker : true
#Player can create lottery?
playerLotteryUse : false
#Set player cooldown on use lottery create in seconds
cooldownTime : 300
Messages:
Prefix : "&7[&9Lottery&7]"
Usage : "&8» &cUsage: &7/lottery create/history &ftime/logId"
Permissions : "&8» &cYou don't have permission!"
Cooldown : "&8» &9Cooldown remaining time to create lottery &7%time%"
LotteryCommandArgs:
ItemInHand : "&8» &cYou must have item in hand!"
Time : "&8» &cYou must set lottery time in seconds and time must be longer than 60 seconds!"
CommandRun : "&8» &9Is currently on!"
LogNotFound : "&8» &9Log is not found!"
ForeEndBroadcast : "&8» &9Lottery has been force ended!"
ForceEnd : "&8» &9You have completed the lotteries!"
Error : "&8» &cSomething's gone wrong"
Lottery:
StartTitle : "Lottery"
StartSubTitle : "&9&lHas been started!"
StartBroadCastMessage : "Has been started on %item_name%!"
BosBarTitle : "&aTime to lottery&7: %time%"
Title : "Lottery win"
WinMessage : "You are win the lottery!"
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.16, 1.17, 1.18
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
ItemLottery - Server lottery system is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18, 1.19 and newer. Downloaded 244 times (via Spigot). Download it and open it directly in the game.