admins.txt Feb2008a

Picadilly

New Adventurer
The True Followers of the Lost
Joined
Jan 10, 2007
Messages
176
Reaction score
0
Location
Taipei
Thanks for the great patch Thothie!

Admin System
Add steam ID's to msc/admins.txt to setup your admins
Loopback IP always has admin access

This isn't working right, I'm sure it's a syntax error. In my admins.txt I have Steam ID's in the following format:

//Picadilly
STEAM_0:1:4268653

Does the Steam ID need to be in quotes like the old AMX format? Can I comment out the player names for reference, as shown here?
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
Hmm... Shouldn't need quotes, but it isn't setup to handle comments at the moment, may just want to stick to SteamID's alone (even though, really, that shouldn't screw with it, hrmmm).

Server may need to restart for it to take effect.

Also the commands are client side still, sadly. They only work from within the game.
 

Picadilly

New Adventurer
The True Followers of the Lost
Joined
Jan 10, 2007
Messages
176
Reaction score
0
Location
Taipei
Took out the commented users. Still doesn't work...
 

The Man In Black

Administrator
Staff member
Administrator
Moderator
RiP
Joined
Jul 9, 2006
Messages
6,904
Reaction score
71
Either the server needs to reset or something needs to tell the file to close/start reading again. Thothie, you may consider an "admin_refresh_file" command, or something along those lines. I haven't looked into your admin system, but assuming you just set a variable on a player at when they join, the new admin would need to reconnect before it takes effect.
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
At the moment it just reads in the file when the first player connects, and keeps it from there.

However, if restarting the server is not working, we have another issue.
 
Top