A plugin for Spigot that allows punishing players when they log off during PvP.
A sleek, punishment-based solution to combat PvP logoffs in Minecraft.
plugins/ folder. # For admins who love commands:
/reload confirm
Edit plugins/AntiLogOff/config.yml to tweak behavior:
settings:
timer-duration: 15 # Seconds until combat expires.
punish-on-logoff: true # Enable/disable punishments.
punishment: "kill" # Options: kill, damage, ban, none.
messages:
timer-start: "&cCombat engaged! No logging out for %time% seconds."
actionbar-text: "&4Combat: %time%s | Don't flee!"
| Command | Description | Permission |
|---|---|---|
/alo reload |
Reloads the config. | antilogoff.reload |
/aloconfig |
Shows current settings. | antilogoff.config |
| Minecraft | Server Type | Java |
|---|---|---|
| 1.21.x | Paper, Spigot, Folia | JDK 21 |
📜 License: MIT