▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/CombatTimer
CombatTimer

CombatTimer

A simple and lightweight CombatTimer plugin!

Оцените первым
107
1

CombatTimer

CombatTimer is a lightweight and configurable Minecraft plugin that stops players from escaping combat by logging out.

It is built for survival, SMP, factions, and PvP servers that want fair fights without constantly needing staff to punish combat loggers manually.

CombatTimer can simply kill or ban combat loggers, or it can replace them with a lootable logout villager so the fight continues even after they disconnect.


Key Features

Combat Timer

CombatTimer tags players when they enter combat.

You decide what should trigger combat:

MOB
PLAYER
BOTH

This allows you to use CombatTimer for:

  • PvP-only combat tagging
  • mob combat tagging
  • full survival combat tagging
  • faction or SMP combat protection

The combat duration is fully configurable.


On-Screen Combat Timer

Players can clearly see when they are still in combat.

Available display modes:

ModeDescription
ACTIONBARShows the timer above the hotbar
BOSSBARShows the timer as a bossbar
BOTHShows both actionbar and bossbar
NONEHides the timer display

Bossbar color is configurable.


Logout Villagers

One of CombatTimer’s main features is the optional logout villager system.

When a player logs out during combat, they can be replaced by a villager at their logout location.

That villager represents the logged-out player.

Other players can:

  • find the logout villager
  • click it
  • open the combat logger’s stored inventory
  • loot items directly from the GUI
  • kill the villager to treat the combat logger as killed

If the combat logger rejoins while their villager still exists:

  • the villager is removed
  • the remaining inventory is restored
  • armor is restored
  • offhand item is restored
  • the player returns at the villager location

Logout villagers are saved in the database and restored after server restarts, so combat loggers cannot escape by waiting for a reboot.


Combat Logout Punishments

If logout villagers are disabled, CombatTimer can still punish combat loggers directly.

Supported punishment options:

  • kill on logout
  • permanent combat-log ban
  • temporary combat-log ban

Temporary bans support flexible durations:

30m
1h
1h 30m
2d
1w

If logout villagers are enabled, the configured punishment can still be applied when the villager is killed.


Custom Ban System

CombatTimer uses its own SQLite-backed ban system instead of relying on Minecraft’s default ban list.

This allows cleaner ban screens and better control over combat-log punishments.

Bans are stored locally in:

plugins/CombatTimer/combattimer.db

Staff can view and remove CombatTimer bans with plugin commands.


Fully Configurable

CombatTimer uses simple JSON configuration.

Example config:

{
  "trigger_when": "BOTH",
  "timer_seconds": 30,
  "timer_display": "ACTIONBAR",
  "bossbar_color": "GREEN",

  "kill_on_logout": true,
  "ban_on_logout": false,
  "ban_type": "PERMANENT",
  "tempban_duration": "1d",

  "logout_villagers_enabled": true
}

Customizable Messages

All plugin messages can be edited.

You can customize:

  • combat timer text
  • actionbar text
  • bossbar text
  • logout broadcasts
  • logout villager names
  • villager inventory title
  • ban screen message
  • command messages
  • update notifications

File structure:

plugins/CombatTimer/

config.json
combattimer.db

translations/
  messages.json

Bypass Permission

Trusted players or staff groups can bypass combat tagging.

combattimer.bypass

Hot Reload Support

Reload config and translation files without restarting the server.

/combattimer reload

Missing files are recreated automatically.


Commands

CommandDescription
/combattimer helpDisplays plugin commands
/combattimer reloadReloads config and messages
/combattimer unban <player>Removes a CombatTimer ban
/combattimer banlist [page]Lists active CombatTimer bans

Alias:

/ctimer

Permissions

PermissionDescriptionDefault
combattimer.helpAllows /combattimer helptrue
combattimer.reloadAllows /combattimer reloadop
combattimer.unbanAllows unbanning playersop
combattimer.banlistAllows viewing CombatTimer bansop
combattimer.bypassBypasses combat timer taggingfalse
combattimer.update.notifyAllows receiving update notificationsop

Why Use CombatTimer?

Combat logging can ruin fights.

Common problems include:

  • players disconnecting before dying
  • players saving loot by logging out
  • PvP fights ending unfairly
  • combat loggers avoiding consequences
  • staff needing to handle reports manually
  • players abusing restarts to escape combat

CombatTimer solves this by keeping combat fair, visible, and configurable.

Use a simple timer, punish combat loggers directly, or enable logout villagers for a more interactive and loot-friendly system.


Best For

PvP servers
SMP servers
Survival servers
Faction servers
Hardcore servers
Event servers
Lifesteal-style servers

Compatibility

  • Minecraft 1.21+
  • Spigot / Paper
  • Lightweight with minimal performance impact

Configuration Philosophy

CombatTimer is designed to be:

  • simple to configure
  • fair for players
  • useful for staff
  • strong against combat logging

You decide when combat starts, how long it lasts, and what happens when someone logs out.


Support

If you encounter issues or have feature requests, feel free to open a ticket in the Discord server.

Keep combat fair, stop logout abuse, and make every fight count.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.1.x1.21.x1.20.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки


Создатели

Детали

Лицензия:
Опубликован:3 месяца назад
Обновлён:2 недели назад
Главная