Potion Swords

Discussion in 'Spigot Plugin Help' started by Azuha, Apr 23, 2017.

  1. I can't figure how to apply potion effects to mobs and players when a player is holding a specific sword?
    Ex. A spawned in stone sword named "Wither" that applies wither effects to mobs and players for 5 secs on hit.
    Please help, thanks.
  2. this is for the language skript

    on damage:
    player is holding a iron_sword named "*item name*"
    execute console command "/effect larsjarred9 minecraft:speed 3 3" #Minecraft speed 3 for 3

    dont know how to make it on hold so.... rip

    no problem btw!
  3. Hmm.... interesting~ thank you!
  4. I could make a plugin for you that does this, but I don't know how to make it stop when they hold it... I can make it where i keeps adding it for like 8 secs when they hold it, thought!
  5. Id you want this plugin contact me i'll do it ;)