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 mobsdisable_elytra_in_combat: Disables elytra flight when in combatdisable_commands_in_pvp: Disables command execution when in combattag_attackers: Whether to apply all features (combat timer, disable elytra, etc.) of this mod to all players involved in the PvPrespawn_invulnerability_seconds: The number of seconds a player is invulnerable after respawning. Default is 0 secondsbegin_invulnerability_countdown_seconds: When to begin counting down the number of seconds remaining for invulnerabilitynew_player_invulnerability_seconds: How long a new player should be invulnerable. Default is 0 secondsprecise_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
- Install the Ignite Mixin loader
- Run the ignite jar alongside the paper/spigot jar
- Put the mod in the mods folder and restart
Folia
- Install the Ignite Mixin loader
- 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 - Run the ignite jar alongside the folia jar
- Put the mod in the mods folder and restart
How to Install Fair Fight (Plugin)
Fair Fight by Unknown is verified for Fabric, Folia, Forge, Neoforge, Paper, Purpur, Quilt, Spigot, Sponge across Minecraft versions 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3 (latest release: mc26.3-1.3.0, file size: 25 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3) and platform (Fabric, Folia, Forge, Neoforge, Paper, Purpur, Quilt, Spigot, Sponge).
- Make sure you have the compatible loader or environment installed for Fabric, Folia, Forge, Neoforge, Paper, Purpur, Quilt, Spigot, Sponge.
- Move the downloaded Fair Fight file into your Minecraft
.minecraft/pluginsfolder and launch the game.
All Versions
+ Add Versionnew_player_invulnerability_seconds: How long a new player should be invulnerable. Default is 0 secondsprecise_invulnerability_notification: Whether to use the HH:MM:SS format. Default is false (uses a generic X seconds, X minutes, or X hours format)
When invulnerable, players cannot attack you and you cannot attack other players. Other forms of damage are still valid.
An optional coutdown timer is present (configurable with gamerules) if you want to notify players when they are about to be vulnerable.
- Fixed mod compat with NoDim
- Added disable_commands_in_pvp gamerule
- Doesn't allow players in combat to execute commands, but they can still message in chat
- Added tag_attackers gamerule
- Counts the attacker as in combat and applies all of this mod's features to the attacker
- Updated to 26.1.x
- Fixed the player left text appear twice
- Fixed the player joined text not appearing
- Fixed the fake player not always spawning if leaving and joining quickly