WheelOfFortune

# This is my FIRST plugin #

Please feel free to post what you would like to see in this plugin in the future in the comment section bellow

If you are running this on a server i would very much like to come and see how you have implemented it, please pm me your ip if you wouldn't mind :)

Desc:

the plugin allows users one chance a day a to spin a Wheel of Fortune that will give them random items, there is a 6/1000 chance that they will get a Rare reward, and an approximate chance of 1/100 that they will receive nothing. The rewards contain every block in game. except non-craftible blocks, these i have replaced with sand. (in-case you were wondering why you always get sand)

The rare rewards are as follows:

64 Diamond block, 64 Gold Block, 64 Iron Block, 64 Emeralds, 32 Beacon, 64 cake's.

[ I am open to constructive comments about he amount of items / items in the Rare list]

Commands:

/spin Spin the wheel.

/wofreload Reloads the plugin config.

/wof test if the plugin is there.

/reward [player] give the player another spin! if they have already spun today.

permissions:

  • wheeloffortune.*:
    • description: Players with this node have all wheeloffortune permissions.
    • default: op
  • wheeloffortune.reload:
    • description: Players with this node can reload
    • default: op
  • wheeloffortune.canspin:
    • description: Players with this node can spin
    • default: true
  • wheeloffortune.timeroverride:
    • description: Players with this node can spin anytime
    • default: op
  • wheeloffortune.proceoverride:
    • description: Players with this node can spin without incurring a charge.
    • default: op

Signs: [ WheelOfFortune 1.3.5+]

Type "[Spin]" on the first line of the sign.

The "[Spin]" will then turn purple.

http://i1099.photobucket.com/albums/g395/idiotonastic/Spin_2_zps586034c1.png

You have created a spin sign!

Notes:

  • a the plugin currently stores player data on an ArrayList so the data is lost on server restart / reload. [Working on a fix/ Need help with file writing].
  • Those of you updating to V 1.2 please delete your previous config file prior to installing the new version. Thanks.

ToDo:

  • add an Op timer override.
    • extend this to a permission.
  • add Config File
    • make Rare items define in config
    • make chance of Rare define in config
  • replace item Id's on player message to item names.
  • fix occasional error during spin.
  • add "You won nothing." message.
  • add a broadcast when a player wins a rare.
  • log player name, dateTime and prize.
  • add optional cost for use.[Suggested by:midnightfang22]
    • hook into vault.

Config:

Default Config

Thanks,

- Idiotonastic

PluginMetrics

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of paintball89 paintball89 May 05, 2013 at 15:10 UTC - 0 likes

    its not working no more on my server. gives a internal error if you try to /spin

  • Avatar of lazyboy91 lazyboy91 Apr 09, 2013 at 07:09 UTC - 0 likes

    ok i got a major issue every once in a while it decides to award me with air which instantly crashes the server because air is an unobtainable item please add a banned item list in the config so you can stop certain items from being won

  • Avatar of idiotonastic idiotonastic Mar 15, 2013 at 12:17 UTC - 0 likes

    @ACEJY: Go

    you should be able to do this in the config of 1.5, if not delete your previous config and restart the server.

  • Avatar of idiotonastic idiotonastic Mar 05, 2013 at 19:19 UTC - 0 likes

    @ACEJY: Go

    Working on this atm... taking some time :(

  • Avatar of ACEJY ACEJY Mar 03, 2013 at 14:16 UTC - 0 likes

    am i able to customize the items and the chance rate of the WOF?

  • Avatar of idiotonastic idiotonastic Feb 09, 2013 at 18:23 UTC - 0 likes

    @NetfreakF21: Go

    i have never experienced any of these issues running it on a multi-verse essentials economy server :o

    please send me your config?

    paste it into a paste bin.

    Thanks,

    - Idiot

  • Avatar of NetfreakF21 NetfreakF21 Feb 05, 2013 at 20:38 UTC - 0 likes

    Hi! , I am looking into putting this into the casinos on my server. I have installed it and spent many hours looking at the config, a little help please? :D
    I have a multiverse server and use essentials for the economy, so I don't now if that has anything to do with it.
    There are two problems.
    1) It will not take out a payment to play, regardless of Economy true or false.
    2) prizes won rarely appear in the inventory instantly, you have to change between worlds to have them appear.
    Thanks in advance for your time.

  • Avatar of idiotonastic idiotonastic Feb 04, 2013 at 22:06 UTC - 0 likes

    @Dennild: Go

    implemented in 1.5!

  • Avatar of idiotonastic idiotonastic Feb 01, 2013 at 08:54 UTC - 0 likes

    @brchat222: Go

    well this is a wheel of prizes ATM, however i could extend it so you could use it as a punishment / reward random generator i guess :o

    maybe you can /spin [name] or /doom [name] ?

    i would need more input on what punishment you would like :)

    Thanks, - Idiot

  • Avatar of brchat222 brchat222 Feb 01, 2013 at 02:21 UTC - 0 likes

    going to add this to my server

    brcfreebuild.mine.bz

Facts

Date created
Jan 16, 2013
Category
Last update
Feb 04, 2013
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
WheelOfFortune
Downloads
684
Recent files

Authors