A port of CombatLogX for Fabric/NeoForge 1.21.1 and 1.21.10.
CombatLogX helps prevent players from avoiding combat by disconnecting while fighting. This project ports CombatLogX to Fabric and NeoForge, bringing the same combat logging prevention to modded Minecraft servers.
- Combat tagging system
- Punish players that disconnect in combat (e.g. kill on combat log, keep NPC body online after combat logging)
- Configurable combat timers
- Modular expansion system for additional features
- Permission support via
fabric-permission-apiand NeoForge's built in permission API - and more...
| Minecraft Version | Fabric | NeoForge |
|---|---|---|
| 1.21.1 | Supported | Supported |
| 1.21.10 | Supported | Supported |
CombatLogX has an expansion system that allows additional features to be added independently.
Official expansions: Action Bar Displays combat timer information above the player's hotbar
Boss Bar Displays combat timer information on the top of the player's screen
End Crystal Links End Crystal entities to their placer
This mod is intended for dedicated servers only.
- Install Fabric or NeoForge for a supported Minecraft version on your server
- Download the latest release from the Releases page
- Place the JAR into your server's
modsfolder - Start the server
Contributions are always welcome!
Requirements:
- Java 21
- IDE such as IntelliJ IDEA (RECOMMENDED)
- Clone to repository
git clone https://github.com/rcubedev/combatlog.git
cd combatlog- Open the project Open your IDE and import the folder
- Build the project or run a test environment
Run a test environment: In IntelliJ: Run via run configs
Via terminal:
# Replace LOADER with loader (fabric/neoforge), version with minecraft version (1.21.1/1.21.10)
# Windows
.\gradlew :test:LOADER:VERSION:runClient
.\gradlew :test:LOADER:VERSION:runServer
# Mac/Linux
./gradlew :test:LOADER:VERSION:runClient
./gradlew :test:LOADER:VERSION:runServerBuild the project:
# Windows
.\gradlew build
# Mac/Linux
./gradlew build- Fork the repository
- Create a new branch for your feature or bugfix (git checkout -b feat/my-custom-feature)
- Commit your changes (git commit -m 'feat: Add some amazing feature')
- Push to your branch (git push origin feat/my-custom-feature)
- Open a PR (Pull Request) listing your changes
This project is a port of CombatLogX by SirBlobman and contributors.