# Paste your license key below, then restart the server. # No key yet? Join my Discord: https://discord.gg/nRjDw9k2vJ license-key: "AP-XXXX-XXXX-XXXX-XXXX" # Where kills, deaths and kill streaks are saved. Changing this needs a restart. storage: # sqlite, mysql, mariadb, postgresql or mongodb. Use mysql, mariadb, postgresql or mongodb when several servers share stats. type: sqlite # Prefix for every table or collection. table-prefix: "combatlog_" # Used by mysql, mariadb and postgresql. PostgreSQL usually runs on port 5432. sql: host: localhost port: 3306 database: combatlog username: root password: "" use-ssl: false pool-size: 4 mongodb: uri: "mongodb://localhost:27017" database: combatlog # How long a player stays in combat after a hit, in seconds. combat-time: 20 # What each action sets the combat timer back to, in seconds. "full" means combat-time. # Pearls and fireworks only reset a timer that is already running. timer-resets: hit: full ender-pearl: full firework-damage: full firework-boost: full # A tick sound in the last seconds of combat. countdown-sound: enabled: true seconds: 3 # "sound volume pitch", or "none". sound: "block.note_block.hat 1.0 1.6" # Cooldowns while in combat, in seconds. -1 means the item can't be used in combat. # Item names are the Minecraft item IDs, for example ENDER_PEARL, GOLDEN_APPLE or WIND_CHARGE. # ELYTRA: -1 stops gliding. A number is the time between two glides. # To remove one cooldown, delete its line. To turn all cooldowns off, use: item-cooldowns: {} item-cooldowns: ENDER_PEARL: 15 ELYTRA: -1 # Potion effects players can't have in combat, for example INVISIBILITY, SPEED or STRENGTH. # When combat starts these effects are taken away and saved. When combat ends, the time they had left is given back. # Nothing is given back after a death. To turn this off, use: effects: [] potion-blocking: effects: - INVISIBILITY # What happens when a player in combat uses a potion with one of these effects. # block: the potion can't be drunk or thrown and stays in the inventory. # save: the potion works, but the blocked effects are saved and given after combat. on-use: block # Commands in combat. blacklist blocks the listed commands, whitelist allows only the listed commands. command-blocking: mode: blacklist commands: - spawn - home - tpa - rtp - warp - back # Stop teleports from commands and plugins while in combat. Pearls and chorus fruit are not affected. block-teleports: true # WorldGuard regions players can't enter while in combat. No combat starts inside them, and players can't hit or # shoot into or out of them. A child or higher-priority region with pvp set to allow, like an arena in spawn, is not safe. safe-zones: regions: - spawn # Also make every WorldGuard region with pvp set to deny a safe zone. pvp-off-regions: true # The wall a player in combat sees at the edge of a safe zone. Only that player sees it. wall: # Panel color, as HEX. color: "#FF3B3B" # How solid the panels get right next to the wall, from 0 to 100. opacity: 55 # A glowing outline around every panel. outline: true outline-color: "#FF5555" # How close a player has to be to see the wall, in blocks. view-distance: 6 # Worlds where combat is turned off. disabled-worlds: [] # Show the combat timer as a boss bar too. bossbar: enabled: false # PINK, BLUE, RED, GREEN, YELLOW, PURPLE or WHITE color: BLUE # PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12 or NOTCHED_20 style: PROGRESS # Replace the vanilla death message with kill-message from messages.yml when a player kills another player. kill-messages: true # Replace the vanilla death message with death-messages from messages.yml for every other death. death-messages: true # Send kill-streak from messages.yml to everyone when a player reaches one of these kill streaks. kill-streaks: broadcast-at: [5, 10, 15, 20, 25, 50] # Kills on the same player within this many minutes don't count for kills, deaths or kill streaks. anti-farm: enabled: false minutes: 10