Skip to content

Instantly share code, notes, and snippets.

@tesla-srt
Created June 23, 2021 00:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tesla-srt/6c552902c5a86f83683d0a2fc92fee15 to your computer and use it in GitHub Desktop.
Save tesla-srt/6c552902c5a86f83683d0a2fc92fee15 to your computer and use it in GitHub Desktop.
huh
<html><head><style>
/* RESET */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;vertical-align:baseline;background:transparent;margin:0;padding:0;}
/* BASIC */
*:focus{outline:none;}
.clear{clear:both;}
body{font-family:Tahoma;font-size:11px;color:#2C2C29;}
p{font-size:1.2em;padding:2px;margin:1px 0 15px;}
a{color:#807D7A;}
h1{background-color:#FFF;border-bottom:1px solid #DCDCDB;letter-spacing:-1px;font-size:24px;padding-bottom:3px;font-weight:400;margin:10px 0 3px 0;font-family:Vera, Helvetica, Georgia;}
h2{background-color:#FFF;border-bottom:1px solid #DCDCDB;letter-spacing:-1px;font-size:20px;padding-bottom:3px;font-weight:400;margin:10px 0 3px 0;font-family:Vera, Helvetica, Georgia;color:#3366ff;}
h2 a{font-weight:700;border:0;text-decoration:none;color:#3366ff;display:block;}
h3{font-size:1.3em;color:#3366ff;}
h4{font-size:1.1em}
h5{font-size:0.9em}
h6{font-size:0.7em}
hr{color:#DCDCDB;background-color:#DCDCDB;height:1px;border:0px;}
pre{width:100%; white-space:pre-wrap;}
ul li{list-style:circle;margin-bottom:4px;}
blockquote{margin:20px 10px 10px 5px;border-left:4px solid #DDD;padding:0 5px 0 5px;font-size:11px;text-align:justify;}
table{margin:.5em 0 1em;font-size:11px;}
table td,table th{text-align:left;border-right:1px solid #fff;padding:.4em .8em;}
table th{background-color:#5e5e5e;color:#fff;text-transform:uppercase;font-weight:bold;border-bottom:1px solid #e8e1c8;}
table td{background-color:#eee;}
table th a{color:#d6f325;}
table th a:hover{color:#fff;}
table tr.even td{background-color:#ddd;}
table tr:hover td{background-color:#fff;}
table.nostyle td,table.nostyle th,table.nostyle tr.even td,table.nostyle tr:hover td{border:0;background:none;background-color:transparent;}
</style></head><body><h1>In-Game Admin - 3.3.1.0</h1>Author: <a href="http://www.phogue.net" target="_blank">Phogue</a><br><br>
<h2>Description</h2>
<p>Exposes some basic text based commands to players with accounts and necessary privileges</p>
<h2>Command Response Scopes (default)</h2>
<blockquote><h4>!</h4>Responses will be displayed to everyone in the server. Everyone will see "Phogue has been kicked for team killing".</blockquote>
<blockquote><h4>@</h4>Responses will only be displayed to the account holder that issued the command. The command issuer will see "Phogue has been kicked for team killing" but no one else will.</blockquote>
<blockquote><h4>#</h4>Responses will be displayed to all players that hold an account ("display to admins only"). Only account holders will see "Phogue has been kicked for team killing".</blockquote>
<p>All error messages are privately sent to the command issuer</p>
<h2>Settings</h2>
<h3>Banning</h3>
<blockquote><h4>Ban Type</h4>
<ul>
<li><b>Frostbite - Name (default)</b>: Bans on the players name alone. This is the weakest type of ban.</li>
<li><b>Frostbite - EA GUID</b>: Bans on the players EA GUID which is tied to their login account.</li>
<li><b>Punkbuster - GUID</b>: Bans a player on their punkbuster GUID.</li>
</ul>
</blockquote>
<blockquote><h4>Include Admin name</h4>
<ul>
If enabled the plugin will include the admin name responsible for the ban in the reason.
</ul>
</blockquote>
<h2>History</h2>
<h3>3.3.0.7</h3>
<ul>
<li>Minor startup performance optimization</li>
</ul>
<h3>3.3.0.4</h3>
<ul>
<li>added endround command</li>
</ul>
<h3>3.3.0.0</h3>
<ul>
<li>Updated to support BF3</li>
</ul>
<h2>Commands (default)</h2>
<h3>Kicking / Banning</h3>
<blockquote><h4>@kick [playername] [optional: reason]</h4>
<ul>
<li>Kicks a player from your server</li>
<li>The reason will appear in the response and is used to display to the player on the games menu</li>
<li>Requirements: Minimum of kick privileges</li>
</ul>
</blockquote>
<blockquote><h4>@tban [playername] [time in minutes] [optional: reason]</h4>
<ul>
<li>Temporarily bans a player from your server for a set time in minutes</li>
<li>The reason will appear in the response and is used to display to the player on the games menu</li>
<li>By default procon will not allow users with only temporary ban privileges to ban for longer than an hour</li>
<li>Requirements: Minimum of temporary ban privileges</li>
</ul>
</blockquote>
<blockquote><h4>@ban [playername] [optional: reason]</h4>
<ul>
<li>Permanently bans a player from your server</li>
<li>The reason will appear in the response and is used to display to the player on the games menu</li>
<li>Requirements: Permanent ban privileges</li>
</ul>
</blockquote>
<h3>Killing</h3>
<blockquote><h4>@kill [playername] [optional: reason]</h4>
<ul>
<li>Kills a player</li>
<li>The reason will appear in the response and message sent to the player</li>
<li>Requirements: Minimum of kill privileges</li>
</ul>
</blockquote>
<blockquote><h4>@nuke [optional: team]</h4>
<ul>
<li>Kills every player in the server, or if a team is specified will kill every player on that team</li>
<li>Has a 10 seconds countdown that can be canceled with the @cancel command</li>
<li>Requirements: Minimum of kill privileges</li>
</ul>
</blockquote>
<h3>Communication</h3>
<blockquote><h4>@say [text]</h4>
<ul>
<li>Says [text] for everyone to see from the Server</li>
<li>Requirements: Must hold an account with procon</li>
</ul>
</blockquote>
<blockquote><h4>@psay [playername] [text]</h4>
<ul>
<li>Says [text] to a specific player from the Server</li>
<li>Requirements: Must hold an account with procon</li>
</ul>
</blockquote>
<blockquote><h4>@yell [text]</h4><small>BFBC2 & BF3 only</small>
<ul>
<li>Yells [text] for everyone to see in the middle of their screen</li>
<li>Requirements: Must hold an account with procon</li>
</ul>
</blockquote>
<blockquote><h4>@pyell [playername] [text]</h4><small>BFBC2 & BF3 only</small>
<ul>
<li>Yells [text] to a specific player in the middle of their screen</li>
<li>Requirements: Must hold an account with procon</li>
</ul>
</blockquote>
<h3>Map controls</h3>
<blockquote><h4>@restart [optional: timer]</h4>
<ul>
<li>Restarts the current map</li>
<li>If specified will display a countdown timer than can be canceled with the @cancel command</li>
<li>Requirements: Must have "Use Map Functions" privileges</li>
</ul>
</blockquote>
<blockquote><h4>@nextlevel [optional: timer]</h4>
<ul>
<li>Forwards to the next level</li>
<li>If specified will display a countdown timer than can be canceled with the @cancel command</li>
<li>Requirements: Must have "Use Map Functions" privileges</li>
</ul>
</blockquote>
<blockquote><h4>@endround [teamID] [optional: timer]</h4>
<ul>
<li>Ends the round and declares the team given by its number as winner</li>
<li>If specified will display a countdown timer than can be canceled with the @cancel command</li>
<li>Requirements: Must have "Use Map Functions" privileges</li>
</ul>
</blockquote>
<h3>Player control</h3>
<blockquote><h4>@move [playername]</h4>
<ul>
<li>Moves a player to another team. Swaps them in Rush, Conquest, Squad Rush and will cycle through the 4 teams in Squad Deathmatch</li>
<li>Queues the player and will move them when the next die</li>
<li>Requirements: Must be able to move players between teams and squads privileges</li>
</ul>
</blockquote>
<blockquote><h4>@move [playername] [squad]</h4><small>BFBC2 & BF3 only</small>
<ul>
<li>Moves a player into a squad on their same team</li>
<li>Queues the player and will move them when the next die</li>
<li>Requirements: Must be able to move players between teams and squads privileges</li>
</ul>
</blockquote>
<blockquote><h4>@move [playername] [team]</h4>
<ul>
<li>Moves a player onto another team in no squad</li>
<li>Queues the player and will move them when the next die</li>
<li>Requirements: Must be able to move players between teams and squads privileges</li>
</ul>
</blockquote>
<blockquote><h4>@move [playername] [team] [squad]</h4><small>BFBC2 & BF3 only</small>
<ul>
<li>Moves a player onto another team and into a specific squad</li>
<li>Queues the player and will move them when the next die</li>
<li>Requirements: Must be able to move players between teams and squads privileges</li>
</ul>
</blockquote>
<blockquote><h4>@fmove</h4>
<ul>
<li><b><span style="color: #ff0000;">f</span>move</b> functions exactly like all of the @move commands except forces the move immediately by killing the player</li>
<li>Requirements: Must be able to move players between teams and squads privileges</li>
</ul>
</blockquote>
<h3>Countdowns</h3>
<blockquote><h4>@cancel</h4>
<ul>
<li>Cancels all countdowns initiated by the account holder</li>
<li>You cannot cancel other account holders countdowns</li>
<li>Requirements: Must hold an account with procon</li>
</ul>
</blockquote>
<h3>Custom Configs (basic in game command addons)</h3>
<blockquote><h4>@exec</h4>
<ul>
<li>Displays a list of configs available in the /Configs/CInGameAdmin/*.cfg directory</li>
<li>This command replaces the "@exec -l" command of 1.6 and prior versions of the in game admin</li>
<li>Requirements: Must hold an account with procon (the configs validate privileges themselves)</li>
</ul>
</blockquote>
<blockquote><h4>@exec [configname]</h4>
<ul>
<li>Executes a config in the /Configs/CInGameAdmin/*.cfg directory</li>
<li>The config author is responsible for insuring the executing account holder has sufficient privileges</li>
<li>No pre-made configs are provided with procon, but you can visit <a href="http://phogue.net/forum/" target="_blank">the forums</a> to download configs to extend the in game admin</li>
<li>You can make/edit/copy/whatever any more configs, essentially allowing you to make your own basic in game commands =)</li>
<li>Requirements: Must hold an account with procon (the configs validate privileges themselves)</li>
</ul>
</blockquote>
<p>If procon needs confirmation of your intentions it will ask "Did you mean [command]?", you can then answer !yes which will execute your confirmed command.</p>
<h2>Argument Matching</h2>
<p>Procon will match your command against a dictionary of possible arguments, then order the possibilities by those containing subsets of what you said.</p>
<p>Possibilities: "Phogue", "1349", "Sunder", "Zangen", "Sinex"</p>
<ul>
<li>"Sangen" will match "Zangen" because only one letter is different and no possibilities have a subset of "Sangen"</li>
<li>"sin" will match "Sinex" because even though it is lexicographically closer to "1349", Sinex contains a subset of "sin"</li>
</ul>
<h2>Additional Information</h2>
<ul>
<li>This plugin is compatible with Basic In-Game Info's @help command</li>
<li>In game admin will use Vanilla bfbc2 data if available, then use punkbuster data if available.</li>
<li>The in game admin uses a combination of a spell checker with an auto-completer. As of 1.5 the spell checker will favour names/maps/etc that have a subset of what you typed exactly. Play around with it and let me know your horror stories with this feature on the forums =)</li>
<li>No one will see you issuing the commands (even you) if you prefix it with a '/'
<blockquote>
/@kick Phogue<br>
(this text won't be displayed in the game)
</blockquote>
</li>
</ul>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment