summaryrefslogtreecommitdiff
path: root/src/game/g_admin.h
AgeCommit message (Collapse)Author
2017-04-06implement Schachtmeister v2 basics/dev/humancontroller
2017-04-06implement setdisabled: a command to change the set of disabled buildables, ↵/dev/humancontroller
classes or equipment during a game use of this command does not update the client UI lists (eg. which weapons r allowed) the current design of disabled elements is a big fucking piece of shit anyway
2017-03-09implement setivo: layout-based overriding of intermission views/dev/humancontroller
2017-03-09implement layout arithmetic and the addlayout command/dev/humancontroller
layout arithmetic features: layout filtering by buildable team or type, loading of union of filtered layouts, saving filtered layouts addlayout: an admin command to place layout elements into the game
2017-03-09implement setnextmap: an admin command to set the next map and layout/dev/humancontroller
2017-03-09implement setdevmode: an admin command to switch developer mode on or off/dev/humancontroller
2017-03-09refactor stuff/dev/humancontroller
2017-03-09use standard time representation/dev/humancontroller
2013-02-16Update copyright noticesTim Angus
2013-01-03* (bug 5000) refactor: use ARRAY_LEN; remove undefined functions; more size_tM. Kristall
(/dev/humancontroller)
2013-01-03* CANIPBAN allows banning not-necessarily-connected players with CIDR notationM. Kristall
2013-01-03* (bug 3404) Warn all admins when a banned player tries to connectM. Kristall
2013-01-03* Refactor listadmins, namelog, and showbans to make then more consistentM. Kristall
2013-01-03* (bug 4821) Silence logging of inconsequential admin commandsChristopher Schwarz
2013-01-03* Sort admins and levels by descending level on readconfigM. Kristall
2013-01-03* (bug 4815) Add /pause admin commandChristopher Schwarz
2013-01-03* (bug 4806) add builder command to show which player built a structureJohn Ellis
2013-01-03* (bug 3291) Add /buildlog and /revert commands to combat grief building ↵Christopher Schwarz
(Undeference, Rezyn, and originally Benmachine)
2013-01-03* Prevent reparsing IP addresses for subnet bansM. Kristall
2013-01-03* Log what command was attempted when a user does not have permissionM. Kristall
* (bug 4446) Fix comment
2013-01-03* Separate namelog from adminM. Kristall
* Client to namelog mapping * Merge mute, denybuild, ptr in namelog; remove ptr
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Remove unused admin flag TEAMCHATCMDM. Kristall
2013-01-03* Fix changemap by moving it in the list so bsearch can find itChristopher Schwarz
* Rename help to adminhelp to be less confusing now that admin commands look the same as regular commands * Rename admin flags "help"->"adminhelp" and "map"->"changemap" for consistency
2013-01-03* Server- and client-side tab completion for commands handled by the game moduleM. Kristall
* Admin commands are just like all other commands now: no more ! ("!map" was renamed to "changemap" since "map" already exists) * Text in the chat ui beginning with / or \ is treated as a command unless ui_chatCommands = 0 (default 1)
2013-01-03* Fix a bug that would prevent banning by name in most casesM. Kristall
* When banning by name and there are multiple matches, do not print every match for a given player * The message indicating a ban hit has been updated * Match namelog entries to players only by GUID, allowing for a single player reconnecting from a different IP address * Remove the remaining GUID stub display
2013-01-03* Remove arbitrary limitations on admin data by replacing fixed-size arrays withM. Kristall
linked lists This fixes memory leaks with most !readconfig errors
2013-01-03* (bug 4310) Rework admin.logChristopher Schwarz
- Remove admin.log and fold its information into games.log because its information is rarely useful without the context that games.log brings - Don't show guid/flags in AdminCmd: log items. Show registered name instead. - Add an AdminAuth: log item that contains this info, occurring at connect, setlevel, and readconfig - Always attach an admin's registered name to bans so the correct people are complained about rather than aliases - General g_admin.c shrinking and refactoring
2013-01-03* Make position of "ALLFLAGS" admin flag irrelevantM. Kristall
* Keep track of clients' admin statuses better and refactor large amounts of related admin code
2013-01-03* (bug 4071) subnet bansM. Kristall
Allow banning and namelog searching by IP address in CIDR notation Banning a range of addresses will immediately kick all players in that range Admins with IMMUNITY flag can connect even if their IP address is banned admin.dat files relying on substring matching will have to be updated
2013-01-03* Remove unused ADMF_TEAMCHANGEFREEM. Kristall
2013-01-03* (bug 3396) Break everyone's admin.dat (a.k.a. multiple character admin flags)M. Kristall
2013-01-03* Refactor some more admin codeM. Kristall
* Let !cancelvote and !passvote accept a team name argument
2013-01-03* (bug 3354) Add /clientlist cgame command for listing connected clients (DevHC)Christopher Schwarz
* Remove ADMF_SEESFULLLISTPLAYERS and return !listplayers to the old default value of always listing everything. Servers can now freely disallow !listplayers from non-admins, who can use /clientlist (or the GUI) to obtain the info they need.
2013-01-03* Fix a buffer overflow introduced in revision 1121M. Kristall
* Admin parsing stuff: * Report the (theoretically) correct line number in parse error messages * Prevent an overflow in [command] section (levels) * Try to make the code flow a little better * !readconfig errors all get sent to console
2013-01-03* Add the /a command, which sends a message to all active adminsChristopher Schwarz
* Using and receiving messages from this command is controled by the admin flag '?' * This flag is granted to levels 3, 4, 5 by default * The /a command can be parsed from in chat text, and also from the server console * New cvar g_publicAdminMessages (0|1) default: 1. Allows or disallows users without flag '?' to send messages to admins (but not receieve them).
2013-01-03* (bug 3379) !adjustban command to change reason and duration of bans (flag b)M. Kristall
* (bug 3746) Lookup table for UI commands (Ben Millwood) * and some other refactoring * Fix a couple null dereferences introduced in 1120
2013-01-03* (bug 3719) IP address fields in admin system are not large enough for IPv6M. Kristall
(Amanieu) * Prevent the host player on a non-dedicated server from being disconnected
2013-01-03* Oops, Repeater now gives Repeater reward creditsMichael Levin
* Reloading a weapon and switching to blaster will not cause it to be "reloaded" * Removed "team change free" flag, all clients keep credits when changing teams * Human and Alien credits properly converted when switching teams (based on max) * Cannot open both say prompts at the same time anymore
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-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.
2006-12-29* (bug 2973) support for multiple initial base layouts ( Risujin, vcxzet, tjw )Tony J. White
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