Thread: Command Limiter
View Single Post
Plugin Info:     Modification:          Category:          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 - 2496 views - 5.1 KB)

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