Hi, I maintain a Login-Authentication plugin, but players can still shoot fireballs when not logged in (they should not be able to do that). My Plugin sets the OnClick event Canceled, but your plugin still shoots and does damage.
I tried the ProjectileHitEvent and ProjectileLaunchEvents but these events are not triggered using the wands.
How can i make so that when players are not logged in cannot use the wands, or what event to look for so i can Cancel the wand action?
What event can i use to stop the use of the wand or stop the damage dealt by the wand usage (not ideal, as hidden players will reveal themselfs when the fireball emerges in thin air from the hidden player).