aarontwf / BattleNight-Core

The main CraftBukkit plugin.
http://dev.bukkit.org/bukkit-plugins/battlenight/
5 stars 5 forks source link

New permissions #87

Closed 100Kay closed 11 years ago

100Kay commented 11 years ago

Could there be any way you could add the permission for someone to be a certain class in a bn arena? Ex) battlenight.pick.%class% Something along those lines maybe? (Sorry thats probably wrong).

aarontwf commented 11 years ago

There already is! Simply add a negative permission "battlenight.class." to the user/group you don't want using that class.

Depending on what permissions plugin you are using it would look like one of the following:

permissions:
    - -battlenight.class.archer
permissions:
    - !battlenight.class.archer
permissions:
    battlenight.class.archer: false