Fair Fight

Fair Fight

A simple anti-combat-logging mod for all platforms

1 909 downloads
5 followers

Fair Fight

A Simple Anti-Combat Logging Mod


About

Fair Fight is a multiplatform mod aimed to remove those pesky individuals who think combat logging will save them. Now when they decide to perform their devious tricks, their player will remain on the server if they were engaged in combat! This will allow the person who was attacking them to continue attacking them.


Configuration

This mod has 10 gamerules:

  • in_combat_ticks: Allows you to set how many ticks after being attacked the game should wait until the player is considered not in combat. By default, this is 300 ticks (15s).
  • combat_time_shown: Toggles the combat time cooldown overlay.
  • combat_logger_players_only: Only counts combat between players and ignores other mobs
  • disable_elytra_in_combat: Disables elytra flight when in combat
  • disable_commands_in_pvp: Disables command execution when in combat
  • tag_attackers: Whether to apply all features (combat timer, disable elytra, etc.) of this mod to all players involved in the PvP
  • respawn_invulnerability_seconds: The number of seconds a player is invulnerable after respawning. Default is 0 seconds
  • begin_invulnerability_countdown_seconds: When to begin counting down the number of seconds remaining for invulnerability
  • new_player_invulnerability_seconds: How long a new player should be invulnerable. Default is 0 seconds
  • precise_invulnerability_notification: Whether to use the HH:MM:SS format. Default is false (uses a generic X seconds, X minutes, or X hours format)

Note: Do NOT enable invulnerability if you have Tater Certified's LifeSteal mod. It features a very similar invulnerability feature and is fundamentally incompatible with Fair Fight's implementation


Supported Platforms

  • Fabric/Quilt
  • Forge
  • NeoForge
  • PaperMC/Spigot/Folia
  • Sponge

Installation

Fabric, Quilt, Forge, NeoForge

Simply put the mod in the mods folder

Sponge

Simply put the plugin in the plugins folder

Spigot/PaperMC

  1. Install the Ignite Mixin loader
  2. Run the ignite jar alongside the paper/spigot jar
  3. Put the mod in the mods folder and restart

Folia

  1. Install the Ignite Mixin loader
  2. Rename the Folia jar to "paper.jar". Alternatively, you can launch the game with the following JVM args: -Dignite.locator=paper -Dignite.jar=./folia.jar
  3. Run the ignite jar alongside the folia jar
  4. Put the mod in the mods folder and restart

No gallery available for this project.