I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
In UT200x this class is only used if the AccessControlClass is set to Engine.AccessControl, i.e. the basic admin interface. The advanced admin interface XAdmin.AccessControlIni uses the AdminIni class for handling logged-in admins.
Functions [all exec]
Note: In order for exec functions within this class to be executed, they must be preceded with the word "admin". This is coded within PlayerController.
- DoLogin(string Password)
- Attempts to log the player in as an administrator. This is done by calling the AccessControl's AdminLogin function and comparing the given password with the AccessControl's admin password. If successful, the bAdmin value is set to true.
- Logs the player out of administrator.
- KickBan(string S)
- Instructs the GameInfo to kick and ban the player specified by S.
- Kick(string S)
- Instructs the GameInfo to kick the player specified by S.
- Logs a list of all players in the game along with their pings.
- Supposedly restarts the map. However, due to a bug in the function, it simply causes the player giving the command to reconnect to the server.
- Switch(string URL)
- Tells the server to switch to the specified URL. URL can be a mapname or a full-blown URL with gametype, mutators, etc.
- Tells the server to switch to the next map.