Jump to content

Custom Skills (perms) not cleared on stresetskills command

Closed 1.2.0

Zoreeno

When using the console command stresetskills to refund skill points, the custom perm based skills that i've set up do not clear. They remain listed as active in the Skill Tree UI and the player is still granted the permission that the Skill granted. 

However, if the player repecs his skills himself through the UI button, the custom skills are properly cleared and the permission is revoked. 

 

Share this comment


Link to comment

Hi sorry to sneak in here. What is the syntax to set a permission to a skill int he config (what replaces the "null" thats there?).  I've tried a few ways but with no success making it work. I'm specifically trying to grant access to a kit from another plugin that has a permission name like "kits.gun" - i cannot seem able to get this to work and none of the other default skills have an example for me to follow. 

Thanks so very much in advance for any help possible. 

Share this comment


Link to comment

Use the command to generate an example perm: /addtestpermsnode

This will add a node called "Test perms node" to the Cooking tree (but if will be disabled by default). Gives you an example of the formatting.

  • Like 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.8k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.