The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:AccessControl (UT3)
Contents
- 1 Properties
- 1.1 ACDescText
- 1.2 ACDisplayText
- 1.3 AdminClass
- 1.4 AdminPassword
- 1.5 BannedCDHashKeyString
- 1.6 BannedHashes
- 1.7 BannedIDs
- 1.8 BannedPlayerInfo
- 1.9 bDontAddDefaultAdmin
- 1.10 DefaultKickReason
- 1.11 GamePassword
- 1.12 IdleKickReason
- 1.13 IPBanned
- 1.14 IPPolicies
- 1.15 KickedMsg
- 1.16 NeedPassword
- 1.17 SessionBanned
- 1.18 SessionBans
- 1.19 TimedOutCDHashKeyString
- 1.20 WrongPassword
- 1.21 Default values
- 1.22 Subobjects
- 2 Structs
- 3 Functions
- 3.1 Events
- 3.2 Other instance functions
- 3.2.1 AdminEntered
- 3.2.2 AdminExited
- 3.2.3 AdminLogin
- 3.2.4 AdminLogout
- 3.2.5 CheckIPPolicy
- 3.2.6 GetControllerFromString
- 3.2.7 IsAdmin
- 3.2.8 IsHashBanned
- 3.2.9 IsIDBanned
- 3.2.10 Kick
- 3.2.11 KickBan
- 3.2.12 KickPlayer
- 3.2.13 ParseAdminOptions
- 3.2.14 RequiresPassword
- 3.2.15 SessionBan
- 3.2.16 SessionBanPlayer
- 3.2.17 SetAdminPassword
- 3.2.18 SetGamePassword
- 3.2.19 ValidLogin
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
AccessControl.
AccessControl is a helper class for GameInfo. The AccessControl class determines whether or not the player is allowed to login in the PreLogin() function, and also controls whether or not a player can enter as a spectator or a game administrator.
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Properties[edit]
ACDescText[edit]
Type: string
Array size: 3
Modifiers: localized
Default value, index 0: "If this password is set, players will have to enter it to join this server."
Default value, index 1: "Specifies IP addresses or address ranges which have been banned."
Default value, index 2: "Password required to login with administrator privileges on this server."
ACDisplayText[edit]
Type: string
Array size: 3
Modifiers: localized
Default value, index 0: "Game Password"
Default value, index 1: "Access Policies"
Default value, index 2: "Admin Password"
AdminClass[edit]
Default value: Class'Engine.Admin'
AdminPassword[edit]
Type: string
Modifiers: private, globalconfig
Password to receive bAdmin privileges.
BannedCDHashKeyString[edit]
Type: string
Modifiers: localized
String to display when kicked for banned CD hash key
Default value: "Banned CD Key."
BannedHashes[edit]
Type: array<BannedHashInfo>
Modifiers: globalconfig
BannedIDs[edit]
Type: array<OnlineSubsystem.UniqueNetId>
Modifiers: globalconfig
BannedPlayerInfo[edit]
Type: array<BannedInfo>
Modifiers: globalconfig
bDontAddDefaultAdmin[edit]
Type: bool
DefaultKickReason[edit]
Type: string
Modifiers: localized
Default value: "None specified"
GamePassword[edit]
Type: string
Modifiers: private, globalconfig
Password to enter game.
IdleKickReason[edit]
Type: string
Modifiers: localized
Default value: "Kicked for idling."
IPBanned[edit]
Type: string
Modifiers: localized
Default value: "Your IP address has been banned on this server."
IPPolicies[edit]
Modifiers: globalconfig
Default value: "ACCEPT;*"
KickedMsg[edit]
Type: string
Modifiers: localized
Default value: "You have been forcibly removed from the game."
NeedPassword[edit]
Type: string
Modifiers: localized
Default value: "You need to enter a password to join this game."
SessionBanned[edit]
Type: string
Modifiers: localized
Default value: "Your IP address has been banned from the current game session."
SessionBans[edit]
Type: array<SessionBanInfo>
TimedOutCDHashKeyString[edit]
Type: string
Modifiers: localized
String to display when kicked for a timed out CD hash key request
Default value: "Key check failed with the server. Please update with the latest patch."
WrongPassword[edit]
Type: string
Modifiers: localized
Default value: "The password you entered is incorrect."
Default values[edit]
Property | Value |
---|---|
CollisionType | COLLIDE_CustomDefault |
Subobjects[edit]
Sprite[edit]
Class: Engine.SpriteComponent
Inherits from: Info.Sprite
No new values.
Structs[edit]
BannedHashInfo[edit]
BannedInfo[edit]
- OnlineSubsystem.UniqueNetId BannedID
- string PlayerName
- string TimeStamp
SessionBanInfo[edit]
- OnlineSubsystem.UniqueNetId BanID
- string BanHash
- string BanIP
Functions[edit]
Events[edit]
PreLogin[edit]
Other instance functions[edit]
AdminEntered[edit]
AdminExited[edit]
AdminLogin[edit]
AdminLogout[edit]
CheckIPPolicy[edit]
GetControllerFromString[edit]
Takes a string and tries to find the matching controller associated with it. First it searches as if the string is the player's name. If it doesn't find a match, it attempts to resolve itself using the target as the player id.
Returns:
- the controller assoicated with the key. NONE is a valid return and means not found.
Params: Target The search key
IsAdmin[edit]
Returns:
- TRUE if the specified player has admin priveleges.
IsHashBanned[edit]
IsIDBanned[edit]
Kick[edit]
KickBan[edit]
KickPlayer[edit]
ParseAdminOptions[edit]
Parses the specified string for admin auto-login options
Parameters:
- Options - a string containing key/pair options from the URL (?key=value,?key=value)
Returns:
- TRUE if the options contained name and password which were valid for admin login.
RequiresPassword[edit]
SessionBan[edit]
SessionBanPlayer[edit]
SetAdminPassword[edit]
SetGamePassword[edit]
ValidLogin[edit]
Returns:
- TRUE if the specified username + password match the admin username/password