Jump to content

Permissions break

Closed 1.31.18

AJ-Ltinfinite.com
AJ-Ltinfinite.com

Posted

So in my server i had the need to change the name of the permissions of a plugin that a skill uses, well when i change that i would assume i would need to change the permissions granted by said skill in the config.

Problem with this is players that already have the skill the permission does not work even if I manually change the perm in their data file to the new perm name ( i reload plugin after any changes) .

Is there any way you could add a check when reloading plugin if a skill perm name has changed it would change all player data to match based on the skills they have because at the moment for the players that have those skills i have to manually give them perms with perms manager for them to work

Mevent

Posted

Hi! Unfortunately, the plugin can not keep track of changes in permissions and issue their changed versions to the players - will be a lot of conflicts with other plugins and server owners who are not aware of this functionality, plus will need somewhere to store the old and new versions of config, which is overhead for plugins.
So, it would be easier for you to reissue those permissions to players who lost access to skills after changing the permissions in the config.

AJ-Ltinfinite.com

Posted (edited)

Hmm I see just to make sure the way i worded the previous message was weird what i mean would be if you changed the permision in skills config to a new one could it auto update the perm in the skills player data to match with the skills config changed perm (and manually changing in the player data files to the new perm name doesnt give them the perm either)

Edited by AJ-Ltinfinite.com
Mevent

Posted

Yes, I understand you, and in my previous reply I explained that it would be an "overhead" for the plugin 😞

Mevent

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

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.