Permissions cleanup.

This commit is contained in:
garbagemule 2013-08-29 02:29:24 +02:00
parent cc1dcff09a
commit 8ea4799b42
2 changed files with 19 additions and 47 deletions

View File

@ -64,33 +64,29 @@ permissions:
description: Gives access to all setup commands
default: op
children:
mobarena.setup.arena: true
mobarena.setup.setarena: true
mobarena.setup.config: true
mobarena.setup.setup: true
mobarena.setup.setting: true
mobarena.setup.addarena: true
mobarena.setup.removearena: true
mobarena.setup.protect: true
mobarena.setup.editarena: true
mobarena.setup.setregion: true
mobarena.setup.expandregion: true
mobarena.setup.showregion: true
mobarena.setup.showspawns: true
mobarena.setup.setlobbyregion: true
mobarena.setup.expandlobbyregion: true
mobarena.setup.setwarp: true
mobarena.setup.spawnpoints: true
mobarena.setup.containers: true
mobarena.setup.leaderboards: true
mobarena.setup.checkdata: true
mobarena.setup.checkspawns: true
mobarena.setup.classchest: true
mobarena.setup.classes: true
mobarena.setup.config: true
mobarena.setup.leaderboards: true
mobarena.setup.autogenerate: true
mobarena.setup.autodegenerate: true
mobarena.setup.arena:
description: Check which arena is the currently selected arena.
mobarena.setup.config:
description: Save or reload the config-file
default: false
mobarena.setup.setarena:
description: Select a new arena.
mobarena.setup.setup:
description: Setup Mode.
default: false
mobarena.setup.setting:
description: Setting command.
default: false
mobarena.setup.addarena:
description: Add a new arena node.
@ -98,53 +94,29 @@ permissions:
mobarena.setup.removearena:
description: Remove an arena.
default: false
mobarena.setup.protect:
description: Turn arena protection on/off.
default: false
mobarena.setup.editarena:
description: Turn editmode on/off.
default: false
mobarena.setup.setregion:
description: Set region points p1/p2.
default: false
mobarena.setup.expandregion:
description: Expand arena region.
default: false
mobarena.setup.showregion:
description: Show arena region.
default: false
mobarena.setup.showspawns:
description: Show arena spawnpoints.
default: false
mobarena.setup.setlobbyregion:
description: Set lobby region points l1/l2.
default: false
mobarena.setup.expandlobbyregion:
description: Expand lobby region.
default: false
mobarena.setup.setwarp:
description: Set warp points arena/lobby/spectator.
default: false
mobarena.setup.spawnpoints:
description: List all spawnpoints.
default: false
mobarena.setup.containers:
description: List all containers.
default: false
mobarena.setup.leaderboards:
description: Set up leaderboards.
default: false
mobarena.setup.checkdata:
description: Check which points need to be set up.
default: false
mobarena.setup.checkspawns:
description: Check which spawnpoints cover your location.
default: false
mobarena.setup.classchest:
description: Classchest command.
default: false
mobarena.setup.classes:
description: Allows setting up classes from in-game
default: false
mobarena.setup.config:
description: Save or reload the config-file
mobarena.setup.leaderboards:
description: Set up leaderboards.
default: false
mobarena.setup.autogenerate:
description: Auto-generate an arena.

View File

@ -12,8 +12,8 @@ import com.garbagemule.MobArena.framework.ArenaMaster;
name = "notready",
pattern = "notr.*|ready",
usage = "/ma notready (<arena>)",
desc = "lists all available arenas",
permission = "mobarena.use.arenalist"
desc = "see which players aren't ready",
permission = "mobarena.use.notready"
)
public class NotReadyCommand implements Command
{