Lucky Dip

Discussion in 'Archived: Plugin Requests' started by Onyblia, Apr 30, 2013.

  1. Offline

    Onyblia

    Hey there Developers and Practicing Developers.

    I come to you today with a script that I've searched high and low for but have been unable to find any that fulfill my needs.

    The script I'm after is a Lucky Dip script.

    How I'd like it to work is as follows:

    When someone wants to start a Draw they can type /dip <texthere>

    (the reason I say text is that it means it will support all economy plugins and you can dip more than one item)

    Example:

    /dip Diamond armor set
    or
    /dip £100,000

    Once they enter this the server should broadcast '<PlayerName> has just dipped <text> into the lucky dip! For a chance to win, type /draw'

    For example:

    'Onyblia has just dipped £100,000 into the lucky dip! For a chance to win, type /draw'

    As you've noticed a player will have to type /draw to participate in the Lucky dip.

    When they type this the server should broadcast '<PlayerName> just entered the draw! they are participant number <NumberHere>

    For example:

    Snow_X just entered the draw! They are Participant number 1!
    ScottyLad57 just entered the draw! They are Participant number 2!
    Purcyra just entered the draw! They are Participant number 3!
    Bambieve just entered the draw! They are Participant number 4!

    Once the Host of the dip decides that enough players has entered he can type /pick at which point a number will be chosen at random.

    When the winner is chosen the server will Broadcast '<PlayerName> won the Lucky Dip with Participant Number <PlayersParticipantNumber>

    For Example:

    'Purcyra won the Lucky Dip with Participant Number 4


    The host can then simply go and give another player the Item's they won.

    Every Player need to be able to use the plugin as anyone should be allowed to begin a Lucky Dip

    If a Player tries to enter More then once it should say 'Don't be greedy, you've already entered this Dip.'

    It must only allow 1 dip to be running at a time. If someone tries to make a Dip while there is currently one on the go they should get a message saying 'There is already a Dip going. to enter type /draw'

    If the host doesn't /pick within a set number of minutes (let's say 15 minutes) the dip should automatically proceed with the /pick command.



    That's about it really.

    If anyone could produce this for myself I'd be very grateful :)


    Thank's Guys!

    Onyblia.
     

Share This Page