name: CubeRunner
main : me.poutineqc.cuberunner.CubeRunner
version: 2.5.2
description: Blocks are falling over your head! Can you outrun them?
load: postworld
author: PoutineQc
database: false
prefix: CR

commands:
  cuberunner:
    description: CubeRunner commands
    aliases: [cr, cuber, crunner]
    usage:  /<command>

permissions:
  cuberunner.*:
    description: Gives access to all CubeRunner's commands
    children:
      cuberunner.player.*: true
      cuberunner.admin.*: true
  cuberunner.player.*:
    description: Gives access to all commands simply needed to play the game
    children:
      cuberunner.player.help: true
      cuberunner.player.list: true
      cuberunner.player.info: true
      cuberunner.player.stats: true
      cuberunner.player.language: true
      cuberunner.player.play.*: true
  cuberunner.player.help:
    description: Allows to get command help
    default: true
  cuberunner.player.list:
    description: Allows to see the list of arenas
    default: true
  cuberunner.player.info:
    description: Allows to see arenas' infos
    default: true
  cuberunner.player.stats:
    description: Allows a player to see his stats
    default: true
  cuberunner.player.language:
    description: Allows to change your personal language
    default: true
  cuberunner.player.play.*:
    description: Gives all the access to play a game normally
    children:
      cuberunner.player.play.join: true
      cuberunner.player.play.quit: true
      cuberunner.player.play.start: true
  cuberunner.player.play.join:
    description: Allows to join a game
    default: true
  cuberunner.player.play.quit:
    description: Allows to quit a game
    default: true
  cuberunner.player.play.start:
    description: Allows to start a game
    default: true
  cuberunner.admin.*:
    description: Gives access to all commands needed to setup arenas and other admin stuff.
    children:
      cuberunner.admin.reload: true
      cuberunner.admin.info: true
      cuberunner.admin.edit.*: true
  cuberunner.admin.reload:
    description: Allows to reload the plugin's config
    default: op
  cuberunner.admin.info:
    description: Allows to see advanced arenas' infos
    default: op
  cuberunner.admin.edit.*:
    description: Gives access to all commands needed to setup arenas and other admin stuff.
    children:
      cuberunner.admin.edit.new: true
      cuberunner.admin.edit.delete: true
      cuberunner.admin.edit.zone: true
      cuberunner.admin.edit.lobby: true
      cuberunner.admin.edit.startpoint: true
      cuberunner.admin.edit.sign: true
      cuberunner.admin.edit.color: true
      cuberunner.admin.edit.amountplayer.*: true
  cuberunner.admin.edit.new:
    description: Allows to create a new arena
    default: op
  cuberunner.admin.edit.delete:
    description: Allows to delete an arena
    default: op
  cuberunner.admin.edit.zone:
    description: Allows to select the zone of an arena
    default: op
  cuberunner.admin.edit.lobby:
    description: Allows to edit the lobby position of an arena
    default: op
  cuberunner.admin.edit.startpoint:
    description: Allows to edit the startpoint of an arena
    default: op
  cuberunner.admin.edit.sign:
    description: Allows to setup CubeRunner's signs
    default: op
  cuberunner.admin.edit.color:
    description: Allows to set the block colors for the arena
    default: op
  cuberunner.admin.edit.amountplayer.*:
    description: Gives access to the two commands that edit the min and max amount of players per arena.
    children:
      cuberunner.admin.edit.amountplayer.minplayer: true
      cuberunner.admin.edit.amountplayer.maxplayer: true
  cuberunner.admin.edit.amountplayer.minplayer:
    description: Allows to edit the minimum amount of player for an arena
    default: op
  cuberunner.admin.edit.amountplayer.minplayer:
    description: Allows to edit the maximum amount of player for an arena
    default: op