I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:AccessControl (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> Actor >> Info >> AccessControl

Contents

Package: 
Engine
Direct subclass:
AccessControlIni
This class in other games:
U2, U2XMP, UDK, UE2Runtime, UT2003, 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.

[edit] Constants

[edit] PROPNUM

Value: 4


[edit] Properties

[edit] ACDescText

Type: string

Array size: 4 (PROPNUM)

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."

Default value, index 3: "Number of seconds user must wait after an unsuccessful login attempt before able to login again."

[edit] ACDisplayText

Type: string

Array size: 4 (PROPNUM)

Modifiers: localized


Default value, index 0: "Game Password"

Default value, index 1: "Access Policies"

Default value, index 2: "Admin Password"

Default value, index 3: "Login Delay"

[edit] AdminClass

Type: class<AdminBase>


Default value: Class'Engine.Admin'

[edit] AdminName

Type: string

Modifiers: private


[edit] AdminPassword

Type: string

Modifiers: private, globalconfig

Password to receive bAdmin privileges.

[edit] AllPrivs

Type: string


[edit] BannedIDs

Type: array<string>

Modifiers: globalconfig

Holds information about how got banned

[edit] bBanByID

Type: bool

Modifiers: globalconfig

Set to true to ban by CDKey hash

[edit] bDontAddDefaultAdmin

Type: bool


[edit] bReplyToGUI

Type: bool


[edit] DefaultKickReason

Type: string

Modifiers: localized


Default value: "None specified"

[edit] GamePassword

Type: string

Modifiers: private, globalconfig

Password to enter game.

[edit] Groups

Type: xAdminGroupList


[edit] IdleKickReason

Type: string

Modifiers: localized


Default value: "Kicked for idling."

[edit] IPBanned

Type: string

Modifiers: localized


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

[edit] IPPolicies

Type: array<string>

Modifiers: globalconfig


Default value: "ACCEPT;*"

[edit] KickedMsg

Type: string

Modifiers: localized


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

[edit] LoggedAdmins

Type: array<AdminPlayer>

Modifiers: protected


[edit] LoginDelaySeconds

Type: float

Modifiers: globalconfig

Delay between login attempts

[edit] NeedPassword

Type: string

Modifiers: localized


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

[edit] PrivClasses

Type: array<class<xPrivilegeBase> >

Modifiers: config


[edit] PrivManagers

Type: array<xPrivilegeBase>


[edit] SessionBanned

Type: string

Modifiers: localized


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

[edit] SessionBannedIDs

Type: array<string>

Modifiers: transient


[edit] SessionIPPolicies

Type: array<string>

Modifiers: transient

sjs

[edit] Users

Type: xAdminUserList


[edit] WrongPassword

Type: string

Modifiers: localized


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

[edit] Structs

[edit] AdminPlayer

xAdminUser User 
PlayerReplicationInfo PRI 

[edit] Functions

[edit] Static events

[edit] GetDescriptionText

static event string GetDescriptionText (string PropName)

Overrides: Info.GetDescriptionText


[edit] Other static functions

[edit] FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: Info.FillPlayInfo


[edit] Events

[edit] PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


[edit] PreLogin

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


[edit] Other instance functions

[edit] AdminEntered

function AdminEntered (PlayerController P, string Username)


[edit] AdminExited

function AdminExited (PlayerController P)


[edit] AdminLogin

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


[edit] AdminLogout

function bool AdminLogout (PlayerController P)


[edit] AllowPriv

function bool AllowPriv (string priv)


[edit] BanPlayer

function bool BanPlayer (PlayerController C, optional bool bSession)


[edit] CanPerform

function bool CanPerform (PlayerController P, string Action)


[edit] CheckID

function int CheckID (string CDHash)


[edit] CheckIPPolicy

function int CheckIPPolicy (string Address, optional bool bSilent)


[edit] CheckOptionsAdmin

function bool CheckOptionsAdmin (string Options)


[edit] GetAdmin

function xAdminUser GetAdmin (PlayerController PC)


[edit] GetAdminName

function string GetAdminName (PlayerController PC)


[edit] GetLoggedAdmin

function xAdminUser GetLoggedAdmin (PlayerController P)


[edit] GetUser

function xAdminUser GetUser (string uname)


[edit] InitPrivs

function InitPrivs ()


[edit] IsAdmin

function bool IsAdmin (PlayerController P)


[edit] Kick

function Kick (string S)


[edit] KickBan

function KickBan (string S)


[edit] KickBanPlayer

function bool KickBanPlayer (PlayerController P)


[edit] KickPlayer

function bool KickPlayer (PlayerController C)


[edit] RequiresPassword

function bool RequiresPassword ()


[edit] SaveAdmins

function SaveAdmins ()


[edit] SessionKickBan

function SessionKickBan (string S)


[edit] SetAdminFromURL

function SetAdminFromURL (string N, string P)


[edit] SetAdminPassword

function bool SetAdminPassword (string P)


[edit] SetGamePassword

function SetGamePassword (string P)


[edit] ValidLogin

function bool ValidLogin (string UserName, string Password)


Personal tools