Documentation
Installation:
- Download the latest version of CombatUtils.
- Place the .jar file into your server’s plugins folder.
- Restart your server or reload the plugins to activate.
Configuration: After installation, you can customize
CombatUtils through the config.yml file located in the plugin folder. Below are the configurable options:
- PvP Settings:
- combat-utils.pvp-toggle-enabled: Allows players to toggle PvP on or off for themselves.
- combat-utils.pvp-status-message: Customize the message sent when PvP is toggled.
- Combat Timer Settings:
- combat-utils.combat-timeout: Set the time (in seconds) before the combat timer expires and players are no longer considered in combat.
- combat-utils.combat-timer-message: Customize the message displayed in the player's action bar during combat.
- Disconnect Punishment:
- combat-utils.punish-on-quit: Set to true to punish players by killing them if they disconnect during combat.
- combat-utils.death-message: Customize the message displayed when a player dies due to disconnecting during combat.
- Other Settings:
- combat-utils.reload-command: Set to true to enable the /combatutils reload command to reload the plugin’s configuration without restarting the server.
Commands:
- /pvp: Toggles PvP for the player using the command.
- /combatutils reload: Reloads the configuration file without restarting the server.
Permissions:
- combatutils.pvp.toggle: Allows players to toggle their own PvP status.
- combatutils.reload: Allows users to reload the configuration with the /combatutils reload command. This permission is usually given to admins.
Support: For help or troubleshooting, feel free to DM me on discord, radif7 is my username