Hi, I need to make an item that when you right click it will give you regen for a certain amount of time. I know there is a plugin out there that can do this but I cant find it.
I would love to see this done using Ender Crystals (the things that regen the EnderDragon's health). Imagine how neat it would be to have one of those at spawn, and when you right click it you're given a potion effect.
That wouldn't be too difficult to make. Unfortunately I'm not on my development computer right now. I might take this up later.
OtherDrops can do this, eg. PHP: ANY: - tool: SLIMEBALL action: RIGHTCLICK potioneffect: REGENERATION@100@2 # regen level 2 for 5 seconds (100ticks) # or for endercrystals: ENTITY_ENDER_CRYSTAL: - tool: ANY action: RIGHTCLICK potioneffect: SPEED@300@3 # speed level 3 for 15 seconds (300ticks) - action: LEFTCLICK drop: NOTHING - action: LEFTCLICK tool: APPLE replacementblock: AIR Note: the endercrystal bit only works in the latest dev build (2.8b.308) as I've just enabled it.