There is no spoon

UE2:AccessControl (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> Actor >> Info >> AccessControl
Package: 
Engine
This class in other games:
U2XMP, U2, UT2003, UT2004, UDK, UT3

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.

Properties

AdminClass

Type: class<Admin>


Default value: Class'Engine.Admin'

AdminPassword

Type: string

Modifiers: private, globalconfig

Password to receive bAdmin privileges.

bDontAddDefaultAdmin

Type: bool


GamePassword

Type: string

Modifiers: private, globalconfig

Password to enter game.

IPBanned

Type: string

Modifiers: localized


Default value: "Your IP address has been banned on this server."

IPPolicies

Type: string

Array size: 50

Modifiers: globalconfig


Default value: "ACCEPT,*"

NeedPassword

Type: string

Modifiers: localized


Default value: "You need to enter a password to join this game."

WrongPassword

Type: string

Modifiers: localized


Default value: "The password you entered is incorrect."

Functions

Events

PreLogin

event PreLogin (string Options, string Address, out string Error, out string FailCode, bool bSpectator)


Other instance functions

AdminLogin

function bool AdminLogin (PlayerController P, string Password)


CheckIPPolicy

function bool CheckIPPolicy (string Address)


Kick

function Kick (string S)


KickBan

function KickBan (string S)


RequiresPassword

function bool RequiresPassword ()


SetAdminPassword

function SetAdminPassword (string P)


SetGamePassword

function SetGamePassword (string P)