You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In AcidLand players take damage in water. But if they fall into the water far away from land, they can avoid losing their staffs by teleporting back to an island.
Also, when a mob attacks to a player, and it is far from home location, then the player could run away from losing a battle by teleporting back home.
Describe the solution you'd like
Disable teleport commands ./is and ./is go, after a user takes damage for a small period.
This can be implemented:
as World Flag, by disabling teleport after 20-40 ticks (1-2 sec) after last damage was taken (Player.getNoDamageTicks()).
as more configurable (and overcomplicated), like an ability to specify which damage disables teleport and how long for each damage type it can be. For example: if the damage was taken for a mob, then 5 sec, otherwise 2 sec.
And if you are going via 2. option, then probably it should be an addon.
Describe alternatives you've considered
Use alternative plugins, which allows to do it :)
Is your feature request related to a problem? Please describe.
In AcidLand players take damage in water. But if they fall into the water far away from land, they can avoid losing their staffs by teleporting back to an island.
Also, when a mob attacks to a player, and it is far from home location, then the player could run away from losing a battle by teleporting back home.
Describe the solution you'd like
Disable teleport commands ./is and ./is go, after a user takes damage for a small period.
This can be implemented:
And if you are going via 2. option, then probably it should be an addon.
Describe alternatives you've considered
Use alternative plugins, which allows to do it :)
This issue relates to: #403
The text was updated successfully, but these errors were encountered: