Solved I need hellppp!

Discussion in 'Plugin Development' started by CaptainWalrus, Sep 24, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    CaptainWalrus

    So, I made a "poke" plugin, and I need it so everytime someone pokes someone it adds 1 XP level?
    How can I do that? maybe if someone wants to help.. When you "poke" a player I only want it to happen every 2 seconds. Mine, you can just spam it.
     
  2. Offline

    chasechocolate

    Use popper.setLevel(popper.getLevel() + 1). Also, you're showing the player popped after 0 ticks, change it to 40 for 2 seconds.
     
  3. Offline

    CaptainWalrus

    Awesome, thanks! Just one thing, when I hit someone it says you poked [player]. But it says it 2-4 times per-hit..
     
  4. Offline

    Steffion

  5. Offline

    CaptainWalrus

    Oh, oops! I feel really stupid now.. I did that when I set it to send to the target! >.<
     
Thread Status:
Not open for further replies.

Share This Page