The title is a little cloudy.. so here is what I need to know.
If I add someone to my Data/ULib/users.txt file manually by using a template user that I have and filling in name and SID, I would like to be able to refresh the servers understanding of that file without having to restart.
I have carved my server and (using ULX) into a very community based server, and I have registrations and quite a few ranks for the members to achieve. A lot of times someone will E-Mail me if they are to move up in ranks, or will submit my form and they wont be on the server for me to add them/change their rank, so I'll just change it in the users.txt (before you say its not smart to do that, lol, I know what I'm doing
)
ANyways.. I suggested that there be a command to add a user that isnt on, such as ulx adduserid <name> <ID> <group> [<immune?>] and I really hope you guys pick that up, but until you do, I'll continue to just add them like that.
Now that you know what/why Im doing this, here is what I need to know...
Is there a way.. a lua file I can "lua_openscript" or something that will make it to where if I were to have added someone to the users.txt file and the server had NOT restarted since then, they will join the server with the new rank?
I know im not being clear.. lol.. so here is an example if you need it..
1. Zach is not in any groups.. he is a user.
2. I add Zach to my users.txt file as an admin
3. Zach then joins the server but is still only a user (unless the server was restarted inbetween steps 2 and 3)
*crosses fingers*