Jump to content

Permission

Closed 1.1.15

Hello
How to give permission?
For example if I do this, it is deleted when I restart the plugin and it resets to null:

            "FishersLuck": {
                  "modifier": 0.05,
                  "Permissions [permission / title]": "luck4"
             },

Share this comment


Link to comment

Its asking for a Dictionary input, which requires curly brackets, a key and a value:

            "FishersLuck": {
              "modifier": 0.05,
              "Permissions [permission / title]": {
                  "mypermission.use":  "Title here"
                }
              },

I also dont think luck4 is a valid permission. This part of the config allows you to allocate permissions from other plugins to the wearer when they hit the set bonus.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.9k

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.