Sueta

LotteryPool - REBORN - WINNER TAKES ALL! [1.8 - 1.13]

1.1.5 - REBORN

An extremely efficient way of economic balancing, allowing poorer players to have a chance to earn.

·Plugin
  1. 1.1.5 - REBORNlatestPREMIUM VERSION IS OUTJun 4, 2019
    Premium version is out, there'll be no more updates after this change-log! [/] Fixed the issue where sometimes it would highlight as no players has entered the lottery. (shouldn't happen AT ALL now) ​
    5 downloads
  2. 1.1.4 - REBORNVERSION 1.1.4 - REBORNMay 12, 2019
    The .jar name was wrongly named. Now it's correctly named. Also, the announcement of LotteryPool going premium. Join the Discord for more information!​
    47 downloads
  3. 1.1.3 - REBORNVERSION 1.1.3 - REBORNApr 21, 2019
    Minor bug fix & an addition. [+] As requested, lotterydata.yml now saves on plugin reload (/lpla reload) for visual sake in the YAML file. [/] Fixed the error that pops up in the console when you just do /lpla.​
    25 downloads
  4. 1.1.2 - REBORNVERSION 1.1.2 - REBORNApr 17, 2019
    Minor bug fixes in this update. [/] Fixed the permission node for /lotterypool version (this command is for debugging purposes, for me to help users fix their issues better) - Version Command code was copied from my other plugin to standardize format among my plugins, Companions. Thus, permission node was not changed. [/] Fixed a NullPointerException when bossbar is disabled, it still tries to remove the bossbar although there is none. This bug didn't break anything but only annoyed the user via the console.​
    31 downloads
  5. 1.1.1 - REBORNVERSION 1.1.1 - REBORNApr 14, 2019
    Not much in this update, just minor bug fixes & optmizations! [+] Optimized the lottery end session system.​
    29 downloads
  6. 1.1 - REBORNVERSION 1.1 - REBORNApr 12, 2019
    ​ · Optimized the lottery system further! - It should run even smoother if it wasn't before. · Added a PlayerListener, to listen for player joining, and if a lottery session is in-progress, the player will have the boss bar (if enabled). · Added a way to change the first message that appears on the boss bar every new lottery session. · Added a way to delay the lottery on server start by seconds. · Re-added sound & winner sounds, you can choose to enable/disable it in the config.yml. · Added a system that detects if the sound name is valid for said server version, if it's wrong, it prompts the server owner in the console that the sound is not found and does not play it. ​ · Changed the administrative commands to /lotterypoola (aliases are /lotterya & /lpla) · Changed it so if the lottery doesn't on server start, the lottery session duration will be shown as 0. · Changed pool-amount in lotteryDetailsGUI to be in slot 17 instead of slot 14. · Changed the default boss bar color to BLUE, to fit the theme. · Fixed the reload command - it wasn't really working before. If you are updating from LotteryPool REBORN (v1.0), these are the changes you need to take note of - .SpoilerTarget">Spoiler: config.yml Code (Text): settings: bossbarstartmessage: '&9A lottery has been started! - &3/lpl to participate!' # Sets the boss bar color, allowed colors are - BLUE, GREEN, PINK, PURPLE, RED, WHITE & YELLOW. bossbarcolor: 'BLUE' # Choose to delay a new lottery session after the server has started. (in seconds) delaystart: 10 # SOUNDS: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound… sounds: playstartsound: true startsound: BLOCK_NOTE_BLOCK_GUITAR playsoundtowinner: true winnersound: ENTITY_FIREWORK_ROCKET_LAUNCH ​
    25 downloads
  7. 1.0 - REBORNVERSION 1.0 - REBORNApr 11, 2019
    LOTTERY POOL REBORN is here! Visit the main thread for more details.​
    19 downloads
  8. 1.4.2VERSION 1.4.2Feb 4, 2019
    Fixed the issue highlighted in VERSION 1.4.1 regarding not able to open the player list in versions below 1.12.
    54 downloads
  9. 1.4.1VERSION 1.4.1Feb 4, 2019
    Now, the .jar version should work for all Minecraft versions. it is not needed to download another .jar for versions below 1.12. Configuration sample for versions below 1.12, https://pastebin.com/XAXdYpBw
    17 downloads
  10. 1.4.0VERSION 1.4.0Jan 20, 2019
    This is a huge update. (THE PLUGIN IS NOW FULLY TRANSLATABLE!) UPDATES​ · You can now edit each and every object's names, description and appearance in the GUI. · Several new placeholders added like %totaltime%, %price%, %taxamount%. If you're updating from version 1.3.4, these are the changes to the config.yml - Code (YAML): # View a list of sounds here -> https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound… - Make sure you use the correct version's SOUND name! sounds : # View a list of materials here -> https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Mater… - 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 : DIAMOND 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.'
    53 downloads
  11. 1.3.0 (MINECRAFT 1.12)1.3.0 (MINECRAFT 1.12 SUPPORT)Jan 20, 2019
    This is a huge update. (THE PLUGIN IS NOW FULLY TRANSLATABLE!) UPDATES​ · You can now edit each and every object's names, description and appearance in the GUI. · Several new placeholders added like %totaltime%, %price%, %taxamount%. If you're updating from version 1.2.4 (MINECRAFT 1.12), these are the changes to the config.yml - Code (YAML): # View a list of sounds here -> https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound… - Make sure you use the correct version's SOUND name! sounds : # View a list of materials here -> https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Mater… - 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 : DIAMOND 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.'
    25 downloads
  12. 1.2.4 (MINECRAFT 1.12)1.2.4 (MINECRAFT 1.12 SUPPORT)Jan 12, 2019
    Apologies for the lacking amount of updates. Pretty hectic week! UPDATES​ · Implemented a way to set both the bossbar color and the alert color. · Implemented a way to change the GUI title. (You can change the lores of the individual items very SOON) · Fixed the error when a console user types in any user commands. If updating from 1.2.4 (MINECRAFT 1.12), note these changes in the config.yml - Code (YAML): guititle : '&9&l → LOTTERY' # Sets the boss bar color, allowed colors are - BLUE, GREEN, PINK, PURPLE, RED, WHITE & YELLOW. bossbarcolor : 'YELLOW' bossbaralertcolor : 'RED'
    14 downloads
  13. 1.3.4VERSION 1.3.4Jan 12, 2019
    Apologies for the lacking amount of updates. Pretty hectic week! UPDATES​ · Implemented a way to set both the bossbar color and the alert color. · Implemented a way to change the GUI title. (You can change the lores of the individual items very SOON) · Fixed the error when a console user types in any user commands. If updating from 1.3.4, note these changes in the config.yml - Code (YAML): guititle : '&9&l → LOTTERY' # Sets the boss bar color, allowed colors are - BLUE, GREEN, PINK, PURPLE, RED, WHITE & YELLOW. bossbarcolor : 'YELLOW' bossbaralertcolor : 'RED'
    47 downloads
  14. 1.3.3VERSION 1.3.3Jan 3, 2019
    Fixed some issues with CraftBukkit users.
    49 downloads
  15. 1.2.3 (MINECRAFT 1.12)1.2.3 (MINECRAFT 1.12 SUPPORT)Jan 3, 2019
    Fixed some issues with CraftBukkit users.
    18 downloads
  16. 1.3.2VERSION 1.3.2Dec 24, 2018
    Fixed the issue where it sends out error when you click on something outside an inventory.
    43 downloads
  17. 1.2.2 (MINECRAFT 1.12)1.2.2 (MINECRAFT 1.12 SUPPORT)Dec 24, 2018
    Fixed the issue where it sends out error when you click on something outside an inventory.
    14 downloads
  18. 1.2.1 (MINECRAFT 1.12)1.2.0 (MINECRAFT 1.12 SUPPORT)Dec 18, 2018
    UPDATES​ · Now addpool & removepool updates the total pool price in the GUI without needing someone to update the pool via participation.
    10 downloads
  19. 1.3.1VERSION 1.3.1Dec 18, 2018
    UPDATES​ · Now addpool & removepool updates the total pool price in the GUI without needing someone to update the pool via participation.
    44 downloads
  20. 1.3.0VERSION 1.3.0Dec 16, 2018
    UPDATES​ · Re-implemented the winner's system; now lottery sessions will be retained on server restart/crash. (Lottery participants, lottery pool, all retain on server restart/crash.) · Fixed the bug where a player can reconnect and participate in the lottery pool again. · Lottery session details are now saved in playerdata.yml · For 1.12 plugin version, you should now be able to use it for versions below 1.12 if you edit the sound names correctly in config.yml. These are the changes that you need to take note of if you're updating from 1.2.3, (config.yml) Code (YAML): commandsound : 'BLOCK_SHULKER_BOX_OPEN'
    28 downloads
  21. 1.2.0 (MINECRAFT 1.12)1.2.0 (MINECRAFT 1.12 SUPPORT)Dec 16, 2018
    UPDATES​ · Re-implemented the winner's system; now lottery sessions will be retained on server restart/crash. (Lottery participants, lottery pool, all retain on server restart/crash.) · Fixed the bug where a player can reconnect and participate in the lottery pool again. · Lottery session details are now saved in playerdata.yml · For 1.12 plugin version, you should now be able to use it for versions below 1.12 if you edit the sound names correctly in config.yml. These are the changes that you need to take note of if you're updating from 1.1.4 (MINECRAFT 1.12 SUPPORT), (config.yml) Code (YAML): commandsound : 'BLOCK_SHULKER_BOX_OPEN'
    18 downloads
  22. 1.1.4 (MINECRAFT 1.12)1.1.4 (MINECRAFT 1.12 SUPPORT)Dec 15, 2018
    Fixed the permissions. It should work as intended now, lp.admin, lp.reload, etc. Sorry for the delays in update. Working on more updates for this plugin, I just got back from an overseas trip!
    11 downloads
  23. 1.2.3VERSION 1.2.3Dec 15, 2018
    Fixed the permissions. It should work as intended now, lp.admin, lp.reload, etc. Sorry for the delays in update. Working on more updates for this plugin, I just got back from an overseas trip!
    26 downloads
  24. 1.1.3 (MINECRAFT 1.12)1.1.3 (MINECRAFT 1.12 SUPPORT)Dec 2, 2018
    UPDATES​ · Made it so you can configure the buy/opening of GUI sounds. In theory, this should allow usage for versions above MINECRAFT 1.8 if you change the shulker sounds. These are the changes that you need to take note of if you're updating from 1.1.2 (MINECRAFT 1.12 SUPPORT), Code (YAML): opensound : 'ENTITY_SHULKER_BULLET_HIT' buysound : 'BLOCK_NOTE_PLING'
    10 downloads
  25. 1.2.2VERSION 1.2.2Dec 2, 2018
    UPDATES​ · Made it so you can configure the buy/opening of GUI sounds. This allows you to use the MINECRAFT 1.12 version for versions above MINECRAFT 1.8. These are the changes that you need to take note of if you're updating from 1.2.1, Code (YAML): opensound : 'ENTITY_SHULKER_BULLET_HIT' buysound : 'BLOCK_NOTE_BLOCK_PLING'
    43 downloads
  26. 1.2.1VERSION 1.2.1Nov 24, 2018
    There was an error with the MINECRAFT 1.12 version, this is to overwrite that version and make this file the latest file.
    43 downloads
  27. 1.1.2 (MINECRAFT 1.12)1.1.2 (MINECRAFT 1.12 SUPPORT)Nov 24, 2018
    The sounds in the config.yml wasn't correct for version 1.12 and making errors. Nothing changed in the code, the only change is the default config.yml. Changes, Code (Text): winnersound: 'ENTITY_FIREWORK_LAUNCH'
    26 downloads
  28. 1.1.1 (MINECRAFT 1.12)1.1.1 (MINECRAFT 1.12 SUPPORT)Nov 24, 2018
    UPDATES FOR LOTTERY POOL 1.2.1 WILL BE LISTED BELOW. I'd like to say, sorry for the lack of updates. I have been working on a new plugin that is different from any other plugins that was ever published. PotionCreation - Put up to 14 different effects in ONE potion.​ (Potion Creation allows your players to create potions with their choice of effect(s) with a fee! Supports up to 14 effects in one potion.)​ ​ UPDATES​ · Introducing a new placeholder, %players% - gets the amount of players in the lottery pool. · Implemented a way to change the boss bar's message, requested by @gazozuludaq. If you're updating from VERSION 1.1 (FOR MINECRAFT VERSION 1.12 ONLY, these are the changes you need to take note, These are the changes in the config.yml, Code (Text): # Set the message of the bossbar. bossbarmessage: '&7(&9%players%&7) participants currently in the lottery pool. Time left, &9%time% MINUTE(S)'
    12 downloads
  29. 1.2VERSION 1.2Nov 18, 2018
    UPDATES​ · Added lottery tax as per requested by @SlimeDog. · Made it so the redstone icon appears when you really don't have enough money. Before, it was mistakenly pre-set as $1,000. Now, it reflects on whether you have enough for money to pay for both lottery price and lottery tax.
    36 downloads
  30. 1.1 (MINECRAFT 1.12)VERSION 1.1 (FOR MINECRAFT VERSION 1.12 ONLY)Nov 18, 2018
    UPDATES​ · Added lottery tax as per requested by @SlimeDog. · Made it so the redstone icon appears when you really don't have enough money. Before, it was mistakenly pre-set as $1,000. Now, it reflects on whether you have enough for money to pay for both lottery price and lottery tax.
    18 downloads
  31. 1.0 (MINECRAFT 1.12)VERSION 1.1.2Nov 17, 2018
    This update is to overwrite the Minecraft 1.12 plugin update. Vault-API has also been updated to the latest version.
    13 downloads
  32. 1.1.21.0 (MINECRAFT 1.12 SUPPORT)Nov 17, 2018
    Support for Minecraft 1.12 is now added! Requested by, @vy_vu & @SwaguitoMc.
    21 downloads
  33. 1.1.1VERSION 1.1.1Nov 17, 2018
    Silly me forgot to update plugin.yml again. Apologies for the double update.
    11 downloads
  34. 1.1VERSION 1.1Nov 17, 2018
    UPDATES​ · Added an option to set whether the lottery starts on server start/restart. · Optimized the timers for both next pool duration and current pool duration. (Should be EXTREMELY exact now.) · When a lottery has ended and has not started a new one, the current pool duration time will change it's display name to "(!) THERE ARE CURRENTLY NO ON-GOING LOTTERY POOLS.", instead of stating that the current pool ends in 0 minutes. There's a new addition to the config.yml as shown below, if you're updating from version 1.0.2, I highly suggest you put these changes in your config.yml. Code (YAML): # If enabled, the lottery will start right when the server is started/restarted. onserverstart : true
    15 downloads
  35. 1.0.2VERSION 1.0.2Nov 17, 2018
    UPDATE​ · Fixed the command prefix, '/lp' to '/lpl', to avoid conflicts with LuckPerms. · All messages/codes with '/lp' included has been corrected to '/lpl' accordingly. Thanks, @adamawesome135 for reporting this issue. Sorry for my oversight and forgetting that LuckPerm uses the same slash command.
    22 downloads
  36. 1.0.1A quick update.Nov 16, 2018
    I apologize for this update right after I have posted the resource. I have changed the config.yml to better illustrate the plugin's usage.
    18 downloads
  37. 1.0Nov 16, 2018
    11 downloads

Similar projects

Plugin →