Jump to content

Permission Based Trees Not Showing Up Properly

Closed 1.5.10

michaelofearth
michaelofearth

Posted

I'm not sure what I am doing wrong, but I have changed the config to start with Mining and Woodcutting opened. They both include a node to unlock a new tree by granting permissions to the next tree. Each tree has an additional node with a tree it can unlock.

It works perfectly at first, but then the next tree won't show as an option, despite having the permission listed in the buff and under user permissions.

One odd thing is if I grant the permission to the default group, it will show up, but not for an individual user. For instance, skilltree.Build_Craft is not showing up through node unlocking or by manually granting the permission. It will show up if I grant access by group.

The permissions unlocks seem to work for Skinning, Harvesting, Scavenging and Cooking, but none of the others. All trees will show up for a user if skilltree.all is granted.

michaelofearth

Posted (edited)

Here is my config file, if that helps.

Edited by michaelofearth
imthenewguy

Posted

The plugin was never designed with this intention. The perm based trees were designed for servers that wanted to restrict the tree based on external factors.

If you are wanting a progression system, you would be better off adding the skills to "Skill required to unlock node [Requires max level]".

Like this:

image.png.2ccd32e8e6bd7c7220945746c71a7c62.png

 

image.png.667a149e33847c63340828715bc5b9b9.png

 

 

        "Braided Line": {
          "Permission required to show this node": null,
          "Minimum prestige required to unlock this node": 0,
          "Skill required to unlock node [Requires max level]": "Harvesting Tree",
          "Skill that if unlocked, will prevent this node from unlocking": null,
          "enabled": true,
          "max_level": 5,
          "tier": 1,
          "value_per_buff": 0.07,
          "buff_info": {
            "Key": "Rod_Tension_Bonus",
            "Value": "Percentage"
          },
          "icon_url": "https://www.dropbox.com/s/p3rkfmoay0tglpz/Warriorskill_38_nobg.v1.png?dl=1",
          "skin": 3012306483,
          "permissions": null
        },

 

michaelofearth

Posted

Oh, that makes complete sense. I think I misunderstood the permission purposes.

This is a brilliant alternative and exactly what I was going for.

Also, this is such an amazing plugin. You are truly gifted. Thank you for what you do!

  • Love 1
imthenewguy

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

105k

Files Sold

Total number of files sold.

2.1m

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.