summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
AgeCommit message (Collapse)Author
2013-01-03*(bug 3280) Changed the default behaviour of !listplayers. The fieldsTony J. White
representing guid stub, admin level and A.K.A. are now omitted unless the player running !listplayers has the new $ flag set. To restore the old behaviour, set the $ flag on all your existing [level] definitions in admin.dat. (Lakitu7)
2007-09-25* (bug 3307) use boundary checking to prevent potential buffer overflowM. Kristall
* (bug 2969) limit number of players to g_maxGameClients * use G_TeamCommand() for team vote messages
2007-09-16* (bug 3096) bans sometimes fail inexplicablyM. Kristall
2007-07-16* (bug 3047) send team commands to spectating admins who can see team chatM. Kristall
* remove some more redundant checks and fix some command flags * fix a number of spelling misteaks in messages * show denybuild indicator in !listplayers
2007-07-09* (bug 3251) make return consistent for admin check (benmachine)M. Kristall
* show message when trying to get help for a command you cannot use
2007-07-04* fix denybuild thing correctly...M. Kristall
2007-06-29* fix a silly issue in !passvote and !cancelvote that could potentially haveM. Kristall
undesired effects * correct some copy-paste action in my last commit
2007-06-20* take away blue print when a player's building rights are deniedM. Kristall
* don't spam message when !putteam won't do anything
2007-06-05(bug 3104) save the correct variables for players who disconnect and come backM. Kristall
(bug 3161) do not allow two clients to have the same name (Chris Schwarz) (bug 3205) let aliens move eggs when humans only have one node (Roman Tetelman)
2007-03-25* ingame menus redesignedTony J. White
* spectators can now participate in non-team votes * added teamvote "admitdefeat" * replaced "nextmap" vote with "draw" * removed vote "clientkick" vote (uses "kick" instead) * removed teamvote "teamclientkick" (uses "kick" instead) * renamed teamvote "teamkick" to teamvote "kick" * added teamvote "denybuild" and "allowbuild" * added vote "mute" and "unmute" * added !denybuild and !allowbuild g_admin commands * added /ignore and /unignore commands (and menu support) * Game -> Info (formerly About) shows server settings instead of local ones * Voting keys can now be configured in the Options menu * Voting key binds now display with the vote status (F3 and F4 will be the eventual default binds for "teamvote yes" and "teamvote no" respectively)
2007-03-13* (bug 3052) fix issues with !ban and !namelog when multiple players have theTony J. White
same IP/GUID. Also give slot number precedence for !ban.
2007-03-03* (bug 3008) track when map and map_restart commands are added to the commandTony J. White
buffer with level.restarted. This prevents G_RunFrame() from running until the command is processed by the server code.
2007-01-03* (bug 2996) better support for using "!" commands when g_admin isTony J. White
disabled. * (bug 2973) account for the *BUILTIN* layout in the count returned by G_LayoutList() * !readconfig now clears all g_admin data properly even if there is an error reading or no g_admin data file is defined
2006-12-31* (bug 2954) g_admin commands can not be used from the server console evenTony J. White
if g_admin is not set to a file. This allows the !kick and !ban commands to work for the current game even if there is no g_admin data file. Updated vote cmds to always use !ban instead of clientkick.
2006-12-31* (bug 2973) added a special name for the map's built-in layout "*BUILTIN*"Tony J. White
so this can be named in the list of layouts to be selected from without having to create a .dat file for it.
2006-12-30* (bug 2973) allow '-' and '_' in layout names and check to make sure layoutsTony J. White
named in !map and !restart commands are valid names
2006-12-29* (bug 2973) support for multiple initial base layouts ( Risujin, vcxzet, tjw )Tony J. White
2006-12-12* (bug 2954) when g_admin is enabled use !ban [ip] instead of !kick [slot]Tony J. White
on vote kicks. this is to deal with people disconnecting before the vote ends to avoid the temp ban and prevents an innocent from grabbing the slot only to be kicked when the vote ends. * fix duration parsing for the g_admin !ban command when time is in seconds
2006-11-14* (bug 2849) g_admin usage info formatting fixes, !spec999 no longer triesTony J. White
to move those who are already spec, !listplayers uses pers.teamSelection to prevent inconsistency with spec following. (thanks M. Kristall)
2006-10-24* !unlock command was not printing usage information (thanks kevlarman)Tony J. White
2006-10-24* don't spam broadcast the output spam of the !time g_admin spam commandTony J. White
2006-09-29* !lock command without parameter was not printing usage informationTony J. White
2006-09-14* (bug 2849) having a qboolean array in the level_locals_t struct seemed toTony J. White
cause some qvm weirdness. converted level.teamLocked[] into two seperate qbooleans.
2006-09-05Bug 2849Tony J. White
* adds g_admin flag '3' which allows the admin/level to always keep cred/evo when switching teams. * adds !lock and !unlock g_admin commands for locking teams. (enable with 'K' flag) * setting an admin's level to 0 immediately free's up that admin's name from the name protection system (g_adminNameProtect) * don't give kills/creds to a spectator in follow mode ('3' flag exposed this)
2006-07-31* tjw's spiffy admin system (tjw, obviously)Tim Angus