AntiLogOff
PluginLicenseRef-life-destroyed-license

AntiLogOff

A plugin for Spigot that allows punishing players when they log off during PvP.

1.1K
Downloads
3
Followers
10 months ago
Updated
📦
3
Versions

📖About AntiLogOff

Banner

A sleek, punishment-based solution to combat PvP logoffs in Minecraft.


🚀 Features

  • PvP Timer: Force players to stay in combat for 15 seconds.
  • Custom Punishments: Kill, damage, ban, or just annoy—your choice.
  • Live ActionBar Updates: Real-time countdowns for engaged players.
  • No Dependencies: Works out-of-the-box on Spigot/Paper/Folia.

📦 Installation

  1. Download AntiLogOff
  2. Drop it into your server’s plugins/ folder.
  3. Restart the server.
# For admins who love commands:
/reload confirm

⚙️ Configuration

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!"

💻 Commands & Permissions

Command Description Permission
/alo reload Reloads the config. antilogoff.reload
/aloconfig Shows current settings. antilogoff.config

📜 Compatibility

Minecraft Server Type Java
1.21.x Paper, Spigot, Folia JDK 21

❓ Support & Links

📜 License: MIT