Commit Graph

54 Commits

Author SHA1 Message Date
David Anderson
a2a8634bb2 fixed amb1382 - sm_cvar from console rte'd
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401850
2008-01-10 23:03:29 +00:00
David Anderson
42a313486a - added amb1332, new cvar protection mechanism for rcon_password
- removed FCVAR_PROTECTED from Core cvars

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401845
2008-01-08 03:06:33 +00:00
Matt Woodrow
5b2e32da18 Added ReadMapList support for sm_votemap in the admin menu
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401746
2007-12-02 02:48:22 +00:00
David Anderson
a8ecd7fea4 - added beefy new ReadMapList() native
- admin menu now uses ReadMapList()
- added UTIL_TrimWhitespace() to stringutils
- moved GetFileTime() implementation to ILibrarySys
- cleaned up sorting include a bit
- removed adminmenu_maplist.ini, since it's specified by maplists.cfg
- added maplists.cfg

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401744
2007-12-02 02:10:37 +00:00
David Anderson
bb82eb772b fixed amb1147 - truncation of cvars in sm_cvar
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401677
2007-11-11 06:24:31 +00:00
David Anderson
53156446d4 - updated basecommands and basefuncommands to use ProcessTargetString() and ShowActivity2()
- moved a bunch of translation phrases around
- ShowActivity2() no longer prints to console
- fixed a memory corruption bug in the translation parser

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401630
2007-10-21 23:50:37 +00:00
David Anderson
04b2845b0d - improved comments on ShowActivity() natives
- switched to ShowActivity2() in basecommands
- added lifestates offsets to core gamedata file
- added a few translation phrases that were missing
- added new API calls to IPlayerHelpers for extending target processing

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401629
2007-10-21 20:35:15 +00:00
Michael McKoy
bd58aa930b Added new stock to helpers.inc: LoadMaps()
Adjusted all plugins that use LoadMaps()
Nextmap no longer worries about mapcyclefile until the map changes
RTV/MC/RC use OnConfigsExecuted() instead of OnMapStart() now
RTV/MC/RC will no longer "permanently" exclude the current map being played when the map file is loaded.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401612
2007-10-18 01:16:42 +00:00
David Anderson
96cb8cbc38 renamed all the admin menu items
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401606
2007-10-17 02:40:41 +00:00
David Anderson
5d72810449 overhaul of the phrases for consistency
renamed config files for adminmenu
cleaned up execcfg menu code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401598
2007-10-16 18:37:24 +00:00
Matt Woodrow
ae5e3217bd Coded menus for most base plugins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401542
2007-10-13 04:43:42 +00:00
David Anderson
ee90188103 added voting category and a menu option for cancelling votes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401529
2007-10-02 14:34:45 +00:00
David Anderson
9c1807bd31 simpler demo, added "Reload admins" option to "Server Commands" category
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401527
2007-10-02 01:52:15 +00:00
David Anderson
5600942b3c experimental commit of a menu attachment for sm_reloadadmins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401524
2007-10-02 01:02:40 +00:00
David Anderson
602b0aa6a5 - added topmenus extension to build
- basecommands is slowly getting split into multiple source files now
- added experimental api of a potential admin menu design
- added experimental admin menu entry to basecommands to kick things off

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401516
2007-10-01 18:50:07 +00:00
David Anderson
74b23aebfe - added 3 new natives for banning/unbanning and interception
- moved banning commands into new plugin, basebans
- improved quality and input methods of ban commands
- corrected svn props on a few files
- added an IsLANServer() to IGameHelpers API
- completely deprecated and removed old banning forwards

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401429
2007-09-14 02:11:10 +00:00
David Anderson
f942b65db1 fixed amb920 - blank kick messages from sm_kick
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401423
2007-09-13 16:44:50 +00:00
David Anderson
aab0eeaa1e - implemented amb855 - LogAction()
- changed base plugins to use LogAction() where appropriate

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401384
2007-08-27 02:00:37 +00:00
David Anderson
0dcd1edd56 added amb845 - reports custom flags now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401382
2007-08-26 20:04:01 +00:00
David Anderson
ec8413193f added amb786 - sm_banip can take a user name, redid access permissions, and prevented a bad mistake
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401380
2007-08-26 19:41:05 +00:00
Scott Ehlert
a1009aed38 Updated license headers on virtually all files with extremely minor changes in the name of some sort of strange consistency.
All plugin and include file headers also have been changed to say about GPL3 instead of GPL2.

