--------------------
Appendex A:
COMPLETE list of admin commands and flags:
* 1 - cannot be vote kicked, vote muted
* 2 - cannot be censored or flood protected TODO
* 3 - never loses credits for changing teams
* 4 - can see team chat as a spectator
* 5 - can switch teams any time, regardless of balance
* 6 - does not need to specify a reason for a kick/ban
* 7 - can call a vote at any time (regardless of a vote being disabled or voting limitations)
* 8 - does not need to specify a duration for a ban
* 9 - can run commands from team chat
* 0 - inactivity rules do not apply to them
* ! - admin commands cannot be used on them
* @ - does not show up as an admin in !listplayers
* $ - sees all information in !listplayers
* # - permanent designated builder
* ? - sees and can use adminchat
* B - !showbans display a (partial) list of active bans
* C - !time show the current local server time
* D - !listadmins display a list of all server admins and their levels
* G - !readconfig reloads the admin config file and refreshes permission flags
* H - !info read the servers information files
* K - !lock lock a team to prevent anyone from joining it
* K - !unlock unlock a locked team
* L - !devmap load a map with cheats (and optionally force layout)
* L - !layoutsave save a map layout
* L - !listlayouts display a list of all available layouts for a map
* M - !map load a map (and optionally force layout)
* N - !rename rename a player
* P - !spec999 move 999 pingers to the spectator team
* R - !register Registers your name to protect it from being used by others or updates your admin name to your current name.
* S - !pause Pause (or unpause) the game.
* U - !buildlog display a list of recent builds and deconstructs
* V - !passvote pass a vote currently taking place
* a - !admintest display your current admin level
* b - !ban ban a player by IP and GUID with an optional expiration time and reason.
* b - !adjustban change the length or reason of a ban. time is specified as numbers followed by units w (weeks) d (days) h (hours) or m (minutes) or seconds if no units are specified
* b - !unban unbans a player specified by the slot as seen in showbans
* c - !cancelvote cancel a vote taking place
* d - !allowbuild restore a players ability to build
* d - !denybuild take away a players ability to build
* e - !namelog display a list of names used by recently connected players
* g - !designate give the player designated builder privileges
* g - !undesignate revoke designated builder privileges
* h - !help display commands available to you or help on a specific command
* h - !specme moves you to the spectators
* i - !listplayers display a list of players their client numbers and their levels
* k - !kick kick a player with an optional reason
* l - !L1 Sets a level 0 to level 1
* m - !unmute unmute a muted player
* m - !mute mute a player
* n - !nextmap go to the next map in the cycle
* p - !putteam move a player to a specified team
* r - !restart restart the current map (optionally using named layout or keeping/switching teams)
* s - !setlevel sets the admin level of a player
* v - !revert revert one or more buildlog events
* y - !allready makes everyone ready in intermission
* w - !warn Warn a player to cease or face admin intervention
Default admin flags (only happen if you do not have an admin.dat)
L0: Unknown Player:
iahC
L1: Server Regular:
iahC
L2: Team Manager:
iahCpPwd
L3: Junior Admin:
iahCpPkmwd?$
L4: Senior Admin
iahCpPkmBbewd?$
L5: Server Operator
* (everything)
-------------------
Appendix B: New Cvars that were added by my patches:
g_lockTeamsAtStart: Used by !restart lock options. Don't mess with it yourself. I don't even think you can anyway
g_designateVotes: Default 0. 1 to enable /teamvote designate and /teamvote undesignate
g_clientUpgradeNotice: Default 1. 1 to enable, 0 to disable the notice
g_teamImbalanceWarnings: Default 30 (every 30 seconds)
g_adminSayFilter: Default 0 (off)
g_myStats: Enables /mystats. Default 1 (on)
g_publicSayadmins: Lets non-admins use say_admins to message active admins. Default 1 (on)
g_devmapKillerHP: Default 0 (off)
g_newbieNumbering: Default 0 (off)
g_newbieNamePrefix: Default "Newbie#"
g_suddenDeath: Used by SD votes. May break things if you modify via rcon manually
g_suddenDeathMode: Default 1 (off / default 1.1 behavior)
g_friendlyFireMovementAttacks: Default 1 for compatability, Recommended 0 (turns off pounce/trample damage)
g_retribution: Default 0 (off)
g_suddenDeathVotePercent: Default 75. (3/4ths must vote yes to pass) Set to 0 to disable SD votes entirely.
g_mapVotesPercent: Default 50.
g_allowShare: Default 0. Also controls /donate. Please leave this off, it ruins the game

