Description
This script checks if players are in combat. If the player disconnects, he kills the player for disconnecting in combat. If a player enters combat, this skript has the following features:
- Action bar indicating the number of seconds the player is still in combat
- Sound when the player finishes the combat timer
- Blocks all commands during combat
- Blocks picking up any item from the ground during combat
- Blocks any item from dropping from the ground during combat
- Disable fly when entering combat (Added in v2.0)
- Logs when player quit in combat (Added in v3.0)
Note: All these features can be enable/disabled in config.yml file.
This skript uses easy-to-configure technology. There’s no need to modify the code, as the script automatically generates a ‘config.yml’ file, similar to what plugins do.
Instalation
1. Install the plugins:
- [Required] Skript
- [Required] Skript-yaml
- [Required] SkQuery
2. Place the skript “CombatLog.sk” in the folder “/plugins/Skript/scripts/”
3. Run the command “/skript reload scripts” or restart the server
4. Configure the skript in the “config.yml” file in the folder: “/plugins/Lantejoula/CombatLog/config.yml”
Note: If you test the skrips between versions 1.8-1.19, please contact me whether they work or not, just so i can fix them, or announce that the skript works for the version you tested. Thank you!
Contact me
If you have any problems with the script, you can contact me via discord: lantejoula

Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.19, 1.20, 1.20.6
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
[Lantejoula-Skript] CombatLog is a free Minecraft Java mod. Compatible with Minecraft 1.19, 1.20, 1.20.6, 1.21. Downloaded 110 times (via Spigot). Download it and open it directly in the game.