[FUN/PVP] WANTED/HIT LIST plug-in

Discussion in 'Archived: Plugin Requests' started by Beatkidz, Jan 27, 2011.

  1. Offline

    Beatkidz

    Ever get killed and really want sweet revenge? or want the whole server looking for them?

    very simple plugin.
    player made wanted posters(sings)
    sign format:
    line 1 = [WANTED]
    line 2 = <Wanted players name>
    line 3 = <item ID and amount of reward
    line 4 = <player name placing the sign

    so a sign would look like this
    WANTED
    Player2
    5 Gold bars
    by: Player1

    after the sign is made anyone who kills player2 is entered in the log file
    and can now Break the sign and get the reward

    player1 can also cancel the Hit by breaking the sign themselves
    Signs can only be placed on Bedrock above lvl 40
    so a admin will have to make an area for wanted posters

    After writing this i realized teams of people could exploit this.
    if anyone has any idea how to do this without exploiting it
    please post.. i'll start thinking now. only thing i could think
    is if clans were in installed. so people in your group/clan could not collect
    the bounty
     
  2. Offline

    Planitia

    Request this from the iConomy guy so he can integrate it into that :D

    I would definitely use it if it was usable with money.
     
  3. Offline

    Normandy

    I would love to implement this plugin on my server. I think I see the exploit possibilities you speak of; anyone would place a sign and do the task and collect the reward. My server is an RP server so this plugin would be great. I believe only a certain group should be allowed to place the signs (law enforcement kind of thing), and anyone can collect the reward if the task is complete.
     
  4. Offline

    highz

    I'm interested to make this plugin but what money system do you guys want?
    iConomy?
    I think its the best to Pay before you set somebody on the list else you can fill in an amount that you cant pay.
    At the moment i am trying to make an Death Notify plugin but probably there isn't a PLAYER_DEATH Hook
     
  5. Offline

    Normandy

    I think iConomy would be great! I also believe you are right, with there not being a death hook. There is an event for explosions though [​IMG].
     
  6. Offline

    highz

    There is an Hook ENTITY_DEATH but it's Documentation is on the TODO list :(
    I cant get it working
    Lets try to do it with the Damage Hook
     
  7. Offline

    Beatkidz

    i'm glad you all like the idea. i spend more time thinking of game play mechanics then in game these days.
    i got some more ideas on the way
     
  8. Offline

    Normandy

    highz, I have seen code where some where able to detect lava damage. Is there a ENTITY_ATTACK hook? If so is it possible to use that (for the PVP cause of death)?
     
  9. Offline

    Beatkidz

    the exploit i found is if jonnylaw places the sign. then player1 emptys his Invey and his friend kills him and collects the reward and shares with the targeted player... still thinking of a work around
     
  10. Offline

    highz

    I hava found the hook needed for this
    EntityDamagedByEntity
    If you check the involved player its health you can see if he is dead
    If thats true reward the Damager

    *Dont forget to check if the Entity is a human!*

    First i am making a Death Notify plugin.
    If thats working i gonna start with this
     
  11. Offline

    Beatkidz

    thanks Highz for liking this enough to runwith it.. i'm a graphic designer and if you need anything don't be afraid to ask me. PM on here
     
  12. Offline

    Normandy

    There had to be something :p .
     
  13. Offline

    highz

    @Normandy: I hate the Permissions plugin but yes it is required for such things.
    I'm stuck :(
    I have the Entity but know i need to check what entity it is and create a new player if possible
     
  14. Offline

    Beatkidz

    i could see only the Responsible being able to hunt the bounty. since the exploit doesn't care who made the sign.
    maybe make a permission called "Wanted.BountyHunter" and set that to any group who is able to hunt wanted players. that way you could make a Law enforcement group, or a bounty hunter group and these people were able to get the rewards of killing others.
     
  15. Offline

    Normandy

    Off topic: My post went poof! Darn iPod.

    Nothing comes to mind :( .
     
  16. Offline

    highz

    Beatzkidz yes thats an good idea :p
    At the moment i am a little bit stuck
    I have an entity but i need a Player
     
  17. Offline

    Beatkidz

    also.. add a plugin like others that change the pointer on your minecraft compass to the bountys location by paying redstone.

    like the locate command. /Locate player2 would cost you 32 redstone to use but would point your compass at the locatoion of player2
     
  18. Offline

    highz

    Its an idea :p
    But first i am trying to make an simple notifier :D
     
  19. Offline

    Beatkidz

    its cool.. i don't expect this plugin today . i'm happy with waiting till bukkit gets the proper hooks so we get nice clean code.

    if you can do anything with this too i would be very greatful..
    http://forums.bukkit.org/threads/change-what-eggs-spawn.2696/
    i also play on a RP server and use custom drops. i'm always looking for more ways to make my players happy
     
  20. Offline

    Normandy

    Forgot the plugin name, but there is a plugin someone has released where you can customize what drops what. Not everything is implemented, but at least it's out there :p .
     
  21. Offline

    Beatkidz

    your talking of Block drops.. and i already run this plug-in. giving Nether blocks and dust from redstone, sticks from leaves, bones randomly from digging dirt, and light dust when creepers explde.. he is also waiting on Hooks to finnish the rest of the mob drops like "MobDrops" in hmod. i will ask him if he can implant the egg spawns.
     
  22. Offline

    highz

    Hmm i found an topic on Bukkit about converting Entity to Player
    I think i use the Hook wrong
    Does somebody know what void Name you need to put for Entity_DAMAGEDBY_ENTITY?
     
  23. Offline

    8e8

    To prevent exploitation you could take the bounty from the user creating the sign as they make it, and then give that same amount to the person who makes the kill. If the creator destroys the sign, the bounty gets put back in their inventory. I think this is what you meant by it being exploited.
     
  24. Offline

    highz

    8e8 Look your PM
    And yes i was already planning to do it like that!
     
  25. Offline

    unrivaledneo

    This is a nice idea, if i knew how to make plugins id so do this... maybe its time to learn eh
     
  26. Offline

    highz

    Beatkidz,
    I think it is better to auto claim the reward.
    So you put somebody in the hitlist (you money will lower)
    Some one kills that player (Auto earn)
    You remove that player (Get your money back)
     
  27. Offline

    Racha

    This could be so awesome! :D
     
  28. Offline

    Johnny Lunder

Share This Page