LuckyDraw
Lucky Draw
A simple plugin which allows your users to buy tickets in return for a chance to win in game items!
Follow any of the links below to get started.
Configuration | Permissions & Commands
Features:
- Hooks onto Vault supported currency (iConomy, BOSEconomy, EssentialsEcon etc)
- Players can purchase tickets at any time
- Fully customizable prizes via config file
- Rate of winning, Announcer prefix, Ticket Costs are all editable.
- No MySQL Needed! Toggle the option to store player data into the config file (Default OFF)
- Superb for hosting events & rewarding players with the "/Luckydraw Give" command!
Commands:
- /luckydraw - Base Command
- /Luckydraw Cost - Check the cost of a ticket
- /Luckydraw Buy - Purchase a ticket
- /Luckydraw Reload - Reloads the configuration file
- /Luckydraw Give [playername] - Gives another user a lucky draw ticket! (Free for OPs, Paid for Players)
Custom Variables (Inside Config.yml):
- Edit the changes of getting the different prize levels! (Default Values Below)
Eg. No Reward: 40%, Low Reward: 20%, Medium Reward: 30%, High Reward: 10%
- Add a range of prizes to be given out by the different levels! (Default: None)
- Choose the maximum quantity of items the plugin will auto generate! (Default: 1)
- Change the ticket cost to your liking! (Default: 500)
- To set a reward as nothing(air), type in '0' as the item id. Do not leave it blank!
Known Issues:
Items across the 3 different levels which are the same, if spawned together, will cause a bug where they disappear if you stack them together.
Temporary Fix for items glitching/disappearing. (Ensure that all the rewards are of different values.)
Eg. If "Low_Level_Prize_1 = 264", no other prizes should give the same item, "264".
Change Log (Latest v0.2):
Version v0.1
Plugin released as a beta build.
Basic features all tested and 99% of bugs rectified. (Tested on Play.Veyern.Com)
Version v0.2
Permissions problem with the "/luckydraw Buy" command has been fixed.
Temporary Fix for items glitching/disappearing. (Ensure that all the rewards are of different values.)
Eg. If "Low_Level_Prize_1 = 264", no other prizes should give the same item, "264".
To do list:
MYSQL Connectivity to view/store lucky draw data.
This can be used to display information on the website or used for custom donation scripts.
Particularly useful for owners who want to add data directly into the plugin rather than in game.
Dynamic in game signs which will show recent draws made by players.
Can possibly be used for a hall of fame or highscores of some sort.
Cleaning up the code & creating a new config which is more efficient in handling rewards.
What it looks like:




-
View User Profile
-
Send Message
Posted Mar 20, 2014Will this be upated I want to start using this on nomercymc?
This for example: http://pastebin.com/K45RrBqx
-
View User Profile
-
Send Message
Posted Aug 8, 2013Hi dev! Thanks for this awesome plugin, keep good dev. This is not problem but i inform you: If player use /luckydraw buy on server with installed plugin AuthMe In logs i see NOT [..] [info] player issued server command /luckydraw buy i see [..] [info] Player issued an AuthMe Command! any plugin things foi i type login passwd but Player type /luckydraw buy It's all just for your information)
-
View User Profile
-
Send Message
Posted Jul 16, 2013Build v0.2 is out.
I will be doing a recode of the plugin for cleanliness sake and to work on the existing bugs. The config would probably change too.
-
View User Profile
-
Send Message
Posted Jul 16, 2013@paintball89
Hey there, please wait for our next build, v0.2. We have ironed out some crucial bugs there.
Regarding your issue, please ensure that the item ids are within the quotations. Eg. '264'. Items with the format 20:2 are not supported now and we will be working on that on future builds. Also, you do not need to restart the server. Just do /Luckydraw Reload.
Thanks for your comment!
-
View User Profile
-
Send Message
Posted Jul 15, 2013not working after i add itemes to the config
it gives a "an internal error has occurred" after i restart the server with the new items in the config.
-
View User Profile
-
Send Message
Posted Jul 15, 2013Version v0.2 pushed with bug fixes!
-
View User Profile
-
Send Message
Posted Jul 13, 2013Version v0.1 awaiting bukkit approval!