Download Combat Log — Minecraft Mods — MetaMods

Combat Log

Active

Downloads

0

Last update

7 months ago

Versions

1.21 — 1.21.5
Server
Fabric
Forge
Neoforge
Quilt
Game mechanics
Social
Utils

Combat Log

This datapack adds a protection system against premature game exit during combat, maintaining a fair and balanced PvP environment.

When a player engages in combat with another participant, the battle mode activates. During this period, attempting to leave the server will lead to unpleasant consequences, ensuring gameplay fairness. The system creates genuine risks for those trying to avoid the legitimate conclusion of a conflict.

Parameter Configuration

To modify main parameters, use:

/function combat_log:config

Combat Status Duration

Configure the duration of time during which a player remains in combat mode after the last interaction with an opponent (20 ticks = 1 second):

/scoreboard players set time combat_log.config 

Sound Effects

Individual sound customization for specific events:

/data modify storage combat_log:config  set value ""

Available sound parameters:

  • sound_combat_join — sound when entering combat
  • sound_combat_join_pitch — pitch when entering combat
  • sound_combat_leave — sound when leaving combat
  • sound_combat_leave_pitch — pitch when leaving combat

Text Messages

Personalization of system notifications for various server situations:

/data modify storage combat_log:config  set value ""

List of customizable message parameters:

  • message_combat_join_text — text when entering combat
  • message_combat_join_color — message color when entering combat
  • message_combat_leave_text — text when leaving combat
  • message_combat_leave_color — message color when leaving combat
  • message_combat_death_text — text when dying in combat
  • message_combat_death_color — message color for death in combat
  • message_combat_time_text — text with time information
  • message_combat_time_color — message color for time
  • message_combat_time_time_color — color of time display in the message
Project members
lullaby

lullaby

Developer

Created: 1 Feb 2025

ID: 71125