Vault Setup Throwing an error

Discussion in 'Plugin Development' started by Rmarmorstein, Nov 29, 2012.

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

    Rmarmorstein

    I am trying to setup vault, I followed there Guide and it is throwing me an error when i am trying to setup permissions.

    Code:java
    1.  
    2. private boolean setupPermissions() {
    3.  
    4. RegisteredServiceProvider<Permission> rsp = getServer().getServicesManager().getRegistration(Permission.class);
    5. perms = rsp.getProvider();
    6. return perms !=null;
    7.  
    8. }
    9.  


    At the perms = rsp.getProvider(); Line, and the return perms !=null; Line, it Does not like the perms part of it

    Also, I need to make a prefix change, so if anyone knows how to change the prefix using the permissions part of vault
     
  2. Offline

    CorrieKay

    judging from this code snippet, you havnt declared what perms is.
     
Thread Status:
Not open for further replies.

Share This Page