-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.html
138 lines (133 loc) · 8.5 KB
/
admin.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head lang="en">
<title>UnrealWiki: Admin</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" media="screen, print"
href="shared/stylebase.structural.css">
<link rel="stylesheet" type="text/css" media="screen"
href="shared/template-default.css">
<link rel="stylesheet" type="text/css" media="screen"
href="shared/styles.chblue.css">
<link rel="stylesheet" type="text/css" media="print"
href="shared/template-default-print.css">
<!--[if IE 6]>
<style>
/* dirty hack for IE6. */
#quickbar {
position: absolute;
}
</style>
<![endif]-->
<link rel="start" href="http://wiki.beyondunreal.com/">
<link rel="glossary" href="http://wiki.beyondunreal.com/wiki/Terminology">
<link rel="help" href="http://wiki.beyondunreal.com/wiki/Using_The_Wiki">
<script type="text/javascript" src="shared/dhtml.js"></script>
<script type="text/javascript" src="shared/dhtml-menu.js"></script>
<style type="text/css">#dhtml-menu { background: #eee; padding: 5px 0px; margin-right: -20px; border: 1px solid #888; border-left: 1px solid #ccc; border-top: 1px solid #ccc; border-right: 1px solid #888; border-bottom: 1px solid #888 }
#dhtml-menu td { color: #000; font-family: Arial,Helvetica,sans-serif; font-size: 9pt; line-height: 13pt; padding: 1px 10px; cursor: default }
#dhtml-menu a { color: #000; font-family: Arial,Helvetica,sans-serif; font-size: 9pt; line-height: 13pt; text-decoration: none }
#dhtml-menu tt { font-family: monospace; font-size: 9pt }
#dhtml-menu-separator { height: 1px; background: red }
#dhtml-menu-anchor { cursor: default }
</style>
<script type="text/javascript" src="shared/expandable.js"></script>
</head>
<body onLoad="menuInit(); document.cookie='page=Admin; path=/'" class="default">
<div id="scrolling"><!-- contains all except the fixed sidebar -->
<div id="topbar" class="bar">
<div class="righthalf">
<form class="inline" method="post" action="/wiki" enctype="application/x-www-form-urlencoded"><input type="text" name="search" size="20" /> <input type="submit" name="search" value="search" /></form>
</div>
<div class="lefthalf">
<script type="text/javascript"><!--
menuAlignRight = false;
//--></script>
<span><script type="text/javascript"><!--
menuWriteAnchor("Quick Navigation") //--></script></span> | <a href="(start).html">Home Page</a> | <a href="recent-changes.html">Recent Changes</a> | <a href="http://wiki.beyondunreal.com/wiki?action=editprefs">Preferences</a>
</div>
</div>
<div id="content"><!-- contains the title and article -->
<h1 class='pagetitle'><a href="http://wiki.beyondunreal.com/wiki?back=Admin">Admin</a></h1>
<div class="wiki"><div class="classpath"><img src="shared//gameicons/icon-ut2003.png"> <a href="unreal-tournament-2003.html">UT2003</a> :: <a href="object.html">Object</a> >> <a href="adminbase.html">AdminBase</a> >> Admin (Package: Engine)<br><a href="postal-2.html">Postal 2</a> :: <a href="object.html">Object</a> >> <a href="adminbase.html">AdminBase</a> >> Admin (Package: Engine)<br></div>
<p>An <a href="object.html">Object</a> within the <a href="playercontroller.html">PlayerController</a> class that allows players to login as server administrators and perform various administrative functions.</p>
<p>In UT200x this class is only used if the AccessControlClass is set to Engine.<a href="accesscontrol.html">AccessControl</a>, i.e. the basic admin interface. The advanced admin interface XAdmin.AccessControlIni<a href="http://wiki.beyondunreal.com/wiki?action=edit&id=AccessControlIni&referrerid=Admin">?</a> uses the AdminIni<a href="http://wiki.beyondunreal.com/wiki?action=edit&id=AdminIni&referrerid=Admin">?</a> class for handling logged-in admins.</p>
<p>In <a href="postal-2.html">Postal 2</a> this is the only Admin class besides <a href="adminbase.html">AdminBase</a> and it is the default for all <a href="postal-2.html">Postal 2</a> gametypes.</p>
<h2><a name="0.1"></a>Functions [all exec]</h2>
<p><em class="em2">Note:</em> In order for exec functions within this class to be executed, they must be preceded with the word "admin". This is coded within <a href="playercontroller.html">PlayerController</a>.</p>
<dl><dt>DoLogin(string Password)</dt><dd>Attempts to log the player in as an administrator. This is done by calling the <a href="accesscontrol.html">AccessControl</a>'s AdminLogin function and comparing the given password with the AccessControl's admin password. If successful, the bAdmin value is set to true.</dd><dt>DoLogout()</dt><dd>Logs the player out of administrator.</dd><dt>KickBan(string S)</dt><dd>Instructs the <a href="gameinfo.html">GameInfo</a> to kick and ban the player specified by S.</dd><dt>Kick(string S)</dt><dd>Instructs the <a href="gameinfo.html">GameInfo</a> to kick the player specified by S.</dd><dt>PlayerList()</dt><dd>Logs a list of all players in the game along with their pings.</dd><dt>RestartMap()</dt><dd>Supposedly restarts the map. However, due to a bug in the function, it simply causes the player giving the command to reconnect to the server.</dd><dt>Switch(string URL)</dt><dd>Tells the server to switch to the specified URL. URL can be a mapname or a full-blown URL with gametype, mutators, etc.</dd><dt>NextMap()</dt><dd>Tells the server to switch to the next map.</dd></dl>
<h2><a name="0.2"></a>Related Topics</h2>
<ul><li><a href="accesscontrol.html">AccessControl</a></li>
<li><a href="console-commands-admin-cons.html">Console Commands/Admin Console Commands</a></li>
</ul>
<hr class="thin"><p><a href="category-class-ut2003.html">Category Class (UT2003)</a><br><a href="category-class-ut2004.html">Category Class (UT2004)</a><br><a href="category-class-p2.html">Category Class (P2)</a></p>
<script type="text/javascript"><!--
menuItemAdd("Functions [all exec]", "#0.1");
menuItemAdd("Related Topics", "#0.2");
menuWrite() //--></script></div>
</div>
<div id="footer" class="bar">
<p><form method="post" action="http://wiki.beyondunreal.com/wiki" enctype="application/x-www-form-urlencoded">
<a href="(start).html">Home Page</a> | <a href="recent-changes.html">Recent Changes</a> | <a href="http://wiki.beyondunreal.com/wiki?action=editprefs">Preferences</a><br>
<a href="http://wiki.beyondunreal.com/wiki?action=edit&id=Admin">Edit text of this page</a> | <a href="http://wiki.beyondunreal.com/wiki?action=history&id=Admin">View other revisions</a><br>Last edited October 15, 2004 16:19 <a href="http://wiki.beyondunreal.com/wiki?action=browse&diff=1&id=Admin">(diff)</a><br>Search: <input type="text" name="search" size="20" /><input type="hidden" name="dosearch" value="1" /><br><br><small><a href="http://wiki.beyondunreal.com/wiki/Admin">Original page</a> – copy created Sat, Jun 23, 2007</small><div></div>
</form>
</p>
<p>Mostly Harmless
</p>
</div>
</div><!-- close of "scrolling" div -->
<div id="quickbar">
<div id="logo"><a href="http://wiki.beyondunreal.com/"><img src="shared/wikilogo.jpg" width="143" height="100" border="0"></a>
</div>
<div class="qbsitename">
<p>The Unreal Engine Documentation Site</p>
</div>
<div class="qbsection">
<p><a href="metatopics.html">Wiki Community</a></p>
<p><a href="category-category.html">Topic Categories</a></p>
<p><a href="/cgi-bin/imageupload.cgi/wiki-ext/imageupload.htt" target="_blank ">Image Uploads</a></p>
<p><a href="http://wiki.beyondunreal.com/wiki?action=random">Random Page</a></p>
<p><a href="recent-changes.html">Recent Changes</a></p>
<p><a href="offline-wiki.html">Offline Wiki</a></p>
</div><div class="qbsection">
<p><a href="unreal-engine.html">Unreal Engine</a></p>
<p><a href="console-commands.html">Console Commands</a></p>
<p><a href="terminology.html">Terminology</a></p>
<p><a href="category-faq.html">FAQs</a></p>
<p><a href="help-desk.html">Help Desk</a></p>
</div><div class="qbsection">
<p><a href="topics-on-mapping.html">Mapping Topics</a></p>
<p><a href="mapping-lessons.html">Mapping Lessons</a></p>
<p><a href="unrealed-3.html">UnrealEd Interface</a></p>
</div><div class="qbsection">
<p><a href="unrealscript.html">UnrealScript Topics</a></p>
<p><a href="unrealscript-lessons.html">UnrealScript Lessons</a></p>
<p><a href="making-mods.html">Making Mods</a></p>
<p><a href="class-tree.html">Class Tree</a></p>
</div><div class="qbsection">
<p><a href="topics-on-modeling.html">Modeling Topics</a></p>
</div><div class="qbsection">
<p><a href="chongqing-page.html">Chongqing Page</a></p>
<p><a href="log-in.html">Log In</a></p></div>
</div>
</body></html>