HomeJavaModsItemLottery - Server lottery system
ItemLottery - Server lottery system
[​IMG]

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


[​IMG]
Customizable
You can fully customize the plugin to suit your preferences.

Cooldown

Winner prize
If you wish, the player who wins the event can receive a reward.


[​IMG]

/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]

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





[​IMG]


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!"
 

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 - 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.

Explore more