Skip to content

Configuration

ItsNotSkyeZ edited this page Jul 14, 2026 · 13 revisions

Configuration

EndlessCoinflip uses two config files found in plugins/EndlessCoinflip/:

  • config.yml — General settings, wager limits, cooldowns, database, GUI and feature toggles
  • messages.yml — All player-facing messages Run /cf reload after making any changes — no restart needed.

config.yml

Settings

settings:
  min-wager: 100        # Minimum wager amount
  max-wager: 1000000    # Maximum wager amount
  max-active-matches: 6 # Maximum lobby matches at once

Cooldowns

cooldowns:
  enabled: true   # Enable/disable cooldowns
  seconds: 30     # Cooldown duration in seconds

Match Expiry

match-expiry:
  enabled: true   # Enable/disable match expiry
  seconds: 300    # How long before an unjoined match auto-cancels (seconds)

Feature Toggles

features:
  bot-battles: true         # Enable/disable bot battles entirely
  join-confirmation: true   # Enable/disable the join confirmation screen

Storage

See the Database Setup page for full details.

storage:
  type: FILE   # FILE, SQLITE, or MYSQL

GUI

All GUI titles, item names, lore and colours are configurable in the gui: section. Supports & colour codes throughout.


messages.yml

All player-facing messages are stored here. Every message supports & colour codes.

Placeholders

Placeholder Description
{wager} The wager amount
{opponent} The opponent's name
{amount} A generic amount (e.g. pending payout)
{min} Minimum wager
{max} Maximum wager
{wins} Player's win count
{losses} Player's loss count
{wagered} Total amount wagered
{won} Total amount won
{win} Biggest win
{loss} Biggest loss

Multi-line Messages

The help and stats sections support multi-line lists:

help:
  - "&b&lEndlessCoinflip &8— &7Commands"
  - "  &b/cf &8— &7Open the coinflip lobby"
  - "  &b/cf <amount> &8— &7Create a match"

Colour Codes

Standard Minecraft & colour codes are supported everywhere:

Code Colour
&a Green
&b Aqua
&c Red
&e Yellow
&f White
&7 Gray
&8 Dark Gray
&l Bold
&m Strikethrough

Clone this wiki locally