elBukkit / PreciousStones

Self-service protection for Minecraft servers
http://dev.bukkit.org/server-mods/preciousstones/
10 stars 10 forks source link

Prevent using enderpearls #13

Closed Axer22 closed 4 years ago

Axer22 commented 4 years ago

My suggestion is to add flag which can prevent from using enderpearls on field without disabling teleporting (prevent-teleport).

xtomyserrax commented 4 years ago

Could be named prevent-teleport-enderpearl (?

xtomyserrax commented 4 years ago

Hey, after some research I did, there is a flag called no-projectile-throw, which will basicly prevent players non alllowed in your field from throwing projectiles.

This though doesnt prevent it if the enderpearl was thrown outside your field, I will add a check to prevent that! Thanks :D