PermissionsEx

PermissionsEx

14M Downloads

Permissions sometimes not in sync with database

idkw opened this issue ยท 1 comments

commented

I have an issue that happens sometimes using the following scenario with a sql backend :

  1. Login on server 1
  2. Add yourself a permission node with "pex user myself add my.example.node"
  3. Login on server 2
  4. Check your new permission "pex user myself check my.example.node"

Sometimes step 4 results in :
Permission "null" has not been set for player (...)
And sometimes step 4 results in :
Player (...) has "my.example.node"

So my issue is that the server 2 doesn't always pickup and reload the permissions that were set on server 1.

Question 1
Is this a normal behavior ? Is there some kind of delay involved in the process of updating with the changes made from another server ?

Question 2
I saw in the config the following option :
alwaysUpdate: false
What does this option do if I set it to false and are there performance drawbacks ?

Thank you

commented

Solved using NetEvents