Duplicate permissions?

When loading the plugin I am getting the followng in console:

(10:26:08) | Duplicate permission registered 'skinshop.admin' (by plugin 'Skin Shop')
(10:26:08) | Duplicate permission registered 'skinshop.use' (by plugin 'Skin Shop')​

Just thought I should let you know :)

Thais is caused by the plugin registering permissions manually and also registering them with the Permission attribute. Only one method should be used, not both.

If using the attribute, additional checks in the method are also unnecessary.

So just to be clear if I have this?

[Command("skinshop"), Permission(useSkinshopPermission)]​
Then I can remove this?
permission.RegisterPermission(useSkinshopPermission, this);​
kDRgX5SIfM0JMi9.png Rustoholics

So just to be clear if I have this?

[Command("skinshop"), Permission(useSkinshopPermission)]​
Then I can remove this?
permission.RegisterPermission(useSkinshopPermission, this);​
Yes, but you'd also want to remove any duplicate permission checks at the start of any commands as the attribute has a check of its own. I'd personally stick with the manual way though.
Go0ePa8S2poB3OZ.jpg Wulf
 I'd personally stick with the manual way though.
Why?  Attribute at the command seems simpler than registering manually and checking manually?
kDRgX5SIfM0JMi9.png Rustoholics
Why?  Attribute at the command seems simpler than registering manually and checking manually?
In my cases, I offer customization of the commands and the messages, which you can't do with the attribute.

This has been resolved in version 0.5.0