No Combat Elytra

Prevents players from fleeing battle with elytra.

20

No Combat Elytra

No Combat Elytra

This is a server utility mod that prevents players from attempting to flee in the middle of combat using their elytra. It works by unequipping their elytra when they take damage from another player, then, after the configured cooldown time is over, they can re-equip them. Basically every part of this mod is configurable: - Enable/disable - useful for toggling the mod on or off without restarting the server - Cooldown - amount of ticks a player must go without being attacked before they can use their elytra again - Toggle messages - enables/disables messages that show during the cooldown and when the cooldown completes. - Progress message - shows custom text to players that are currently under cooldown. Can be used to update players on how long they have to wait. You can use `%S` to represent seconds of cooldown left and `%T` to represent ticks of cooldown left. - Completion message - shows custom text to players once the cooldown is complete. Can be used to let them know they can use their elytra once again.

All functionallity is done on the server. If an operator has it installed on their client, they may modify the configuration through a GUI. If you do not want to use the GUI, simply open its config JSON file and make your edits there. Note: modifying configuration through JSON will require a restart of the server

ADS