(This day shall henceforth be known as the Eighty Column Massacre of '07)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401336
2007-08-15 06:19:30 +00:00
Michael McKoy
6b18b901ae You really should use your booleans right! sm_cancelvote fixed...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401284
2007-08-08 21:46:44 +00:00
Michael McKoy
803f2122cf Added sm_cancelvote to the base commands, as well as appropriate translations.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401282
2007-08-08 21:32:06 +00:00
David Anderson
082d9ecafe reverted change from r1124 that introduced a bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401269
2007-08-05 15:41:09 +00:00
Phong Dang
9b86e7bdf6 Fixed sm_kick where it was not using decl safely.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401222
2007-07-30 19:10:46 +00:00
Phong Dang
c027b864fa Fixed sm_unban to allow quotes or no quotes around steamid. Remove the quotes around the steamid in the server command removeid.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401221
2007-07-30 18:45:55 +00:00
Phong Dang
c01022585b Added amb<536> requested for using sm_kick without putting quotes around reason.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401217
2007-07-29 19:20:42 +00:00
Phong Dang
e7b39faea7 Removed the two minute ip ban from sm_ban. (Two people on same ip will result in both of them getting ban for two minutes. When you only meant to ban one of them.).
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401203
2007-07-28 02:10:11 +00:00
Michael McKoy
65dc62d818 basecommands.sp: Removed plugin.basecommands.txt, switched to FindTarget stock, and added a 2 minute IP ban to sm_ban to stop retry spammers.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401201
2007-07-27 22:30:05 +00:00
David Anderson
39f7d51747 added amb403 (sm_reloadadmins)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401168
2007-07-24 22:20:58 +00:00
Scott Ehlert
921bf64df2 Fixed amb564 - sm_ban was not actually banning due to the client being kicked before the banid command was executed. Thus the userid used with banid was no longer valid. Changed this to ban via authid/steamid instead.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401150
2007-07-23 17:38:06 +00:00
Scott Ehlert
14cd175743 Fixed amb665
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401144
2007-07-20 06:21:43 +00:00
Borja Ferrer
d8ca563305 use decl please
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401124
2007-07-15 17:22:47 +00:00
Borja Ferrer
c67f00b1fc fixed amb532
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401044
2007-07-04 12:34:57 +00:00
David Anderson
761890b470 removed extensions from LoadTranslations() calls
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401033
2007-06-29 07:09:56 +00:00
David Anderson
28d24a7f97 - renamed translation files from .cfg -> .txt
- renamed trans core file to core.phrases.txt
- renamed trans common file to common.phrases.txt
- added some backwards compat so this doesn't break everyone's plugins

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401019
2007-06-24 21:14:06 +00:00
Scott Ehlert
546c471e2c Moved pragams above includes in plugins. Not too sure why.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40995
2007-06-20 08:51:40 +00:00
David Anderson
7c63139574 - added amb379
- fixed a format bug in basecommands.sp
- added an any tag to Call_Finish()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40988
2007-06-18 17:20:12 +00:00
David Anderson
5dbcd90895 fixed bug amb418
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40987
2007-06-18 17:09:33 +00:00
Scott Ehlert
6193ed8431 Convars with FCVAR_REPLICATED flag should now be replicated properly when sm_cvar is used.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40943
2007-06-15 06:31:12 +00:00
David Anderson
2e3c61c849 SourceMod now does authentication in core; admin-auth gets removed. this has an added bonus that OnClientAuthorized reliably has whether an admin is validated
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40936
2007-06-08 07:54:45 +00:00
David Anderson
e85a6d280f root can use sv_cheats now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40935
2007-06-08 06:31:46 +00:00
David Anderson
706b28cb64 added another unban command and added forwards for banning (amb369)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40933
2007-06-08 05:11:49 +00:00
David Anderson
48830e2c16 added request amb369, part 1
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40932
2007-06-08 04:40:40 +00:00
David Anderson
7b9b90e2a2 added sm_unban
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40931
2007-06-08 03:50:23 +00:00
David Anderson
0ceec15c5a - ShowActivity() now handles command usage confirmation
- added sm_ban
- fixed up various issues and bugs in basecommands.sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40930
2007-06-08 03:38:57 +00:00
David Anderson
a5d17bbf6b - sm_show_activity is now protected
- added sm_who
- added GetCmdReplySource() for sm_who

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40929
2007-06-08 01:58:26 +00:00
David Anderson
de339cab8b sm_kick now uses targeting properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40928
2007-06-08 01:09:17 +00:00
David Anderson
ce9b783485 added sm_execcfg
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40927
2007-06-08 01:01:44 +00:00
David Anderson
3a02db6a1e added sm_cvar
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40926
2007-06-07 23:48:51 +00:00