CommandLimiter - Limit the commands on your server![CodeEx]

Limit them commands!

=== 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.

Description:

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

Features:

  • 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:

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.

Commands

/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

Current bugs:

No bugs have yet been reported :D

To-Do list:

  • Look into adding more customizability to messages
  • add per group limiting
  • add option to have some commands unlimited use and some limited

Changelog:

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

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ivixer ivixer May 11, 2014 at 17:26 UTC - 0 likes

    error with the plugin, pls help me :S error Really need that plugin

  • Avatar of Builder874 Builder874 Apr 13, 2013 at 23:32 UTC - 0 likes

    Do the commands reset after a certian ammount of time? Or after they use the command so many times you cant use it ever again.

    http://i1360.photobucket.com/albums/r651/Builder874/lolban_zps9f73def4.png
    https://minestatus.net/59680-citycraft-survival-creative-hunger-games/image/original.png

  • Avatar of TheOneMadHawk TheOneMadHawk Mar 24, 2013 at 20:14 UTC - 0 likes

    Does not block multiple char cases
    if blocking /stack is enabled /Stack and the 30 other versions aren't blocked.

    You cannot be crazier than Crazy.
    Try and fail.

  • Avatar of MineCrafterCity MineCrafterCity Dec 29, 2012 at 19:04 UTC - 0 likes

    Demnit :( Please make a updated version! :D

  • Avatar of toguno toguno Oct 11, 2012 at 20:58 UTC - 0 likes

    UPDATE

    http://theminecraftserverlist.com/banner/size1/style4/645.jpg

  • Avatar of erisawesome erisawesome Sep 24, 2012 at 02:00 UTC - 0 likes

    PLEASE UPDATE I NEED THIS PLUGIN!!!!!

    Project Kanto pk.eco-verse.org - Recreating the Kanto region from Pokémon in Minecraft! So, what's so special about that? Well, it's based on the anime/TV show and not the game! Wow, that sounds so cool can I help? SURE! Apply here at our website eco-verse.org/builder

  • Avatar of the1h3r0 the1h3r0 Aug 29, 2012 at 13:26 UTC - 0 likes

    Is there a way to limit a command globally and not by user? Like, make it so /home can only be used once by everyone, but not have to execute the command to limit it on every user

  • Avatar of Mayhem777 Mayhem777 Aug 09, 2012 at 11:18 UTC - 0 likes

    Ok thanks for aswering jazzkr very kind :)

    - - - -( Profile )- - - -( Plugins )- - - -

    Issues? Suggestions? Use the forums for my plugins: ( Forums )

    Last Update: MayhemTowerDefense

  • Avatar of JazzKr JazzKr Aug 04, 2012 at 18:44 UTC - 0 likes

    @Mayhem777: Go

    Unfortunately no because I have been busy with other projects, writing custom plugins for a server I work with. It is worth mentioning that there is another plugin that has this functionality now called BoosCooldown maintained by LordBoos who has posted below me in this comment section, so if you want command limiting functionality then you may want to use that plugin as I will be setting this to inactive since I honestly don't have much time anymore to update it... Sorry!

    - JazzKr (CodeEx Team)

  • Avatar of Mayhem777 Mayhem777 Jul 05, 2012 at 20:21 UTC - 0 likes

    No updates?

Is this plugin helpful?

  1. Choice:

  1. Results
  2. 0 comments

Facts

Date created
Jan 15, 2012
Categories
Last update
Mar 01, 2012
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
CommandLimiter - Limit the commands on your server![CodeEx]
Downloads
4,875
Recent files

Authors