PvPAntiLeave
A lightweight combat-log blocker. Hit a player and both of you are tagged for 30 seconds. Log out while tagged, and you die on the spot: lightning strikes and your items drop for the opponent.
🇺🇸 English Description
PvPAntiLeave stops players from escaping a lost fight by logging out. Any player-versus-player hit puts both players in combat for a configurable time. A player who leaves the server during combat is killed immediately, everyone sees a message, and the console logs the combat log.
✨ Features
- Combat Tag: Melee hits and projectiles shot by a player (arrows, tridents and more) tag both the attacker and the victim. Every new hit restarts the timer.
- Log Out = Death: Leaving the server in combat kills the player with a lightning effect, so the opponent gets the loot.
- Action Bar Timer: Tagged players always see their opponent and the seconds left.
- Fair Rules: A player who dies is out of combat at once. Players kicked by staff or the server are not punished.
- Admin Tools: Reload the config, check or clear any player's combat tag, toggle debug logging.
- Configurable: Combat duration and every message (with
&color codes) inconfig.yml.
🛠️ Commands & Permissions
/pvpstatus— Shows whether you are in combat, your opponent and the time left. Permission:pvpantileave.status(Everyone by default) (👤 Player Only)/pvpadmin reload— Reloadsconfig.yml. Permission:pvpantileave.admin(Ops by default)/pvpadmin check <player>— Shows a player's combat status. Permission:pvpantileave.admin(Ops by default)/pvpadmin clear <player>— Removes a player's combat tag. Permission:pvpantileave.admin(Ops by default)/pvpadmin debug— Toggles logging of PvP hits to the console. Permission:pvpantileave.admin(Ops by default)
⚙️ Config
pvp-cooldown: 30 # combat duration in seconds
debug-mode: false
messages:
pvp-start: "&c⚔ You are in combat! Do not log out for {time} seconds!"
pvp-end: "&a✓ Combat is over. You can log out safely."
action-bar: "&c⚔ Combat with {opponent} | {time}s | &4DO NOT LOG OUT"
combat-log: "&c⚔ {player} logged out during combat with {opponent} and was punished!"
⚠️ Good to know
- Commands and teleports are not blocked during combat; the plugin only punishes logging out.
- Combat tags are kept in memory and reset on a server restart.
- Requires Paper or a Paper fork (Purpur, etc.); plain Spigot/Bukkit is not supported.
- Supported range: 1.21 - 26.2. Confirmed by testing on Purpur 1.21.4 and 26.2; other versions in this range are expected to work but have not been tested individually.
🇷🇺 Описание на Русском
PvPAntiLeave не даёт сбежать из проигранного боя выходом с сервера. Любой удар игрока по игроку отмечает обоих как «в бою» на настраиваемое время. Кто выйдет во время боя, сразу умирает: все видят сообщение, а в консоль пишется лог.
✨ Особенности
- Метка боя: удары в ближнем бою и снаряды, выпущенные игроком (стрелы, трезубцы и др.), отмечают и атакующего, и жертву. Каждый новый удар перезапускает таймер.
- Выход = смерть: вышедшего во время боя игрока убивает молния, и добыча достаётся противнику.
- Таймер в action bar: игрок в бою всегда видит противника и сколько секунд осталось.
- Честные правила: после смерти игрок сразу выходит из боя. Кикнутых администрацией или сервером не наказывает.
- Инструменты админа: перезагрузка конфига, проверка и снятие метки боя у любого игрока, отладочный лог.
- Настраивается: длительность боя и все сообщения (с цветами через
&) вconfig.yml.
🛠️ Команды и Права
/pvpstatus— показывает, в бою ли вы, противника и оставшееся время. Право:pvpantileave.status(у всех по умолчанию) (👤 Только игрок)/pvpadmin reload— перезагружаетconfig.yml. Право:pvpantileave.admin(у операторов по умолчанию)/pvpadmin check <игрок>— статус боя игрока. Право:pvpantileave.admin(у операторов по умолчанию)/pvpadmin clear <игрок>— снимает метку боя. Право:pvpantileave.admin(у операторов по умолчанию)/pvpadmin debug— включает или выключает лог PvP-ударов в консоль. Право:pvpantileave.admin(у операторов по умолчанию)
⚠️ Стоит знать
- Команды и телепорты во время боя не блокируются, плагин наказывает только за выход.
- Метки боя хранятся в памяти и сбрасываются при перезапуске сервера.
- Нужен Paper или его форк (Purpur и др.); обычный Spigot/Bukkit не поддерживается.
- Поддерживаемый диапазон: 1.21 - 26.2. Проверено тестами на Purpur 1.21.4 и 26.2; остальные версии диапазона должны работать, но отдельно не проверялись.
🚀 Installation / Установка
- Download the
PvPAntiLeave-1.1.0.jarfile. - Drop it into your server's
plugins/folder. - Restart your server.
📞 Contacts & Support / Контакты
Developed with ❤️ by egorkawww.
- Discord: egorkawww
- Telegram: @egorkawww
Copyright (c) 2026 egorkawww
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
1.1.0 |
1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2
|
paper, purpur
|
Download |