Ulysses

Ulysses Stuff => Suggestions => Topic started by: DevoiD on September 15, 2008, 07:56:53 PM

Title: reloading users.txt
Post by: DevoiD on September 15, 2008, 07:56:53 PM
I would like a command to reload users.txt.

Right now I've got a windows scheduled task that periodically uses wget to download a fresh version of users.txt from our in-house admin/ban system (Think SourceBans but a lot more primative) this allows the admins to stay in sync across all of our servers, but the admins only update when the server crashes or is restarted and the users.txt file is re-read.

I would love to be able to get ulx to re-read this file periodically or re-load the entire plugin if necessary to load this file.

I searched the forum and the faq and could not find anything like this. Currently I have the "if the server is empty for a while restart it" script running that I found in another thread, which is handy for this, but still I would like something that can keep it updated whilst players are in game.
Title: Re: reloading users.txt
Post by: jay209015 on September 15, 2008, 08:59:01 PM
wait, this shouldn't require a restart or crash, because user groups are updated when ever a player respawns or fully when a player rejoins. So my solution would be: have the script that syncs all the admins to be ran every so often. I could be way off though.
Title: Re: reloading users.txt
Post by: Megiddo on September 15, 2008, 09:18:59 PM
My solution would be to use an SQL DB. It's what we're doing... you can find the details in a thread somewhere on the forums.