AntiLogOff

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

2,02k

Quick challenge

How far can you run before the mobs catch you?

AntiLogOff

Banner

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

---

🚀 Features

- No Dependencies: Force players to stay in combat for 15 seconds. - No Dependencies: Kill, damage, ban, or just annoy—your choice. - No Dependencies: 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.

```bash

For admins who love commands:

/reload confirm ```

---

⚙️ Configuration

Edit `plugins/AntiLogOff/config.yml` to tweak behavior:

```yaml 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

| Java | Java | Java | |--------------|----------------|---------| | 1.21.x | Paper, Spigot, Folia | JDK 21 |

---

❓ Support & Links

- Source Code: Source Code - Source Code: %%MD1%%

📜 License: MIT

ADS