Jump to content

Some missing permissions

Pending 2.1.2

beee
beee

Posted

Hello,

On server restart, i noticed that plugins that registers permissions in OnServerInitialized will not be picked up if their plugin name came after PermissionsManager alphabetically due to load order. I register sometimes at OnServerInitialized as some perms depend on config so i just handle it here.

Maybe can wrap GetPlugs with a NextTick?

Example of a plugin that has that issue is PlayerHealth if you want to check.

Thank you.

  • Administrator
Steenamaroo

Posted

Hi,
Yes, no problem. I'll do that soon.
Thanks for the info. 👍

  • Love 1
Her_Toxic_Man

Posted

Hi, I’m having a similar issue. Some plugins disappear from the list and only reappear when I reload them; I suspect this has to do with the order in which the plugins are loaded.

  • Administrator
Steenamaroo

Posted

Hi,
Thank you. This is resolved and there'll be an update some time before wipe. 👍

Her_Toxic_Man

Posted

I’ve fixed it for myself. By simply changing PermissionsManager to ZPermissionsManager, the plugin is now guaranteed to load last—provided there isn't another plugin that also starts with the letter 'Z'

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3.2m
Total downloads
Customers
12.3k
Customers served
Files Sold
175k
Total sales
Payments
3.8m
Processed total
×
×
  • 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.