• ALERT

    We are currently undergoing a minor database conversion which may have caused the email management system and registration and other minor issues, our team is working on getting our new database system up and running as soon as possible, thank you for your understanding!

    If you have any other questions, feel free to open a ticket on our discord server https://dc.gleaks.pro/

✨AdvancedLottery️️ [1.8-1.17] |GUI Menu|OP Lottery|Mysql|Placeholder API

VIP Plugins ✨AdvancedLottery️️ [1.8-1.17] |GUI Menu|OP Lottery|Mysql|Placeholder API 12.4

Register to download this resource

Original resource URL: https://www.spigotmc.org/resources/%E2%9C%A8advancedlottery%EF%B8%8F%EF%B8%8F-1-8-1-17-gui-menu-op-lottery-mysql-placeholder-api.43668/



Native Minecraft Version:1.19Tested Minecraft Versions:
  • 1.8
  • 1.9
  • 1.10
  • 1.11
  • 1.12
  • 1.13
  • 1.14
  • 1.15
  • 1.16
  • 1.17
  • 1.18
Source Code:https://github.com/AdvancedLottery/AdvancedLottery
-----------------------------------------------------------------------------
NOTE: This project is officially abandoned: https://www.spigotmc.org/threads/ad...ets-mysql-support.257310/page-17#post-4614081
-----------------------------------------------------------------------------


gif.gif

Preface
Need a lottery plugin for your network? (PVP, skyblock, prison, factions, town, survival) Haven't found the best one yet? This lottery plugin will provide all the features you need.

It features GUI menus, Mysql saving data (with connection pools), chat broadcasting, unlimited tickets, win system, titles, animations and more. Heres some reasons why you should buy this plugin:

Confirm menu demo with ten tickets
Spoiler: 10 tickets

hundred (with chat broadcast demo, the text is actually clickable)
Spoiler: 100 tickets

How about a thousand tickets???!! (Player stats menu demo)
Spoiler: 1000 tickets

Endless amount of tickets and easy self-explained GUI menus(Not to say help menus are provided too!)
NOTE: The plugin does not support reloading from versions 4.1 onwards

Heres what you get when you win!
win-min.png


Vouches
vouches.png


Documentation and Config
Spoiler: config.yml

Spoiler: messages.yml

Spoiler: items.yml
Asset 1.png

Spoiler: More Pictures

Placeholders
%money% - Displays the total cost of the tickets to be purchased or the total money in the lottery pot
%player% - Displays the name of the player
%time% - Displays the time left until the lottery is drawn
%time_short% - Same as %time% but with shortened time suffix
%balance% - Player money balance
%ticket% - The amount of tickets to be bought
%line% - Newline


PlaceholderAPI
The following are placeholders that can be used with PlaceholderAPI:
%advancedlottery_time% - Time left till draw
%advancedlottery_time_short% - Time left till draw with shortened suffix
%advancedlottery_tickets% - Number of tickets bought for the player
%advancedlottery_money% - The amount of money in the lottery pot
%advancedlottery_winner% - The winner of the last lottery draw, displays None if not available

If there is any placeholders for this plugin which you wish to use but is not supported, do pm me on discord or spigot and I will consider adding it.

Commands
Normal commands:
• /lottery - main command
• /lottery menu - opens the menu gui
• /lottery help - opens the help gui
• /lottery time - tells the time left until draw
• /lottery buy - buy a lottery ticket
• /lottery stats <player> - shows stats (Player is optional)

Admin commands:
• /lottery reload - reloads the plugin configuration files
• /lottery end - ends the lottery and select a winner
• /lottery settime <time> - sets the time for the lottery
Example:
/lottery settime 1d - sets lottery countdown timer to 1 day
/lottery settime 1min - sets lottery countdown timer to 1 minute
Time suffix that can be used are d/day/h/hour/m/minutes/min/s/sec/second. This applies for the lottery reminder command too.
• /lottery reminder add <time> - adds a reminder that broadcasts time left until lottery draw
Example:
/lottery reminder add 1d - adds a reminder when the time left to draw is 1 day
/lottery reminder add 1min - adds a reminder when the time left to draw is 1 minute
• /lottery reminder remove <time> - removes a reminder that was created
• /lottery addpot <amount> - Adds <amount> of money into the pot
• /lottery addtickets <player> <amount> - Gives <player> <amount> of free tickets

