Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Combatlog

Combatlog

An attempt to prevent people from logging out while in combat

13.8k
25
Utility
AboutChangelogVersions

This mod tries to prevent people from combat logging on a server, after a player is hit by another player, both of them has a configurable countdown assigned to them and if either of them leave before that count down is over they are killed and all of their items are dropped on the ground.

There are 11 config options if you can't see them delete your config file and it will regenerate they are as follow

  • combatTime
  • allDamage
  • mobDamage
  • disableElytra
  • disablePearl
  • deathMessage
  • combatNotice
  • inCombat
  • outCombat
  • blockedCommands
  • blockedCommandMessage

The config file should be located at config/combatlog-common.json5

You only need the mod on the server but it does not hurt to have it on your client in case you want to open to lan or use it in a singleplayer world for mobs.

Feel free to use in your modpack.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20–1.20.4
1.19.2–1.19.4
1.18.2
1.16.5

Platforms

Fabric
Forge
NeoForge

Supported environments

Server-side

Links

Report issues View source
Donate on Ko-fi

Creators

WildToastyMop
WildToastyMop Owner

Details

Licensed MIT
Created 2 years ago
Updated 2 weeks ago

Modrinth is open source.

main@aaf125c

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.