g_minLevelToJoinTeam: Default 0
g_minLevelToSpecMM1: Default 0
g_dretchPunt: Default 1
g_devmapNoGod: Default 0
g_devmapNoStructDmg: 0
g_maxGameClients: Default 0 (no limit)
g_allowActions: Default 1
g_actionPrefix: Default "***"
g_antiSpawnBlock: Default 0 (disabled). Set to 150 to turn on.
g_deconDead: Default 0 (disallow deconning dead structures)
g_floodMinTime: Default 2000. Set to 0 to turn off flood protection
g_floodMaxDemerits: Default 5000. Fine tuning of flood protection. See docs for more info.
g_decolourLogfiles: Default 0 (off). Settings: 1 (on) 2(on, stats script compatability mode). See docs for more info.
g_voteMinTime: Players cannot call a vote until they have been connected to the server for at least this many seconds. 0 to disable.
g_mapvoteMaxTime: Players cannot call a map vote after this many seconds of play. 0 to disable.
-------------------
Appendix C: New Commands:
Commands:
* Lakitu7 /me_team
/share
/donate
/say_area
/say_admins /a (same thing)
/protect /resign (designated builder stuff)
/mystats
----
Full Version Log:
5.1:
Added Lakitu7-teamvote_majority_wins.patch
Added Lakitu7-log_stageups.patch
Added Lakitu7-log_callvotes.patch
Added Lakitu7+benmachine-g_decolourLogfiles.patch
Updated Avenger-Adjustban to r1026 version (fixes not respecting some admin flags)
Updated benmachine-info to version 11
Added logging of the start of sudden death (Lakitu7-tjw-avenger-martindoucha_sdmodes+sdvotes+poll+designate959_4.patch)
Added Lakitu7-vote2teamvote.patch
Added teamchange messages to games.log (Lakitu7+peoro-change_team_messages.patch)
Added Lakitu7+Amanieu-admin_messages.patch
Fixed some other console messages color bleeding not covered by Ben's patch
Added team prefixes for say_team messages in games.log
Added Lakitu7-vote_messages_in_console.patch
Added benmachine-cp1003M-1.patch
Added !buildlog, !revert (benmachine)
Added !pause (lakitu7 + benmachine)
Fix typo in !warn (thanks Raytray)
Added damage done to tk messages, add tks and building tks to games.log (Lakitu7+tjw-teamkill_messages_with_dmg_done4+logging.patch)
Added Lakitu7-console-ignores-@-in-listplayers.patch
Fixed denybuild-denies-granger-classes so that it actually works (my dumb mistake)
Fixed !register so that console doing it doesn't crash the server anymore (thanks Das-Iro)
Changed Poll votes so that the caller no longer automatically votes yes
Added Rociante-vote_times2.patch g_voteMinTime g_mapvoteMaxTime
Added follow teammates when dead + stickyspec
Changed share/donate to be flood limited (thanks soultcer)
Fixed flood limiting from breaking during !pause
Fixed alphabetizing error in admin commands (thanks Benmachine)
Changed say_area to be flood limited
Fixed say_area to work with admf_spec_allchat
Fixed say_area to not send redundant team prefixes
5.01: Fix !specme to remove build timer exploit (reported by Techhead)
Fix /mystats so that headshots aren't broken as hell anymore
(and added it back as a number in addition to the percentage)
Add Das-Iro's patch to prevent shoving the builder when he's trying to build
Fix say_admins to remove the bug with spaces in the chat field (Thanks Rocinante, Mexel)
Remove "must be on humans / must be alive to use this command" for BOOST
Add luci exploit fix
Prevent team imbalance warnings during intermission
Better admin flags list in the readme (thanks Tuple)
5.00: Upgrade to SVN 966. SVN upgrade changes tons of minor things. See SVN for full information.
Some highlights: denybuild and mutevotes in svn now, renamed some other votes,
fixed playercounts in several things, fix for atcs hovel bug
New version of the backport patch
Replaced logteamclass with Wraths' version to only log to the logfile (not to console)
Add Avenger-Adjustban
Add TJW-svn910 ban bug fix
Remove SVN 910 ban revert(above two changes replace it)
Add Avenger-Say_Area
Update Benmachine-Info to latest version
Add Benmachine-Notarget
Add Lakitu7-admfforceteamchange_overrides_locked_teams
Add Lakitu7-callvote-multiple-name-matches
Add Lakitu7-g_clientUpgradeNotice
Add Lakitu7-denybuild-denies-grangerclasses
Add Lakitu7-devmapKillerHP
Add Lakitu7-disable-difficult-names
Add Lakitu7-g_adminSayFilter
Change Lakitu7-g_deconDead to not give decon notice for buildings deconned from having it on
Change Lakitu7-minLevelToSpecMM1 to prevent other types of /say from getting through
Add Lakitu7-listadmins-minlevel-parameter
Add Lakitu7-mystats
Add Lakitu7-register
Add !restart keepteamslock and switchteamslock
Add Lakitu7-Say_Admins
Add Lakitu7-sees-full-listplayers
Update votes patch:
denybuild+mutevotes+allowspectatorvoting are in svn now
Add !Designate, Designate votes
Rename custom to poll for consistency with wolfET
Poll votes no longer need quotes around them
Handle spaces in target player names (instead of "reasons")
Say vote caller's name in the vote description text
"Fix" SD Mode 2 so that you can only rebuild one of each building (no more being lame with two armories)
List votes' percentage to pass when that is something other than 50
Change cvar defaults to lean less toward what I think should be done and more toward disabling things
until you turn them on
Change cvar properties to make a lot more of them SERVERINFO so that you can tell if a server has settings
that are terrible and game-runining before you ever join
Add R1CH-Team-imbalance-warnings
Add R1CH-Unnamed-Player-Join-Warning
Change a few admin flags due to conflicts. See admin flags appendix for full list
Add Trem-Servers-prefixes-for-flag4
Remove Avenger-Enhanced-Give (it's in SVN)
Remove black-names-fix, vote-message-in-console (covered by other patches)
Remove my old player names patch because it's in SVN
Remove lakitu7-name-duplication-color-fix.patch (covered by SVN)
Remove lakitu7-PMDisabledFix.patch (covered by SVN)
4.18: Fixed SD Mode 1. It's been broken all this time and nobody noticed, I guess. Thanks Kevlarman.
4.17: Changed to Phil Bordelon's (better) flood protect system instead of mine. Covers PM spam.
4.16: Reverted g_admin_ban code to SVN909 version (see svn910revert+lakitu7-admin_true_name_in_banlog.patch notes)
!L1 fix: Now doesn't give undesired behavior when people have numbers and spaces in their names
Added g_deconDead
4.15: Simple chat flood protection
4.10: Removed tjw's antiwarp (too many problems, especially when unlagged is off)
added /me
added !info
added g_maxGameClients
added team customvotes
modified the "__ called a vote" console message to say what they called a vote for
modified vote messages to say what percent is needed to pass, if this percent != 50
added g_antiSpawnBlock (but disabled it by default for now)
4.03: Fixed votes percentages; I'm an idiot
4.02: Fix mute-PM, add mute-tell
4.01: g_markDeconstruct default to 0
4.00: First public release
--------------------
Credits:
The following people contributed code, created included code, or provided help to make this possible:
kevlarman, vcxzet, Napkin, Avenger, Risujin, r1ch, peoro, tjw, pierre, Khalsa, foobar, gate, Martin Doucha, Wolfwings, benmachine, Phil Bordelon, trem-servers.com, tuple, Das-Iro, Rocinante, Mexel, Techhead, Rocinante, Amanieu
Also all of the Beergarden and MG/Puretremulous servers and communities, who put up with my constant updating and testing and breaking of things
