promotional bannermobile promotional banner
premium banner
Prevents combat log in Hytale by killing players who disconnect during PVP.

Description

Logo

RibsCombatLog

RibsCombatLog is a Hytale plugin designed to prevent players from avoiding PvP consequences by disconnecting during combat. When a player leaves the server voluntarily while tagged, they are automatically killed and their items are dropped at their location.


Features

  • Combat Tagging - Players are tagged when they hit or get hit by another player.
  • Essentials Plugins Compatibility - Prevents other plugins (like HyCommands or others essentials plugins) from overwriting blocked commands, ensuring they remain restricted during combat.
  • Both Players Tagged - Both attacker and victim are tagged in combat.
  • Combat Log Punishment - If a player disconnects while in combat, they are killed and their items are dropped.
  • Configurable Duration - Combat tag duration is configurable (default: 15 seconds).
  • Combat Enter/Leave Message - Shows messages when entering pvp and combat tag expires. This are customizable.
  • Command Blocking - Blocks specified commands while in combat (e.g., /spawn, /teleport, /warp).
  • Configurable Blocked Commands - List of blocked commands is configurable in config.json.

Config

When the plugin starts, it will create the following directory and file: <dataDirectory>/RibsCombatLog/config.json.
The default value for the duration is 15 seconds.

Default config.json

{
  "combatTagDurationSeconds": 15
}

Instruction

You can either download the pre-compiled .jar file directly, or modify the source code to suit your needs and compile it yourself.

Compilation

To compile the plugin, use the following command:

mvn clean package -DskipTests

Instalation

  1. Locate the generated .jar file in the target/ directory.
  2. Copy the .jar file and paste it into the mods/ folder of your Hytale server.
  3. Restart the server to load the plugin.

Issues

If you have any issues or suggestions, feel free to leave a comment here or open a pull request on GitHub. Thanks!