(Plugin support for Spigot 1.14 will be only for premium)
CLICK HERE FOR THE PREMIUM VERSION!
- Have a server restart? We have a system made so your current lottery session won't be lost!
- Multiple tickets setting (default is 1 and it's recommended to balance the economy)
- Set your own lottery session interval and duration.
- Anti-Configuration Crash system - Set a wrong Material/Sound name? Not to worry, the plugin is coded to not crash and still work!
- Periodic file saving system - PREMIUM FEATURE
- Number formatted placeholders - PREMIUM FEATURE
- A percentile chance to not have winners every lottery session (mimics in-real life lotteries) - PREMIUM FEATURE
- Ability to retain the last lottery pool amount (configurable) if no winners was chosen in the last lottery session(s) - PREMIUM FEATURE
- Fully configurable
-
Any economy plugin.
- A revamped Lottery Session system.
- A smart page system now added to the view players.
- Plugin is fully optimized now.
- You can basically customize anything now, from names, to lores, to slot numbers, to sizes and more!
- Lottery participants on boss bar now updates in real-time when a new player participates.
- Multiple tickets now! - Player GUI shows the amount of tickets each players has now too.
Permission Node: lotterypool.admin
/lotterypoola (add/set/remove)pool - sets/adds/removes money from/to the total pool.
Permission Node: lotterypool.admin
/lotterypoola forcestart - force-starts a lottery session if one isn't already on-going. - PREMIUM FEATURE
Permission Node: lotterypool.admin
/lotterypoola forceend - force ends an on-going lottery session and choose a winner. - PREMIUM FEATURE
Permission Node: lotterypool.admin
- VAULT
- Any economy plugin.
For Minecraft version 1.12 -> HERE (version 1.2.0)
(You might only get limited support for Minecraft 1.12, unfortunately, however, I will still try my best to help!)
settings:
guititle: '&9&l → LOTTERY'
# If enabled, bossbar will be loaded whenever a lottery starts.
bossbar: true
# Sets the boss bar color, allowed colors are - BLUE, GREEN, PINK, PURPLE, RED, WHITE & YELLOW.
bossbarcolor: 'YELLOW'
# Set the message of the bossbar.
bossbarmessage: '&7(&9%players%&7) participants currently in the lottery pool. Time left, &9%time% MINUTE(S)'
# Set the minute at which the boss bar will turn red.
bossbaralert: 14
bossbaralertcolor: 'RED'
# Set the lottery currency. Default is '$'.
lotterycurrency: '$'
# Set the fixed lottery price.
lotteryprice: 2000
# Set the lottery start interval. (time is in minutes)
lotteryevery: 2
# Set how long each lottery will last. (time is in minutes)
lotteryduration: 1
# If enabled, the lottery will start right when the server is started/restarted.
onserverstart: true
# Set how much tax should the lottery be. Put '0' if you want no tax to be charged.
taxamount: 500
# View a list of sounds here -> https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html - Make sure you use the correct version's SOUND name!
sounds:
# If enabled, sound will play on lottery start.
playsoundonstart: true
startsound: 'BLOCK_NOTE_BLOCK_PLING'
# If enabled, sound will play to the lottery winner.
playsoundtowinner: true
winnersound: 'ENTITY_FIREWORK_ROCKET_LAUNCH'
commandsound: 'BLOCK_SHULKER_BOX_OPEN'
opensound: 'ENTITY_SHULKER_BULLET_HIT'
buysound: 'BLOCK_NOTE_BLOCK_PLING'
messages-en:
prefix: '&7(Lottery&9Pool) &7→ '
participatebroadcast: '&9%player% &7has participated in the current lottery pool. &9&o/lpl to participate. &7(&c!&7) &c$%taxamount% has been charged extra as tax.'
lotteryendbroadcast: '&9%player% &7has won a total of &9$%amount% &7from the lottery pool!'
lotterystartbroadcast: '&7Lottery has been started, &9/lpl &7to participate. &7(LOTTERY DURATION: &9%time% MINUTES&7)'
nowinnersbroadcast: '&7Since there were no participants, there is no winner.'
nopermission: '&9&lHEY! &7You have no business using this command!'
invalidusage: '&9Whoopies&7, looks like you used the command wrongly. For a list of commands, &9/lpl help'
# View a list of materials here -> https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html - Make sure you use the correct version's BLOCK name!
gui:
purchase-ticket:
item: HOPPER
name: '&9BUY LOTTERY'
description:
- ' '
- '&7(&9!&7) &9LEFT CLICK &7 to register'
- '&7for the current LOTTERY &9POOL&7.'
pool-check:
item: CHEST
name: '&9CHECK POOL AMOUNT'
description:
- ' '
- '&7(&9!&7) &9LEFT CLICK &7 to view'
- '&7the total LOTTERY &9POOL&7.'
pool-amount:
item: PAPER
name: '&cLOTTERY POOL AMOUNT -'
description:
- '&7%amount%'
pool-time:
item: CLOCK
name: '&9POOL DURATION'
description:
- ' '
- '&7(&9!&7) &9CURRENT POOL &7ends in &9%time% &7minutes(s).'
view-players:
item: PLAYER_HEAD
name: '&9PlAYER LIST'
description:
- ' '
- '&7(&9!&7) &9LEFT CLICK &7to view the participants'
- '&7of the LOTTERY &9POOL&7.'
- ' '
- '&7(&9%players%&7) player(s) currently participating.'
next-pool:
item: CLOCK
name: '&9NEXT POOL'
description:
- ' '
- '&7(&9!&7) &9NEXT POOL is in &9%totaltime% &7minute(s)'
participate:
enoughMoney:
item: EMERALD
name: '&aPARTICIPATE NOW!'
description:
- ' '
- '&7(&9!&7) &9LEFT CLICK &7to purchase a lottery ticket'
- '&7the price currently is, &9%price%&7,'
- '&7the lottery tax is, &9%taxamount%&7.'
notEnoughMoney:
item: REDSTONE
name: '&cERROR!'
description:
- ' '
- '&7(&c!&7) &cYOU DO NOT HAVE ENOUGH MONEY TO JOIN THE LOTTERY!'
- '&7the price currently is, &c%price%&7,'
- '&7the lottery tax is, &c%taxamount%&7.'
alreadyParticipated:
item: REDSTONE
name: '&cERROR!'
description:
- ' '
- '&7(&c!&7) &cYOU HAVE ALREADY PARTICIPATED!'
noLotteries:
item: GUNPOWDER
name: '&7(&c!&7) &cTHERE ARE CURRENTLY NO ON-GOING LOTTERY POOLS.'
description:
goBack:
item: BARRIER
name: '&cGO BACK'
description:
- '&7(&9!&7) &9LEFT CLICK to go back to the previous page.'
%players% - gets the amount of player in the lottery. (used in bossbar)
%amount% - amount from the lottery pool.
%price% - shows the lottery ticket price.
%taxamount% - shows the tax amount.
%time% - duration of the lottery.
%totaltime% - the total time to the next lottery.
(Use like how it's used in the config.yml)
- a system to track down the top 3 most amount won players. (already started on implementation, hopefully all goes well.)