Jump to content

Custom Skills (perms) not cleared on stresetskills command

Closed 1.2.0

Zoreeno
Zoreeno

Posted

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. 

 

Veno

Posted

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. 

imthenewguy

Posted

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
imthenewguy

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

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.