How do i make a nearby player get poisoned by a zombie or skeleton without doing anything ????

Discussion in 'Spigot Discussion' started by Arest, Jun 3, 2015.

  1. Like above !
  2. I don't get what you want to do at all.
    Could you explain a bit better, what exactly you're trying to do?
  3. Example: When a player get near an entity like zombie then get poison or potion effect even the zombie does not do anything
  4. Okay, are you wanting to code a plugin, use an already existing plugin (if there's one), or have it 100% vanilla?
  5. Code ( I need the code :) )
  6. Create a move event, create a for loop for the nearby entities, if the entity is a zombie or skeleton add the potion effect to the player