There is no spoon

UE2:AccessControl (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Info >> AccessControl
Package: 
Engine
This class in other games:
U2, UE2Runtime, 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[edit]

AdminClass[edit]

Type: class<Admin>


Default value: Class'Engine.Admin'

AdminPassword[edit]

Type: string

Modifiers: private, globalconfig

Password to receive bAdmin privileges.

GamePassword[edit]

Type: string

Modifiers: private, globalconfig

Password to enter game.

IPBanned[edit]

Type: string

Modifiers: localized


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

IPPolicies[edit]

Type: string

Array size: 50

Modifiers: globalconfig


Default value: "ACCEPT,*"

NeedPassword[edit]

Type: string

Modifiers: localized


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

WrongPassword[edit]

Type: string

Modifiers: localized


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

Functions[edit]

Events[edit]

PreLogin[edit]

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


Other instance functions[edit]

AdminLogin[edit]

function bool AdminLogin (PlayerController P, string Password)


CheckIPPolicy[edit]

function bool CheckIPPolicy (string Address)


Kick[edit]

function Kick (string S)


KickBan[edit]

function KickBan (string S)


SetAdminPassword[edit]

function SetAdminPassword (string P)


SetGamePassword[edit]

function SetGamePassword (string P)