Anti Logout Escape

18.8k Downloads

What is "Anti Logout Escape"?

Anti Logout Escape (ALE) is a little plugin, "preventing" Players from running away from a pvp/pvm fight by logging out from the server by punishing them e.g. by dropping their inventory and/or experience points.

Its a must-have for your PVP/PVP servers to prevent some people from playing unfair.

How will it work?

If a player starts a PVP fight (punching another player), these two players will be registered to the plugin. If a player leaves the game within 5s (default, if a player is killed, by default 60s), his inventory will drop to the ground, allowing others to pick it up. If a PVM fight is canceled by player, the player's experience points will drop to the ground (by default).

Features

  • NEW: Block commands like /home, /spawn, /tp, /warp ...
  • Dropping inventory if a player escapes
  • Dropping experience (1/2 or full) if a player escapes
  • Configurable timeouts
  • Server-wide announcements (PVP and PVM, configurable)
  • "Extended timeout"/"Kill timeout": If a player kills another player, the escape timeout will last longer (default: 60s)

Can I disable it?

Yes, just give the player the permission ale.override to disable this plugin for the player. Also you can disable it in the configuration file.

Configuration

#Enabled  true/false
enable=true
#Enable global announcement if a player escapes (PVP)
global-message-pvp=true
#Enable global announcement if a player escapes (PVM)
global-message-pvm=true
#Enable global announcement if a player escapes by command (Without action-command=inherit)
global-message-command=true
#Timeout, the player have to be online after pvp/pvm
timeout=5
#Timeout, the player have to be online after killing another player
timeout-kill=60
#What happens, if a player escapes pvp (nothing ,drop-all, drop-exp, drop-inv)
action-pvp=drop-all
#What happens, if a player escapes fighting against monsters (nothing, drop-all, drop-exp, drop-inv)
action-pvm=drop-exp
#Choose if drop-exp will drop all experience points or only (max) half
drop-all-exp=true
#List all blocked commands here: for example /spawn,/home,/tp
blocked-commands=/spawn,/home,/tp
#What happens, if a player tries to run a blocked command (deny, inherit, nothing, drop-all, drop-exp, drop-inv)
#Inherit will use the PVP/PVM actions.
action-command=inherit

Commands

Currently, there's only one command: Use /ale to reload the config.

TODO

  • ?