The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:AccessControl (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:AdminPlayer (UT2003))
Jump to: navigation, search
UT2003 Object >> Actor >> Info >> AccessControl
Package: 
Engine
Direct subclass:
AccessControlIni
This class in other games:
U2XMP, UE2Runtime, U2, 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<AdminBase>


Default value: Class'Engine.Admin'

AdminName[edit]

Type: string

Modifiers: private


AdminPassword[edit]

Type: string

Modifiers: private

Password to receive bAdmin privileges.

AllPrivs[edit]

Type: string


BannedIDs[edit]

Type: array<string>

Modifiers: globalconfig

Holds information about how got banned

bBanByID[edit]

Type: bool

Modifiers: globalconfig

Set to true to ban by CDKey hash

bDontAddDefaultAdmin[edit]

Type: bool


bReplyToGUI[edit]

Type: bool


GamePassword[edit]

Type: string

Modifiers: private, globalconfig

Password to enter game.

Groups[edit]

Type: xAdminGroupList


IPBanned[edit]

Type: string

Modifiers: localized


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

IPPolicies[edit]

Type: array<string>

Modifiers: globalconfig


Default value: "ACCEPT,*"

KickedMsg[edit]

Type: string

Modifiers: localized


Default value: "You have been forcably removed from the game."

KickToMenu[edit]

Type: string

Modifiers: config

The name of the menu to kick this player too

LoggedAdmins[edit]

Type: array<AdminPlayer>

Modifiers: protected


NeedPassword[edit]

Type: string

Modifiers: localized


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

PrivClasses[edit]

Type: array<class<xPrivilegeBase> >

Modifiers: config


PrivManagers[edit]

Type: array<xPrivilegeBase>


SessionBanned[edit]

Type: string

Modifiers: localized


Default value: "Your IP address has been banned from the current game session."

SessionBannedIDs[edit]

Type: array<string>

Modifiers: transient


SessionIPPolicies[edit]

Type: array<string>

Modifiers: transient

sjs

Users[edit]

Type: xAdminUserList


WrongPassword[edit]

Type: string

Modifiers: localized


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

Structs[edit]

AdminPlayer[edit]

xAdminUser User 
PlayerReplicationInfo PRI 

Functions[edit]

Static functions[edit]

FillPlayInfo[edit]

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: Info.FillPlayInfo


Events[edit]

PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


PreLogin[edit]

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


Other instance functions[edit]

AdminEntered[edit]

function AdminEntered (PlayerController P, string Username)


AdminExited[edit]

function AdminExited (PlayerController P)


AdminLogin[edit]

function bool AdminLogin (PlayerController P, string Username, string Password)


AdminLogout[edit]

function bool AdminLogout (PlayerController P)


AllowPriv[edit]

function bool AllowPriv (string priv)


BanPlayer[edit]

function bool BanPlayer (PlayerController C, optional bool bSession)


CanPerform[edit]

function bool CanPerform (PlayerController P, string Action)


CheckID[edit]

function bool CheckID (string CDHash)


CheckIPPolicy[edit]

function bool CheckIPPolicy (string Address, optional bool bSilent)


CheckOptionsAdmin[edit]

function bool CheckOptionsAdmin (string Options)


GetAdmin[edit]

function xAdminUser GetAdmin (PlayerController PC)


GetAdminName[edit]

function string GetAdminName (PlayerController PC)


GetLoggedAdmin[edit]

function xAdminUser GetLoggedAdmin (PlayerController P)


GetUser[edit]

function xAdminUser GetUser (string uname)


InitPrivs[edit]

function InitPrivs ()


IsAdmin[edit]

function bool IsAdmin (PlayerController P)


Kick[edit]

function Kick (string S)


KickBan[edit]

function KickBan (string S)


KickBanPlayer[edit]

function bool KickBanPlayer (PlayerController P)


KickPlayer[edit]

function bool KickPlayer (PlayerController C)


RequiresPassword[edit]

function bool RequiresPassword ()


SaveAdmins[edit]

function SaveAdmins ()


SessionKickBan[edit]

function SessionKickBan (string S)


SetAdminFromURL[edit]

function SetAdminFromURL (string N, string P)


SetAdminPassword[edit]

function bool SetAdminPassword (string P)


SetGamePassword[edit]

function SetGamePassword (string P)


ValidLogin[edit]

function bool ValidLogin (string UserName, string Password)