Tomahawk

Discussion in 'Archived: Plugin Requests' started by GoTheRedSox, Aug 15, 2012.

  1. Offline

    GoTheRedSox

    Plugin category: Fun

    Suggested name: Tomahawk!

    What I want: My idea is basically to have it so when a player double clicks with an axe/right clicks with it (whatever would work better) it would delete the axe from the players inventory and launch a arrow/snowball or whatever. I was thinking that the more valuable the axe the more damage the projectile does like for example, a diamond axe would do 20 damage while a wood axe would only do 5.

    I'm pretty sure this is very easy to make but its been almost a year since ive even touched java so i am just gonna ask if someone else would like to make it :). All I ask is that i get credit for the idea!

    Ideas for commands: None unless you want to enable the plugin for a single punch with an axe /th

    Ideas for permissions: tomahawk.wood, tomahawk.stone, tomahawk.iron etc for each type of tomahawk

    When I'd like it by: Whenever you can get it to me. I dont need this plugin as much as i want it I just think its a pretty cool idea :p Thank you!
     
  2. Offline

    Chiller

    GoTheRedSox

    You are not able to see when a player double clicks with an item...
    So how about right clicking air because right clicking with an axe does nothing.
     
  3. Offline

    GoTheRedSox

    that would be fine
     
  4. Offline

    Tirelessly

    Yes you are, just get the player interact event, add them to a hashmap, and check if they interact again.
     
  5. Offline

    Chiller

    What i was saying is that there is no bukkit method to check a double click but if you do it your way youll have to check the timestamps to see if a player clicks within the desired amount of time.
     
  6. Offline

    flaminsnowman99

    I'll look into doing this plugin. Sounds like a fun one to make. I'll get started tonight.
     
  7. Offline

    GoTheRedSox

    thanks!
     
  8. Offline

    Tirelessly

    No you won't, just run a task to remove them from the hashmap after like 3 seconds.
     
  9. Offline

    flaminsnowman99

    For initial release ima just do a right click air
     
  10. Offline

    hawkfalcon

    /me sees my name:p
     
    np98765 likes this.
  11. Offline

    flaminsnowman99

    Making this highly configurable so it can be set so potion effects can be applied when an axe hits. Can also be set so it can break blocks. Another feature being it can teleport a player to where it lands. Like a re-usable ender pearl. All being disabled by default. But can be turned on at any time.
     
  12. Offline

    GoTheRedSox

    alright sounds like this is gonna be an epic plugin >.<
     

Share This Page