CommandLimiter - Limit the commands on your server![CodeEx]
=== NOTE: For all intents and purposes this plugin is inactive, though for the life of me I can't figure out how to manually set it as an inactive project, so I have put this notice here for all to read. Sorry about this! Maybe eventually I will come back to it but for now I simply do not have the time. ===
CommandLimiter is the first plugin made by CodeEx team. We were looking around on Bukkit Dev and asking other server owners about what kind of plugin they wanted/needed. After extensive research we believe(hope :P) this may be the first command limiting plugin of its kind released publicly.
CommandLimiter allows server owners to define a command and how many times it may be used by players on the server. It is very simple to use and very basic even if its your first time working with a properties file or running your bukkit server. Simply place the plugin in the plugins folder and start your server!
NOTE: If you wish to use the command cost function you MUST have vault installed on your server. Get it here: Vault BukkitDev
- Very easy to configure
- Very easy to set-up and install
- Lightweight data storage, no databases needed
- Configurable messages such as error message, used once message, and no more uses message
- Can set the amount of times each command can be used in the properties
- ANY command can be limited! Even commands with arguments! (Such as /cl reload, etc)
- In-game commands for easily reloading the plugin or purging(resetting) a users data
- Supports permissions! (Tested with BukkitPermissions, should work with all though)
- Allows individual edits to the data via commands! (/cl setlimit)
- NOW WITH v2.4 you can make commands cost money as well! (Uses Vault)
- NOW WITH v2.4 you can set individual cooldown for commands!!
Commands and Permissions:
- cl.* description: gives access to all CommandLimiter commands(NOT INCLUDING cl.ignore!)
- cl.reload description: gives access to reload command.
- cl.purge description: gives access to purge command.
- cl.setlimit description: gives access to set command.
- cl.info description: gives access to info command.
- cl.ignore description: plugin completely ignores the group/player with this permission.
/cl reload - reloads the plugin. You can make any changes to properties file such as adding new commands and use this command to reload everything without having to delete the data file.
/cl purge [name] - RESETS the player's data to the defaults defined in the properties file. Purge might not have been the best name for this command as it is somewhat misleading.
/cl info [name] - shows the number of uses the player has left for every command.
/cl setlimit [name] [command] [limit] - sets the limit for a certain command for a player.
KEEP IN MIND THAT IF YOU ARE OP YOU CAN USE THESE COMMANDS WITHOUT THE NODES LIKE ANY OTHER PLUGIN.
If you are upgrading from v2.1 or lower to v2.4 you MUST delete your entire CommandLimiter folder with database inside for it to function properly!! This is due to the changes made to the structure of the database.
Properties file explained:
Visit: This link
No bugs have yet been reported :D
- Look into adding more customizability to messages
- add per group limiting
- add option to have some commands unlimited use and some limited
Version 2.4.2 - Released by JazzKr
- Updated to new event listening system, hopefully will keep it compatible for R5.. if not expect another update soon.
- Note: Overhaul is planned soon.. just as soon as I get some time!
Version 2.4.1 - Released by JazzKr
- Added feature where you can pay once to use a command forever (note: if you delete CL.data this will reset and you will have to pay again!)
- General bug fixes
Version 2.4 - Released by lookatmego and JazzKr
- ADDED cooldown support!
- ADDED economy support! (via vault, so it is now a softdepend)
- Modified entire data storage system to accommodate new features introduced
- Reconstructed many commands to support changes to storage system
- More configurable properties added!
- Changed /cl set to /cl setlimit so other commands for setting cooldown and cost can be added later
- Fixed command handling bug
- General bug fixes
Version 2.1.1 - Release by JazzKr
- Fixed stupid mistake I made with purge command, thanks to lookatmego for catching it!!
Version 2.1 - Release by JazzKr
- Rewrote the way it refreshes the data, now it will also 'trim' so commands that were previously in use are removed from data
- Improved the way it recognizes commands, now if a 'base' command is blocked such as /cl then it will block all commands in that tree (/cl set, /cl purge, etc, any commands that start with /cl)
- Commands with arguments can now be blocked, added a note in properties file that explains how to do this, basically spaces in properties file must have a preceding backslash to them
- Fixed a few issues with the text colouring not showing up the way it should be (if anyone sees any instances of this please leave a comment, didn't have time to go through all colour entries, assuming they are correct until proven wrong)
- Works with CraftBukkit 1.1-R1 as of January 14th, 2012
Version 2.0 - Release by lookatmego
- Added custom messages and colors to properties
- Added commands and permissions and super node
- Added ability to set, purge, and view a player's info
- Added ability to reload plugin
- Redefined way properties file is created
- Cleaned up code and in-game messages
- Cleaned up various debug console messages
Version 1.0 - Release by Jazzkr
- Pre-release of plugin
- Early testing
- Added the properties file