Page 1 of 1

Editing Auth files require server restart

Posted: Wed Sep 07, 2016 11:25 pm
by Kill
Hello!

I've been trying to use the auth module, so far so good, however, editing the files doesnt take effect, only a fully server restart does so.
Changing map / Reloading plugin doesn't. Am I doing something wrong?

Re: Editing Auth files require server restart

Posted: Wed Sep 07, 2016 11:35 pm
by satoon101
Unless I am mistaken, you should be able to use the following server command:

Code: Select all

sp auth backend set <backend>

That will unload the current backend, even if it is the same as what you are setting it to, and load the one you want.

Re: Editing Auth files require server restart

Posted: Thu Sep 08, 2016 11:53 am
by Kill
satoon101 wrote:Unless I am mistaken, you should be able to use the following server command:

Code: Select all

sp auth backend set <backend>

That will unload the current backend, even if it is the same as what you are setting it to, and load the one you want.



Code: Select all

sp auth backend set flatfile


[strike]Not working, "backend flatfile doesn't exist", even if it's listed using "sp auth backend list"[/strike]

EDIT: After restarting the server few times it's working now, thanks!