PluginMIT
NoMoreCombatLog
Plugin that stops Combat Logging
508
Downloads
0
Followers
4 months ago
Updated
📦
8
Versions
📖About NoMoreCombatLog
NoMoreCombatLog
A simple and configurable Paper plugin that prevents players from combat logging.
Features
- Players are placed in combat when attacking or being attacked.
- The combat tag lasts for a configurable duration.
- Actionbar messages show remaining tag time.
- If a tagged player logs out before the timer ends, they are automatically killed (can be changed to ban).
- Players can be prevented from using portals while in combat.
- Commands can be blocked during combat.
- Configurable to allow or disallow tagging in creative mode.
- Can be disabled in specific worlds.
Retaliation Mode (optional)
- Tag only when player is attacked and attacks back within a configurable time window.
Safe Zones
- You can add custom safezones where players cant attack eachother.
Config
enabled: true # Enable or disable the plugin
combat-tag-duration: 30 # Duration (seconds) of the combat tag
enable-in-creative: false # Allow tagging in creative mode
retaliationattack: false # Enable retaliation-based tagging
retaliation-window: 10 # Time window for retaliation mode
set-attacker-on-combat: true # Tag attacker in retaliation mode
allow-portal-teleport: false # Allow portals during combat
blocked-commands: [] # Commands blocked during combat
disabled-worlds: # List of worlds where combat logging is disabled
- world_the_end
enable-safe-zone: false # Whether to enable safe zones where players are not tagged in combat
remove-tag-when-entering-safe-zone: false # When set to true. Combat tag is removed when entering a safe zone
safe-zones:
- name: spawn
world: world
x: 0
y: 64
z: 0
radius: 20.0
Commands
| Command | Permission | Description |
|---|---|---|
/nmcl |
nomorecombatlog.use |
Shows the plugin version. |
/nmcl reload |
nomorecombatlog.reload |
Reloads the plugin configuration. |
/nmcl safezone add <name> <radius> |
nomorecombatlog.safezone.add |
Adds a safezone |
/nmcl safezone remove <name> |
nomorcombatlog.safezone.remove |
Removes a safezone |
/nmcl safezone list |
nomorecombatlog.safezone.list |
Lists all safezones |
Permissions
| Permission | Description |
|---|---|
nomorecombatlog.use |
Allows use of the /nmcl command. |
nomorecombatlog.reload |
Allows use of the /nmcl reload command. |
nomorecombatlog.bypass |
Bypass combat logging |
nomorecombatlog.safezone.add |
Allows adding safezones |
nomorecombatlog.safezone.remove |
Allows removing safezones |
nomorecombatlog.safezone.list |
Allows listing all safezones |
TODO
- Add customizable messages.
- don't kill players in combat because of server restart
- more punishments for combat logging
- support for other server types (Spigot)
- keep track of combat loggers across server restarts
- disabled worlds support
- disable commands while in combat
- cancel bow and other sources of damage from other players inside safezones