Skip to main content

Configuration

The main configuration file is located at plugins/CocoKoth/config.yml.

General Settingsโ€‹

plugins/CocoKoth/config.yml
# Plugin prefix for messages
prefix: "&8[&#FF8000CocoKoth&8] &7ยป"

# Locale file to use
locale-file: "messages_en.yml"

Databaseโ€‹

database:
# Database type: h2, sqlite, mysql
type: "h2"

# Table prefix
table-prefix: "cocokoth_"

sqlite:
file: "cocokoth.db"

mysql:
host: "localhost"
port: 3306
database: "cocokoth"
username: "root"
password: ""
ssl: false
pool-size: 10

Leaderboard Updatesโ€‹

# How often leaderboards update (in seconds)
# Updates are done async
leaderboard-update-seconds: 180

Selection Wandโ€‹

wand:
material: "WOODEN_AXE"
name: "&#FF8000&lSelection Wand"
lore:
- ""
- "&fUse this to select"
- "&fthe KOTH area."
- ""
- "&eLeft-Click &6ยป &fSelect position #1"
- "&eRight-Click &6ยป &fSelect position #2"
- ""

Team Integrationโ€‹

team:
enabled: true

# Available options: placeholder, cocoguild
mode: "cocoguild"

# Placeholder to use (for placeholder mode)
placeholder: "%cocoguild_guild_name%"

# Text for players without a team
no_team_placeholder: "-"

# Count solo player wins in top stats?
count-player-wins-in-top: false

Team Modesโ€‹

ModeDescription
cocoguildDirect integration with CocoGuild plugin
placeholderUse any placeholder for team name

Capture Settingsโ€‹

# Broadcast capture status every X seconds
# Set to -1 to disable
capture-broadcast-every-seconds: 5

# Glow effect for current capturer
capturer-glow:
enabled: false

Hologramsโ€‹

holograms:
# Background color (AARRGGBB hex, 00000000 = invisible)
background-color: 00000000

# Text alignment: left, right, center
alignment: center

# Billboard mode: fixed, vertical, horizontal, center
billboard: vertical

# See through blocks?
see-through: false

# Text shadow?
shadow: true

Timer Formatโ€‹

# Format used in time placeholders
# 1 - HH:MM:SS (01:25:35)
# 2 - Short (20m)
# 3 - Text (01h 25m 35s)
timer-format: 1

Placeholders Configurationโ€‹

placeholders:
not-active: "&#FF8000---&f"
not-found: "&#FF8000Unknown koth&f"
no-hook: "&#FF8000No team hook loaded&f"
not-in-team: "&#FF8000---&f"
no-capturer: "&#FF8000---&f"
infinity: "&#FF8000โˆž&f"