WheelOfFortune

WOF

# 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 :)

WHEN UPDATING PLEASE DELETE OLD CONFIG FILE

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

[WheelOfFortune 1.7.5 +]

  • wheeloffortune.x2:
    • description: Players with this node can spin twice
    • default: op
  • wheeloffortune.x4:
    • description: Players with this node can spin four times
    • default: op
  • wheeloffortune.x8:
    • description: Players with this node can spin eight times
    • default: op
  • wheeloffortune.x16:
    • description: Players with this node can spin sixteen times
    • 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.
  • add permission for more then one spin a day for like vip's and such.[Suggested by:paintball89]
  • add economy cash rewards.[Suggested by:Gametista]

Config:

Default Config

Thanks,

- Idiotonastic

PluginMetrics

Why not check out my other plugins:

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

  • Avatar of paintball89 paintball89 Jul 07, 2014 at 04:19 UTC - 0 likes

    V 1.7.5 players are able to keep spinning over and over w/o having the perms.

    i'm running 1.7.9 CraftBukkit

    ReaperCraft

  • Avatar of idiotonastic idiotonastic Jun 11, 2014 at 17:36 UTC - 0 likes

    @paintball89: Go

    Version?

  • Avatar of paintball89 paintball89 Jun 10, 2014 at 01:27 UTC - 0 likes

    players are able to keep spinning over and over w/o having the perms.

  • Avatar of Gametista Gametista Jun 06, 2014 at 09:50 UTC - 0 likes

    Miss you on TS lol! ;)

    Seems to be operating just fine now though, just thought I'd give you a heads up.

    Thank you again, this is a fun little addition to the server. :)

  • Avatar of idiotonastic idiotonastic Jun 02, 2014 at 09:58 UTC - 0 likes

    I am sorry about this guys but i think bukkit staff are a bit swamped at the moment so they haven't had chance to verify my new upload, it will be with you when they get a chance :).

  • Avatar of idiotonastic idiotonastic May 31, 2014 at 04:41 UTC - 0 likes

    @paintball89: Go

    Done, Finally :)

  • Avatar of idiotonastic idiotonastic May 30, 2014 at 20:39 UTC - 0 likes

    @connorrockzz1337: Go looking into this, worked on my dev server when it was published.

    @Gametista: Go Will recompile a 1.7.5 version for you, see if that works.

    @RebaLynn1960: Go yes I can't spell.

    Last edited May 30, 2014 by idiotonastic
  • Avatar of RebaLynn1960 RebaLynn1960 May 13, 2014 at 22:59 UTC - 0 likes

    I am guessing wheeloffortune.proceoverride should be wheeloffortune.proiceoverride

  • Avatar of Gametista Gametista Apr 30, 2014 at 10:27 UTC - 0 likes

    Hello,

    I'm loving the idea behind this plugin, unfortunately like many others, we receive an Internal Server Error when doing /spin or using the sign. Currently we're running Spigot #1387 (1.7.5).

    Thanks for your time! :)

  • Avatar of connorrockzz1337 connorrockzz1337 Apr 27, 2014 at 04:14 UTC - 0 likes

    The Plugin Works But One Command
    /spin Comes Up With= An Internal Error Occurred While Attempting To Perform This Command
    Can You Help

Facts

Date created
Jan 16, 2013
Category
Last update
Jun 03, 2014
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
WheelOfFortune
Downloads
5,156
Recent files

Authors