⭐CombatLogger⭐ Custom Punishments ✅ Safe Zone ✅ icon

⭐CombatLogger⭐ Custom Punishments ✅ Safe Zone ✅ -----

A simple combat plugin! With customizable punishments



CombatLogger is a simple lightweight easy to use combat log plugin!
FEATURES
Punish a user who logs off during combat with custom punishments!
Per permission punishments
Disable ender pearls
Disable elytra
Protected Regions : protect against them spawn campers
Force Gamemode
Blacklisted Commands
Blacklisted Worlds
PlaceholderAPI Support
  • %combatlogger_timeformatted%
  • %combatlogger_time%
TEMP BANNING SYSTEM upload_2024-3-1_20-31-30.png

COMMANDS

/combatlogger reload | info


PERMISSIONS
combatlogger.admin : Allows bypassing combat tag restrictions.
combatlogger.command : Allows usage of the default command to reload the plugin's configuration.

CONFIGURATION
Code (YAML):

# Specifies the duration of combat in seconds
[FONT=Courier New]combat-timer
: 15

chat
:
  # Message displayed when a player enters combat in chat
  on-message
: '&fYou are now in &6combat&f!'

  # Message displayed when a player leaves combat in chat
  off-message
: '&fYou are now out of &6combat&f!'

  # Whether the plugin will use chat messages
  use
: true

actionbar
:
  # Message displayed when a player enters combat in the action bar
  on-message
: '&6You are now in &fcombat &7for %combatlogger_timeformatted%!'

  # Message displayed when a player leaves combat in the action bar
  off-message
: '&6You are now out of &fcombat&f!'

  # Whether the plugin will use action bar messages
  use
: true

on-combat
:
  # Disables flight for players in combat
  disable-flight
: true

  # Forces players into a specific gamemode during combat
  force-gamemode
: survival # Leave empty to disable
  force-gamemode-message
: '&6Your gamemode has been updated.'

protected-regions
:
  # Message displayed when players attempt to enter protected regions while in combat
  message
: '&fYou cannot enter this region while in &6combat&f.'
  # Interval between sending messages to avoid spamming players' chat feed
  interval
: 10
#  regions:
#    - spawn

# List of worlds where combat is disabled
blacklisted-worlds
:
# - world_nether

# List of commands disabled during combat
blacklisted-commands
:
# - tp

# Message displayed when a player attempts to use a blacklisted command during combat
blacklisted-command-message
: '&fYou cannot &crun&f this command while in &6combat&f!'
 

Code (YAML):

# Punishment Configurations
# Specifies punishments for players who log out during combat.
# The 'default' section contains punishments that apply to all players unless overridden by specific permissions.
# Each punishment type can have its own set of arguments, such as duration for bans, amount for economy deductions, and messages to display.
default
:
  ban
: # Ban punishment for logging out during combat
    seconds
: 15
    message
: "&fYou logged out during &6combat &7\n Please wait %combatlogger_timeformatted%"
  kill
:
  eco
: # Economy deduction punishment for logging out during combat
    amount
: -1500
    message
: "&fYour balance has been reduced by &6$1500 &7for logging out during combat."
#  command: "broadcast &6%player% &flogged out during combat :("

# *Must have a permission plugin to work*
permissions
:
  # Example permission 'owner' using only economy deduction and use the different ban message
  owner
:
    permission
: combatlogger.owner
    punishments
:
      ban
:
        seconds
: 10
        message
: "&4You logged out during &6combat &7\n Please wait %combatlogger_timeformatted%"
        eco
:
          amount
: -1500
          message
: "&fYour balance has been reduced by &6$1500 &7for logging out during combat."
        command
: "broadcast &6%player% &flogged out during combat :("
  express
:
    permission
: combatlogger.express
    punishments
:
     - kill
      - command
 



WIKI

Sponser
Need cheap Minecraft server hosting? Check out CentroNodes, and use code "KEURIG" for 5% off.
[​IMG]


SUPPORT
if you are having any problems, bug, or want to suggest an idea, then you can contact me on discord https://discord.gg/hTbYj9wrYR
Resource Information
Author:
----------
Total Downloads: 33,051
First Release: Nov 14, 2020
Last Update: Aug 4, 2024
Category: ---------------
All-Time Rating:
11 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings