Solved Creating custom permissions

Discussion in 'Plugin Development' started by ThatBenderGuy, Jan 16, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    ThatBenderGuy

    I've looked at the sticky thread but it didn't seem to provide too much help but how would I go about making a custom permission then checking if the player has that permission?

    Lets say for instance I want my plugin to have this permission
    "myPlugin.myCommand"
    "myPlugin.myCommand2"
    etc...

    I have [Vault] in my Depen section in my plugin.yml
     
  2. Offline

    devilquak

    http://wiki.bukkit.org/Plugin_Tutorial

    So simple it's almost insane. Just use if(player.hasPermission("perm.ission"). No need for Vault or anything of the like.
     
Thread Status:
Not open for further replies.

Share This Page