Limit how often players can do /headgrabber for their own head. #3


  • Accepted
  • Enhancment
Open
Assigned to generilisk
  • _ForgeUser3908036 created this issue Feb 27, 2013

    What is the enhancement in mind? How should it look and feel?
    It would be nice if there was a defineable limit somehow, how often players can do /headgrabber to grab their head. I want my players to be able to get their head but not without some kind of limit. Like, once a day or, only every 1 hour and then a chance of 50% to succeed ... something like that. Would be awesome! ;D

    Thanks for any answer! :)

    Please provide any additional information below.

  • _ForgeUser3908036 added the tags New Enhancment Feb 27, 2013
  • generilisk removed a tag New Mar 8, 2013
  • generilisk added a tag Accepted Mar 8, 2013
  • generilisk posted a comment Mar 8, 2013

    I'm considering two options:

    • Scanning the player's inventory to see if they're holding a head (Not necessarily just 1, I'd like to make it configurable.) For each head they're holding, decrease the odds by a configurable amount. (1 head = -1% chance of success)
    • Having the config file give a % chance for the command to work. If I do it that way, I would add an option to pay to increase your odds with your economy plugin of choice. Either of these would be major reworks of my code. I think the second one is more likely to happen than the first; I still don't know how I would handle a countdown.
  • _ForgeUser3908036 posted a comment Jun 3, 2013

    @generilisk: Go

    ok thank you :)


To post a comment, please login or register a new account.