Note
Tax is charged on payout and will only be charged if > 1 players participate in the lottery.

How do I specify the money format?
Simply construct your desired format using the four characters below.
  • 0 – prints a digit if provided, 0 otherwise
  • # – prints a digit if provided, nothing otherwise
  • . – indicate where to put the decimal separator
  • , – indicate where to put the grouping separator
Example: Displaying $2,000
Code (Text):
money_display_format: "#,###"
The seperator pattern is repeated.
Example: Displaying $2,000,000
Code (Text):
money_display_format: "#,###"
Note that the Integer part will never be truncated. Only one # is sufficient.
Example: Displaying: $6969
Code (Text):
money_display_format: "#"

Permissions
advancedlottery.use - Access to user commands (buy, menu, time, etc). Allows player to buy number of tickets specified in config for default
advancedlottery.donor - Allows player to buy number of tickets specified in config for donor
advancedlottery.maxtickets.x - Allows a player to buy a maximum of x amounts of tickets (Donor perk)
advancedlottery.admin - Access to admin commands (settime, reminder etc)
advancedlottery.cooldown.bypass - Allows player to bypass cooldown period when buying tickets

Dependencies
vault (latest will be the best)
spigot (1.8 and above)
MySQL (optional)
Placeholder API (optional)

Uploader


Downloads
1
Views
50
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from ArteffKods

Similar resources

(PRO) Crate Reloaded - Mystery Crate [1.8 - 1.20.X] ArteffKods
Prime - HQ - Powerful - Active - Custom - Particles - Effects
0.00 star(s) 0 ratings
Updated
1.13 - 1.19.4 ⭕ MiniaturePets - Custom Companions ⭕ Your Own Custom 3D Pets ✅ 30% SALE ArteffKods
Create Your Personal 3D Pet Companion⭐ 10+ Pets ⭐ Unique Animations ⭐ Ride and Disguise
0.00 star(s) 0 ratings
Updated
1.13 - 1.20 ⭕ AdvancedMobs ✨20+ New Mobs In Minecraft⭕ No Texture Pack ✅ ArteffKods
Add 20+ new mobs into your world ⭐ No Resource Pack ⭐ Random Spawns ⭐ Stack Mobs And Spawners ⭐Stats
0.00 star(s) 0 ratings
Updated
1.13 - 1.20.4 ⭕ AdvancedEnchantments ⭐ 450+ Custom Enchants ⭐Create Custom Enchantments ✅ ArteffKods
Create Custom Enchants ⭐ Villager Trading⭐ Enchant Table Integrated ⭐ Supports 1.13 - 1.20.4
0.00 star(s) 0 ratings
Updated
1.17 - 1.20.4 ⭕ AdvancedJobs ⭐ 20+ Default Jobs & Create Your Own Jobs Plugin⚡GUI Editor ✅ ArteffKods
20+ Default Jobs ⭐ Seamless rewards ⭐ Job levels ⭐Easy customization for ultimate player engagement
0.00 star(s) 0 ratings
Updated
1.19.4 - 1.20.4 ⭕ AdvancedSeasons ☀️ 4 Seasons Plugin ⭐ No texture pack ✅ ArteffKods
Visually Changing Seasons ☀️Winter Snow ❄️ Calendar UI☀️ Temperature System ❄️Extremely Customisable
0.00 star(s) 0 ratings
Updated
1.8-1.19 ✅ AdvancedSpawners ✅ 11x CUSTOM MOBS ⭕ CREATE CUSTOM MOBS IN-GAME ⚡ 25% SALE ⚡ ArteffKods
0.00 star(s) 0 ratings
Updated
Back
Top Bottom