HoeWars

Configuration

A walk through config.yml and the settings worth knowing.

All server-wide settings live in plugins/HoeWars/config.yml. Edit it with the server stopped, or edit it live and run /hoe reload to apply changes. This page covers each section.

Color codes use the legacy ampersand style, for example &6 for gold. This applies in the config, messages, and scoreboard files.

Storage

Chooses where player data is saved.

storage:
  type: SQLITE

Set type to SQLITE (a local file, no setup) or MYSQL (a shared database for networks). The full MySQL connection and pool settings live in this section. See Storage and Data for details.

Lobby

Where players go after a match. Easiest set with the /hoe setlobby command while standing in place, which writes these values for you.

lobby:
  world: "world"
  x: 0.0
  y: 64.0
  z: 0.0

Arena clone

Controls where match copies are pasted and how fast.

arena-clone:
  world: "world"
  base-x: 10000
  base-y: 64
  base-z: 10000
  spacing: 200
  blocks-per-tick: 800
  use-fawe-if-present: true
KeyWhat it controls
worldThe world clones are pasted into
base-x, base-y, base-zWhere the first clone starts
spacingDistance between simultaneous clones
blocks-per-tickHow many blocks the built-in paster places per tick (lower it if you see lag)
use-fawe-if-presentUse FastAsyncWorldEdit for the paste when it is installed

See Arenas for the bigger picture.

Match

Player counts, length, and start thresholds per mode.

match:
  ranked:
    players: 10
    duration: 240
    countdown: 10
    min-players-to-start: 6
KeyWhat it controls
playersMaximum players in a match
durationMatch length in seconds
countdownCountdown length in seconds before a match starts
min-players-to-startPlayers needed before the countdown begins

Repeat for unranked and deathmatch. See Game Modes.

Territory

The claiming rules.

territory:
  tool-type: HOE
  neutral-block: WHITE_CONCRETE
  claim-block-type: CONCRETE
  allow-stealing: false
  steal-requires-double-click: false
  steal-cooldown-ticks: 10
  claim-cooldown-ticks: 2
KeyWhat it controls
tool-typeThe tool players claim with (HOE or SHOVEL)
neutral-blockThe block an unclaimed floor tile shows as
claim-block-typeThe block a claimed tile becomes (an arena can override this; see Arenas)
allow-stealingWhether players can claim tiles already owned by others
steal-requires-double-clickRequire a double click to steal, when stealing is on
steal-cooldown-ticksMinimum ticks between steals
claim-cooldown-ticksMinimum ticks between claims

Ranks

The rank ladder. Each tier sets a win requirement, a tool tier, and a display name. See Ranks and ELO for the default table.

ELO

elo:
  enabled: true
  k-factor: 32
  starting: 1000

Turn ELO on or off, and set the base rating and the K-factor (how much a single match can move a rating).

Visuals

visuals:
  colored-armor: true
  claim-particle: HAPPY_VILLAGER
  claim-sound: BLOCK_NOTE_BLOCK_PLING
  player-glow: true
  arena-border-particles: true
  winner-fireworks: true

Toggle armor coloring, the particle and sound played on each claim, player glow, the arena border particles, and the winner fireworks.

Queue and leaderboard

queue:
  max-wait-time: 120
leaderboard:
  cache-refresh-seconds: 45

max-wait-time is the longest a player waits in queue before the plugin acts. cache-refresh-seconds is how often leaderboards refresh. See Stats and Leaderboards.

Applying changes

After editing, run:

/hoe reload

This reloads the config, ranks, and arenas without a restart.

On this page