Raised This Month: $51 Target: $400
 12% 

Command Limiter


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Exolent[jNr] (178)
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 10-19-2008 , 18:24   Command Limiter
Reply With Quote #1

Admin Command Limiter

Requirements
: AMXX 1.8.

Description: This plugin allows server owners to limit how much times other admins/players can use certain commands, during a round or in a chosen time frame. You can configure different restriction for different access levels. levels. Requested by crazyeffect on this thread.

Files: addons\amxmodx\configs\command_limit.txt

Configuration: Explained in the file, that will be automatically created on first plugin run.

Commands:

cmd_limit_reload: reloads the configuration file


Obs: The command counter will only be reset on round end on Counter-Strike, since I could not find the round end events for the other mods. The timed reset works normally on all mods.

IMPORTANT: This plugin MUST be the first in plugins.ini, otherwise it won't be able to capture other plugins' commands.

Changelog:
Code:
1.0 - 10/19/2008 - Initial Release
1.1 - 10/25/2008 - Fixed bug in command detection, added reload command, minor improvements
Attached Files
File Type: sma Get Plugin or Get Source (command_limit.sma - 2497 views - 5.1 KB)

Last edited by danielkza; 10-25-2008 at 18:37.
danielkza is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode