Editing Auth files require server restart

All other Source.Python topics and issues.
User avatar
Kill
Member
Posts: 88
Joined: Wed Aug 31, 2016 10:05 pm

Editing Auth files require server restart

Postby Kill » Wed Sep 07, 2016 11:25 pm

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?
User avatar
satoon101
Project Leader
Posts: 2697
Joined: Sat Jul 07, 2012 1:59 am

Re: Editing Auth files require server restart

Postby satoon101 » Wed Sep 07, 2016 11:35 pm

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.
Image
User avatar
Kill
Member
Posts: 88
Joined: Wed Aug 31, 2016 10:05 pm

Re: Editing Auth files require server restart

Postby Kill » Thu Sep 08, 2016 11:53 am

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!

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 26 guests