Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is there an API name for if you hit and player with an item?

Comments in 'Plugin Development' started by Tiemo2000, Dec 29, 2013.

  1. Tiemo2000
    Offline

    Tiemo2000 Active Member

    Joined:
    Nov 23, 2013
    Posts:
    86
    Minecraft User:
    Tiemo2000
    Is there an API code for hitting an player? Like player.death?
  2. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    There is player.death but there is not one like player.hit.player
  3. Tiemo2000
    Offline

    Tiemo2000 Active Member

    Joined:
    Nov 23, 2013
    Posts:
    86
    Minecraft User:
    Tiemo2000
    OK thnx im making a BANHAMMER plugin. If you hit (now if you kill) an player with an golden axe the player will be banned from the server( now must i make the golden axe insta kill
  4. Tiemo2000
    Offline

    Tiemo2000 Active Member

    Joined:
    Nov 23, 2013
    Posts:
    86
    Minecraft User:
    Tiemo2000
    Im trying to make that plugin but....yeah..... I dont know how to do .... Can you help my?
  5. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    It could be a little tough to make it look for a player hit (or I could be over looking something) but I am too busy right now to get to work on that
  6. Tiemo2000
    Offline

    Tiemo2000 Active Member

    Joined:
    Nov 23, 2013
    Posts:
    86
    Minecraft User:
    Tiemo2000
    PS did you know how to change my birstday information?
  7. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    Ask the staff to
  8. Tiemo2000
    Offline

    Tiemo2000 Active Member

    Joined:
    Nov 23, 2013
    Posts:
    86
    Minecraft User:
    Tiemo2000
    Im not 33 years old....
  9. Tiemo2000
    Offline

    Tiemo2000 Active Member

    Joined:
    Nov 23, 2013
    Posts:
    86
    Minecraft User:
    Tiemo2000
    Im 13
  10. InusualZ
    Offline

    InusualZ Active Member Plugin Developer

    Joined:
    Aug 23, 2013
    Posts:
    218
    Plugins:
    1
    Minecraft User:
    Inusu4lZ
    i think: player.interact
    Falk likes this.
  11. Tiemo2000
    Offline

    Tiemo2000 Active Member

    Joined:
    Nov 23, 2013
    Posts:
    86
    Minecraft User:
    Tiemo2000
    OK thnx

Share This Page

Advertisement