Looking for a simple to use, fun lottery plugin? Look no further!
This plugin has multiple features to customize the quality of your lottery game!
- Customize every single message
- Change the time at which a lottery runs
- Change the price of a single ticket
- Change the maximum amount of the tickets a player can buy
- Increase the pressure with PAPI-based timers!
- And more to come!
Installation:
Unsure on how to install this plugin? Take a look here!
- Stop your server
- Drag the plugin .jar into your "plugins" folder
- Start your server
- Enjoy!
If you wish to customize this plugin further, I recommend stopping the server again, making the changes you feel, and starting up again. Otherwise, this plugin is ready to go straight out of the box!
Commands:
/lotto bet <amount> - Lets a player buy a certain amount of tickets for the lottery.
/lotto help - Displays the lottery help menu
/lotto bets - Displays who currently has a bet placed on the lottery
/lotto info - Displays in-detail information on the lottery
/lotto forcestart - Forcefully starts a lottery
/lotto reload - Reloads the main configuration file and forcefully starts a lottery.
Placeholders:
Please note that these placeholders do not work everywhere. The configuration file will show you where you are able to use certain placeholders.
%player% = The name of the player
%bet% = The amount a player has bet in the lottery
%ticketAmount% = The number of tickets a player has bought
%pool% = The amount of lottery currently up for grabs
%TicketPrice% = Gives you the minimum price for a ticket
%limit% = Gives you the minimum amount of tickets a player can buy
%timeLeft% = The time left in a formatted string
%currentBets% = The current bets in the lottery
PlaceholderAPI:
Here is a list of all currently available PlaceholderAPI placeholders. There is no need for an expansion as PAPI compatibility is already built-in.
%bl_timeLeft% = Shows you the time left in the lottery in a formatted string.
%bl_lastWinner% = Shows you the name of the player who won the last lottery. If nobody has previously won a lottery, the string will appear empty.
%bl_pool% = Shows you the total bet amount currently up for grabs in the lottery.
%bl_timeLeft_short% = Shows you the time left in the lottery in a shortened formatted string.
Permissions:
bl.use = Lets you use all user commands in BowLotteries
bl.admin = Gives you access to admin commands in BowLotteries
Versions:
Due to the nature of this plugin, it should work across all server versions. If you find errors in this plugin due to the server version, please report the bug and I will be happy to look into it.
Support:
Looking for support? Join my discord server for support and to have some fun with the rest of the owners who use my plugins! Feel free to come and join the discord if you have any questions!
Dependencies:
Vault
PlaceholderAPI
You will also require an economy plugin that hooks into Vault.
Configuration:
This plugin offers quite a lot of configuration! Take a look at the current config here:
Reviews:
Feedback and suggestions are welcomed! Feel free to leave suggestions in the reviews section too! I'm a new developer, so please do leave me as much feedback as you can! If you enjoy and like this plugin, please leave me a good review! The more reviews I get, the more I will be able to learn on how I should improve my plugin! However, do not leave bug reports in the reviews section with "I will change to 5 stars if you fix!" as you will go unanswered. You can PM me through Spigot, or DM me on Discord. (Discord ensures a faster response!)
Suggestions:
Any and all suggestions are welcome, and will be considered! You can PM me through Spigot, or DM me on Discord. If none of those options float your boat, I have a discord! Feel free to join and shoot me a suggestion there! Join
here.