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!
@add5tar
I'm, again, really sorry :/ I've uploaded v0.9.1b, hopefully it will get accepted soon. I'm not sure what I'm going to do with command rewards. I'm currently working on it. It will definitely feature messages where you input the lottery and winner names, other than that, I'm not fully sure on how I should implement it into the config and such.
@Randude14
Woah.. that's not good! Would you have time to release a new build to fix that soon? I just tested it and everyone has admin powers (reward, addtopot, etc).. so I will have to disable it for now :(
Also, I really love the command idea! If you do it, could you pass winner name, pot amount and lottery name as variables? Thanks :)
@Shaqazona
Which config? The one from the tutorial or the 'example-lotteries.yml'? The one from the tutorial works fine on my test server.
@kenandthe985
Oh, my mistake. That actually is a brilliant idea. I could simply replace all rewards with commands. Instead of loading item rewards, I could simply instead let the config tell exactly what you want, such as "/give <player> Diamond 64", would yield a stack of Diamond. That would bridge the reward to other plugins as well, such as Pet plugins, Xp rewards...*mind blown* I'm getting chills thinking about this :D
@add5tar
Thanks for the clarification, and the issues. I actually accidentally left the checkPermission method return true x.x my mistake. I'm not a big fan of messing with Permissions, so I just have it return true when testing on my local server.
I copied your config format exactly how it is and tried it on my server and it's saying the lottery does not exist. It does that every time I try to make a lottery. I put in the name exactly how it is. My config file had something in it called Saves: [] Is that important?
This is only the suggest... i "hope" you can do this in next update!!! Please><!!!
@Randude14
Also... (sorry for the comment spam) I've found an issue with the signs, any player on my server is able to "shift right-click" the sign and remove it. I am using PEX v1.19.6.
I have done some tests to try to find the cause:
I've also looked at the code and I don't see any reason why this would be happening. The only way it could happen is if the "checkPermission(player, Perm.SIGN_REMOVE)" is returning true.
Is anyone else having the same problem?
@Randude14
Also, just noticed another problem... the loadItemStack code still seems to expect item IDs and doesn't work at all for item names. The Character.isDigit loop is still written for strings starting with numeric IDs :)
@Randude14
Unless I'm mistaken, I think kenandthe985 was referring to setting command rewards. Meaning, a set of commands that are executed for the lottery winner, instead of only being able to specify items/money. Which I think is actually a really good idea, this would be a handy feature to use *as well as* the other rewards :)
@kenandthe985
No there isn't. It is much easier to simply unload the lottery, change the item, then reload the lottery.
Hello, is there any possible to let rewards change to command? like this :command-rewards: give XXX 264 , sorry my english is not very good , i wish you can understand what i say...Thanks
@Randude14
Wow! Thanks for the fast response and new release! Keep up the great work! :D
Oh, and I really appreciate you updating github. Thanks! :)
@add5tar
Thanks! I just uploaded another update. Hopefully it will get accepted by tonight (In my time zone :P).
@Randude14
Hi Randude! Very happy to see you are still working on this plugin, looking forward to using this again. I noticed a problem (or two) and was going to send a pull request on github but noticed your code isn't updated. Would you mind pushing your latest changes on there?
In the mean time, here is a bug fix for a problem with the broadcast when buying tickets via the sign. Would you mind adding this into the next build? Thanks :)
@stgram
I'm not necessarily going through bad times, just been busy a lot (Work, preparing for college, playing other games, ect...), but thanks for your concern. I'll definitely try to be more active while I can. I did push an update, not sure when it will go online though.
@Randude14
Lovely news, I will be keeping an eye on this. Sorry to hear for your troubles.
Hi everybody! I'm very sorry for my inactivity :( long story short there has been a lot going on in my life and this plugin fell under my radar unfortunately. I am going to push an update hopefully sometime today and see about squashing some of those pesky, annoying bugs. This update will be compatible with Bukkit 1.7.2 R0.2
I'm getting an error when trying to use the plugin:
INFO at com.randude14.lotteryplus.lottery.Lottery.updateSigns(Lottery.java:170)
When I create a sign, it doesn't change color, and right-clicking it shows a string of dashes ("
-"). I really love this plugin and don't want to use a different one, but I'm guessing this one just isn't compatible with 1.7.2 and there isn't anything I can do to fix it. :(@sakura_blades
The dev hasnt responded to my PM from a month ago, I would consider this plugin abandoned. Despite its genius, I had a number of problems with reloading configs, signs and aside those big server instabilities which I cannot prove were caused by Lottery+, since I removed the plugin long ago (due to the said inactivity) and had no time to test thoroughly.
I moved to the much simpler Lottery plugin, which despite providing only a basic set of abilities proves useful.
I sure hope these main thread issues aren't contagious. xD My server has been struggling for a bit and I'd like to know that I can rule out this plugin as a source of the problem. (Not the only source, but certainly not helping the troubles...)
If the Dev would be so kind as to resolve or confirm that it has been tested thoroughly that this issue isn't happening. >.>; My players and I are loving this plugin and I'd really hate to stop using it for something else similar.
This plugin caused my server a serries of instabilities, including main thread crashes, with no apparent reason. I suggest not installing it until the dev shows up to clarify that he is still willing to support it.
But this is the best lottery idea ever.