config.yml
config.yml controls Whack Me’s server-wide behavior. Arena-specific values such as point-block movement, portal locations, music, and per-arena display toggles are configured through /wm edit <arena>.
Storage
Section titled “Storage”database: flatflat: Stores persistent player statistics indata/stats.yml.mysql: Uses the connection inmysql.ymland creates the configured statistics table.
Game Settings
Section titled “Game Settings”game-settings: block-commands: true block-leave-command: false gameplay-time: 30 cooldown-seconds: 0| Option | Default | Description |
|---|---|---|
block-commands | true | Master switch for restricting commands while a player occupies an arena. |
block-leave-command | false | When false, /wm leave and /whackme leave are always added to the allowlist. |
gameplay-time | 30 | Run duration in seconds. The boss bar and timer displays use this value. |
cooldown-seconds | 0 | Delay before another game can be joined; 0 disables it. |
whackme.cooldown.bypass ignores the replay cooldown. whackme.commandblock.bypass ignores command restrictions.
Scoreboard
Section titled “Scoreboard”scoreboard-enabled: trueThis is the global scoreboard switch. The global setting and the arena’s Arena Scoreboard toggle must both be enabled.
Chat Settings
Section titled “Chat Settings”chat-settings: enable-formatting: true separate-chat: true disable-chat-in-game: falseenable-formattinguseschat-formatfrommessages.yml.separate-chatisolates the arena player from outside chat and removes arena players from outside recipients.disable-chat-in-gamecancels all chat from an active arena player and sendsgame.chat-disabled-in-game.
With formatting and separation both disabled, Minecraft’s normal chat flow is left unchanged.
Allowed Commands
Section titled “Allowed Commands”command-settings: allowed-commands: - "wm leave" - "whackme leave" - "wm stats" - "whackme stats"Entries are case-insensitive and may include or omit the leading slash.
- A root such as
msgallows all/msg ...arguments. - A subcommand such as
wm statsallows that command and any additional arguments. *allows everything.- Namespaced roots such as
minecraft:msgare normalized tomsg.
Update Notifier
Section titled “Update Notifier”update-notifier: trueChecks for a newer Whack Me release during startup and logs the distribution link when an update is available.
Debug and Event Profiling
Section titled “Debug and Event Profiling”debug: false
event-profiling: enabled: false verbose: falsedebugregisters the hidden debug command group on startup.event-profiling.enabledrecords execution times for Whack Me event listeners.event-profiling.verboselogs every profiled execution and can create substantial console output.
See Debug Commands for component previews and timing dumps.
Applying Changes
Section titled “Applying Changes”Most options apply with:
/wm reloadRestart for storage backend changes and for enabling or disabling debug command registration.