Kombat is a combat log plugin to prevent people from using commands or disconnecting during fights.
If a player attempts to disconnect during a fight, they will die.
If they try to execute any non-whitelisted (see config) commands, they won't be able to.

Code (YAML):
##############################################
# Kombat - Enforce fair fights in your server
# Developed by BytesToBits
##############################################
# DO NOT CHANGE
# this version is for the configuration. If it ever changes, you'll be told to update the config content
version
: 1.1
# Check for updates
check-updates
: true
# Should players with the "kombat.bypass" have bypass enabled by default?
bypass-on-login
: true
# Time while players remain in combat after getting hit
combat-time
: 20
# Action bar message when in combat. Set to "none" to disable
combat-actionbar
:
"&cRemaining Time: &e{time}"
# Message to send to the player when they enter combat
# You can use {name} to refer to the player who they were tagged by.
#combat-enter-message: "&4&l{name} has combat-tagged you. &nDo not leave
combat-enter-message
:
"&4&lYou have entered combat. &nDo not leave"
# Message to send to the player when they exit combat
combat-exit-message
:
"&aYou are no longer in combat!"
# Command deny message while in combat
in-combat-message
:
"&cYou cannot do that while in combat."
# These commands will be allowed during combat
whitelisted-commands
:
- msg
- tell
- reply
/kombat bypass - Avoid getting tagged when hit.
/kombat reload - Reload the plugin's configuration (Admin)
kombat.admin - Use the admin commands
kombat.bypass - Use the /kombat bypass command*
* only users with kombat.bypass will be affected if bypass-on-login option is enabled in the config.
This plugin was developed by
BytesToBits. You can join our
Discord to receive support.