Example Config

This is an example for the config file:
options:
  force-gamemode:
    enable: false
    mode: survival
  auto-update: true
  bstats: true
  debug: false

survival:
  self: '&aSet your game mode to &6&osurvival&a.'
  from: '&aYour game mode was set to &6&osurvival&a.'
  to: '&aSet the game mode of &7$player &ato &6&osurvival&a.'

creative:
  self: '&aSet your game mode to &6&ocreative&a.'
  from: '&aYour game mode was set to &6&ocreative&a.'
  to: '&aSet the game mode of &7$player &ato &6&ocreative&a.'

adventure:
  self: '&aSet your game mode to &6&oadventure&a.'
  from: '&aYour game mode was set to &6&oadventure&a.'
  to: '&aSet the game mode of &7$player &ato &6&oadventure&a.'

spectator:
  self: '&aSet your game mode to &6&ospectator.'
  from: '&aYour game mode was set to &6&ospectator.'
  to: '&aSet the game mode of &7$player &ato &6&ospectator.'

other:
  player not found: '&cCould not find this player: &7$player'
  gamemode not found: '&cCould not find this gamemode: &7$gm'
  no permission: '&cYou don''t have the permission to do that!'
  gmtemp:
    to: '&6$player&r''s gamemode is now $gm &rfor &a$time &rseconds'
    from: 'Your gamemode is now $gm &rfor &a$time &rseconds'
  one time gamemode:
    error: '&cPlease allow at least one game mode!'
    message: '&6$player &fhas the permission to change their game mode to:'
    allowed: '&aYou may change your game mode to one of these:'

version: 2

Help:

  • use apostrophes to mark begin and end of the message
  • do NOT write anything beyond the apostrophes! (it could break the config)
  • use color codes to decorate your message
  • use '' (two apostrophes) to display a single apostrophe in the final message