Difference between revisions of "BattleArena/Permissions"

From Battle Plugins
Jump to: navigation, search
(Created page with "Permission nodes == Leaving == perm: '''arena.leave''' == Joining == perm: '''arena.join.<game>''' examples: * '''arena.join.arena''' * '''arena.join.skirmish''' * '''ar...")
(No difference)

Revision as of 12:42, 28 September 2014

Permission nodes

Leaving

perm: arena.leave

Joining

perm: arena.join.<game>

examples:

  • arena.join.arena
  • arena.join.skirmish
  • arena.join.colosseum
  • arena.join.battleground
  • arena.join.tourney
  • arena.join.freeforall
  • arena.join.deathmatch

Class Signs

  • arena.class.use.<classname>
  • arena.class.use.* <- for all signs

Example

  • arena.class.use.gladiator

Dueling

  • arena.duel.<game>

Examples:

  • arena.duel.skirmish
  • arena.duel.spleef

Exempting players from being challenged to a duel

If you don't want to be challenged add the following permission to the player/group

  • arena.duel.exempt

Permissions for Other Plugins using BattleArena

It's the same as above only substitute the name of the new type Examples:

  • arena.join.paintball : for paintball
  • arena.join.spleef : for spleef
  • arena.join.capturetheflag : for ArenaCTF (Capture the Flag)

Team Permissions

If you want players to be able to create their own teams, for example to always play with a certain friend. The players will need the following permissions.

  • arena.team.create
  • arena.team.join

Admins

Permission to create,delete, etc. You can either be op or have the following

perm: arena.admin

Adding Permissions

(Default) If you don't have a permissions plugin

You can use this as a starting point for your server. Copy this

https://gist.github.com/alkarinv/5250523

and put it into your servers permission.yml. Then change as you want later.

PermissionsEx

You need to add the permissions to whatever your default group is.

  • pex group <group> add <permission>

Examples (if my default group was called players)

  • pex group players add arena.skirmish.join
  • pex group players add arena.ctf.join

Group Manager

Use this command to add permissions to the default group

  • mangaddp <group> <permission>

Examples (if my default group was called players)

  • mangaddp players arena.battleground.join
  • mangaddp players arena.colosseum.join
  • mangaddp players arena.ctf.join