Lottery+
For those looking to donwload Lottery+ for MC Version 1.12.2, click here.
Description
What is Lottery+? Lottery+ is a simple and powerful lottery plugin that makes lotteries easy to make and fun to play! Why should you choose my plugin verses others? Other plugins tend to limit you on options and your lotteries, whereas mine possesses limitless options! For instance these lotteries can have extensive options such as Towny support, Item economies, Item rewards, ect... To get started, follow my step-by-step tutorial. Hope you enjoy it!
Supports
Features
- Supports limitless lotteries with dozens options! The world is your oyster!
- You can use '/lottery guic' to open a GUI to make the process easier to create your lotteries
- Supports Vault so you can tap into you server's local economy.
- You can attach a sign to a lottery so your users can use those instead of commands.
- Supports NuVotifier so you can rewards users for voting for your server.
- One of your users helped out with building something? You can rewards them tickets with '/lottery reward'
- One of your winners wasn't online during the drawing? No problem! Lottery+ will simply store their winnings in 'claims.yml' so that when he/she jumps on later they can simply use '/lottery claim'
- Your server not in fluent English? Or maybe you'd like the wording better on one of the messages? No biggie! Lottery+ pulls of it's messages from 'lang.properties'
- Want to do more than just have a pot on your lottery? You can also add all sorts of item rewards and you can even add a 'command reward' that dispatches through the console so that covers a lot of bases.
- Worried about players forgetting about lotteries? No problem. You can set in the config to remind players about them.
- Lottery+ also will check updates from time to time (set in config)
- Server restarting? No worries! Lottery+ will save and load your lotteries
- Fair warning: Lottery+ supports Java 1.8
- Didn't catch the last winner? Be sure to check 'winners.log'
Videos | Commands | Permissions
Tutorial | Gui Tutorial | Donate
FAQ
How do I start creating lotteries?
You can start creating them by following my thorough step-by-step tutorial. There are also some videos you can watch.
Are lotteries saved after my server reloads or stops?
Yes. Lottery+ is constantly saving it's lotteries to ensure they are up to date.
Do I need to install any plugins for Lottery+?
No, you do not need any plugins. It is recommended that you have Vault if you want to use your server's economy. Lottery+ also supports Towny and Votifier.
Where can I donate?
Right here. All donations are appreciated. ;)
Is there a way to edit the messages?
Yes. If look for a file called 'lang.properties', you can edit the messages in their.
Troubleshooting
Before reporting an error, please consider doing a complete reinstallation. If you have done this, please consider writing a ticket. Be sure to add your config.yml and lotteries.yml when writing your ticket (using pastebin is fine as well). Remember, the more bugs I squash, the better the plugin becomes!
To do list
- Some more types of rewards?
- Have any feature requests? Please don't hesitate to share your ideas!
@randude14
Please help me determine the problem while trying to load an existing lottery in this wonderful plugin. Here is my error code: http://pastebin.com/UVay37p3
The ticket limit system doesn't really deal with the issue at hand with lotteries being balanced. As it stands, someone is guaranteed to win a lottery, so long as enough tickets have been sold. In other words, if the ticket limit is set to 2, and 2 people enter, one of them will definitely win, depending on how many tickets they bought.
A far better system, in my opinion anyway, would mimic a real-world lottery more realistically. The lottery should include a "ghost buyer" setting, where the plugin automatically buys a random number of tickets (configurable) before a lottery draws. This would simulate the chance of not winning the lottery; some lotteries would simply draw and lose for everyone.
Think of it like this: You have 2 players, who each buy 5 tickets. They each have a 50% chance of winning, right? But the plugin's "ghost buyer" feature would look at the 10 tickets sold, and generate a random number of tickets it buys ranging from 1 to 20 tickets (this number would fluctuate depending on the total tickets sold). Let's say the "ghost buyer" randomly buys 5 tickets. Suddenly, the two players entered into the lotto each have a 33% chance of winning, but there's a 33% chance neither of them could win.
I think this is a pretty simple solution to the issue of creating a chance of risk. I figured I would suggest it here, since I can't use the suggestion forum for some reason.
One more error: When a player try to claim a Dimond Lottery
[20:09:24 WARN]: java.lang.NullPointerException [20:09:24 WARN]: at com.randude14.lotteryplus.lottery.reward.PotReward.rewardPlayer(PotReward.java:24) [20:09:24 WARN]: at com.randude14.lotteryplus.lottery.Lottery.handleRewards(Lottery.java:866) [20:09:24 WARN]: at com.randude14.lotteryplus.ClaimManager.rewardClaims(ClaimManager.java:64) [20:09:24 WARN]: at com.randude14.lotteryplus.command.ClaimCommand.execute(ClaimCommand.java:20) [20:09:24 WARN]: at com.randude14.lotteryplus.command.CommandManager.onCommand(CommandManager.java:55) [20:09:24 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [20:09:24 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) [20:09:24 WARN]: at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [20:09:24 WARN]: at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
Hello m8 . Im Server Owner and atm im OP - i use the comand: [09:44:10 INFO]: PTsandro issued server command: /lottery create Fortuna and i get the ingame chat: [LotteryPlus] - You do not have access to this command.
hum??
Your permissons for the reload commands and create commands dont work.
whenever i try to create a sign, it tells me that the lottery doesn't exist
i run a network and im tryina make my server big points bases so i need it to be able to payout enjin points anyway u can add that ? like a custom run comman on the winning lotto
same here have same permission but not got access even in console?
Same problem as several others. I cannot create a lottery ingame, even as OP/Admin with all permissions.
It does work fine through console, but that is impractical for other admins.
Maybe there is a separate permission for "create" that is not listed? I have lottery.* set for my admins, but still nogo.
@boidyluke
I don't see why it shouldn't give you permissions. Try using the console for now.
Hi i cant add permissions for me, i have the node lottery.* but cant make any lotteries
@gruenstern16
Through a permissions plugin. I believe Bukkit has a way of managing permissions as well.
How do I manually add the permissions for me??
@LoOnyBin25
You have to manually add the permissions.
it wont let me create sign says i dont have permissions and i am op weird
@Mattrock607
For your first question, look at 'ticket-limit'. That will suffice your needs. For your second question, yes and no. The pot will carry over if no one wins, but not increase it. There is however a value called 'reset- add-pot' that you could use to achieve the same result.
Is there a way to make it so there's a chance no one wins a drawing at all? It seems someone always wins every drawing on our server.
Also, is it possible to set up a lottery so that the pot stacks if no one wins? Say your starting pot is 100, and three people buy tickets, making it 103. But no one wins the lottery that day, so when it starts again, it's 203 (the starting pot gets added again until a winner is declared).
@Randude14
That sounds great to me! And yes, commands as console would be necessary, to run commands the player doesn't already have access to.
@add5tar
I try ^.^ I tend to check the comments when I'm sitting bored at home. Anyways I was actually talking about a system where you literally where you specify a command like so:
Where "<player>" is the winner. As I have said previously, this opens the gateway to other plugins. Give players temporary access to flying, creative, or give xp, an item...well, I'll let your imagination think of the rest :D
Edit: I'll probably execute the command through the console. Also thanks for the heads up on the file name.
@Randude14
Again, VERY impressed by your fast responses! :D Thank you! I already received the upload notification so I will test out the build shortly, no need to wait for approval ;)
(BTW, the file version you specified in bukkit was 0.8.1b but the changelog/file says 0.9.1b)
As for the command rewards, possibly just a yaml list of commands with string tokens (for name/amount/lottery) which are executed in succession? Not sure what else you could do really, that would already be a huge benefit to many :)
Thanks again!