Ok, So basically I need a plugin that will stop people from being able to enderpearl glitch. Enderpearl glitching is when you throw a enderpearl at a fence gate and you will get to the other side so I need it blocked in a way. I have 2 options.. a) Make it so enderpearls can't be used if there are fence gates within 2 blocks of the player Or B) This one would be better.. Make it so if the landing point of the enderpearl is within 2 blocks away From a fence gate it would just cancel the pearl.. I don't know if either of these are possible but I need It done litterally ASAP. Thankyou
It's not just fence gates though, enderpearls can glitch you through basically every block. One would have to re-write the function of enderpearl teleporting to effectively prevent this