Restrict Commands [rc] - v2.1 - 2006-07-24
7 Attachment(s)
Restrict Commands [rc]
This plugin allows admin to restrict client commands from being used by players in their server. Using the in-game menu, you can restrict client commands for everyone server-wide and enable admin immunity if you want admin to be immuned from server-wide client command restrictions. There is also an admin console command to restrict client commands from use by players on an individual and permanent basis. Likewise, there is an admin console command to unrestrict an individual player from using a client command they have been individually restricted from using. The client commands which may be restricted are listed here in the form of <command> - <description of command>:
If you wish to restrict a client command on an individual basis for only one player, type amx_rcplayer <name or #userid> <command>. To unrestrict a player from using a client command, type amx_unrcplayer <name or #userid> <command>. For these admin commands to work, the <command> must valid and in the correct format. To view valid commands in the correct format, type amx_rccommands in console (i. e. instead of typing amx_rcplayer Player +attack you must type amx_rcplayer Player attack and instead of typing amx_rcplayer Player impulse 201(or spray) you must type amx_rcplayer Player impulse201). When using amx_rcplayer <name or #userid> <command>, players are permanently restricted by STEAM ID from use of the client command they were restricted from using in the server until an admin unrestricts them by using amx_unrcplayer <name or #userid> <command>. All information is stored in the vault. This may be used, for example, in the following way: Quote:
Installation File Locations:
amx_rcplayer - <name or #userid> <command> - Restricts a player from using a client command permanently by STEAM ID amx_unrcplayer - <name or #userid> <command> - Unrestricts a player from using a client command they have been individually restricted from using amx_rccommands - Displays the list of valid client commands in the correct format to be used with amx_rcplayer and amx_unrcplayer amx_rcinfo - <name or #userid> - Shows what commands a player has been restricted from using amx_rcmenu - Brings up the Restrict Commands Configuration Menu say /rcmenu - Brings up the Restrict Commands Configuration Menu (just type /rcmenu in chat) say /rchelp - Shows The Command Description Help Page (just type /rchelp in chat) /rchelp - Shows The Command Description Help Page Plugin CVARS Note: There are three ways of changing these CVARS
Default for all CVARS is 0. restrictcommand_immunity <0|1> Admin Immunity
Where <command> is you will see the actual name of the command. The following is true for all restrictcommand_<command> CVARS. restrictcommand_<command> <0|1> Restricting the command "<command>"
Credits/Thanks Thanks to VEN for his help here and devicenull for this post he made about impulses. Translations:
[ATAC] Plugin URL = http://forums.alliedmods.net/showthread.php?p=157579 The idea came from my desire to have complete control over what goes on in my server and further enforce fair server rules where deemed necessary to do so. I am happy to see this plugin grow and with the extensive testing I've done in CS 1.6 using AMX Mod X 1.71, with many people in the server, I am happy to say that version 1.9 works at 100% proficiency with no problems whatsoever. A big thanks to all my friends who stayed in the server for hours testing and retesting the plugin until they were blue in the face; thanx for bearing with me as I perfected version 1.9 for its public release. Plugin History [2006-07-24] v2.1
|
eeeee
Ahhhhhh stop releasing code that is so redundant within the plugin.
You have good ideas but your code can be simplified so much. |
Edit: There clearly is no redundant code within the plugin anymore. Just thought I'd update that fact for everyone.
|
-EDITED-
|
Thank you Doombringer I haven't gotten the translation thread up yet. It will be up soon.
Edit: Translation Topic is posted URL = http://forums.alliedmods.net/showthread.php?t=27091 |
Quote:
btw, useful plugin xD happy now? =) |
Edited
|
[ 59] unknown unknown unknown restrictcommand bad load
Load fails: Plugin uses an unknown function (name "get_pcvar_num") - check your modules.ini. |
Quote:
|
on our true server i have 1.7
I tried to get 1.71 to work on my home pc to test this plugin and it will not load. i have tried allsorts. I even deleted the whole server and started it from scratch and still nothing (yes i added the cs mod part of it) meta list Currently loaded plugins: description stat pend file vers src load unlod [ 1] <amxmodx_mm.dll badf load amxmodx_mm.dll v - ini Never Never [ 2] POD-Bot mm RUN - podbot_mm.dll vR2b46d ini Chlvl ANY [ 3] Eye1.2 Metamod RUN - eye_mm.dll v1.2 ini Chlvl Chlvl [ 4] Ent Mod RUN - entmod_mm.dll v3 ini Start Start [ 5] Adminmod RUN - admin_mm.dll v2.50.60 ini Start ANY [ 6] LogDaemon RUN - logd_mm.dll v1.0.0.6 ini ANY Pause 6 plugins, 5 running [EDIT] HAR HAR bloody har . . . i figured it out my copy of the server was PRE 1.7 . . . ie old crappy ass metamod original ancient . . i get latest metamod-p and Boom it all works!! ok great plugin just got done tstoing it.. i am going to add this to the server. One more thing, can you add other commands to the list at all ? how about name |
All times are GMT -4. The time now is 17:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.