Plugin Help Damage Player when in water

Discussion in 'Plugin Help/Development/Requests' started by scarabcoder, Dec 31, 2015.

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

    scarabcoder

    Hello!

    Quite simply, I need to damage the player as long as the user is in water. I tried using the PlayerMoveEvent, but of course, if the player doesn't move in the water he won't get damaged. How would I do this?
     
  2. Offline

    NiCk_1312

    I don't know the exact coding for it. But you can try and test for player in the water then add a damage potion to the player. Sorry if this didn't help you because I'm new to java myself.
     
Thread Status:
Not open for further replies.

Share This Page