LuckyDraw

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

http://img707.imageshack.us/img707/989/officialvglogo.png
Sponsor: Play.Veyern.Com

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:
http://i44.tinypic.com/2mguov4.png

http://api.mcstats.org/signature/Lucky Draw.png

Please donate to us if you like our plugin!
http://www.servantstomissions.org/wp-content/uploads/2010/10/paypal-donate-button1.jpg


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    61389
  • Created
    Jul 12, 2013
  • Last Released File
    Jul 14, 2013
  • Total Downloads
    2,129
  • License

Categories

Members

Recent Files