boosCooldowns icon

boosCooldowns -----

Everything you'll ever need to enhance and/or restrict commands on your server.




  • New minimal Java version is 1.8 (compiled with Java 21)
  • New configuration options related to OPs, default values should work the same as the behaviour before adding those options
    • Should plugin be disabled for OPs?
      • disabled_for_ops: true
    • Should syntax blocker be disabled for OPs?
      • disable_syntax_blocker_for_ops: false
  • Upgraded PlayerPoints integration for PlayerPoints 3.3.2
----------, Jun 9, 2025

  • Just a rebuild with Spigot 1.20
  • 3.17.5 should also still work
----------, Jun 19, 2023

In the recent Spigot versions, confirmation buttons stopped working because it is no longer possible to send a chat message on hover click.
This version changes the behaviour to suggest the message, not send it directly. Player now clicks "Yes" button and it will write Yes to the chat box, player then just presses Enter to confirm.
----------, Mar 22, 2023

Updated dependencies and rebuilt for 1.19
----------, Jul 8, 2022

Improved handling of confirmations. It will now use "contains" instead of exact match so chat format plugins will not break it.
Previously you had to write exacly "Yes" or other configured message. But if you chat plugin colored the message to eq "§6Yes" then confirmation would not work. Now any message containing "Yes" will work as confirmation.
----------, Apr 1, 2022

  • Fixed clear commands to work for multi parameter commands
    • clearcooldowns
    • clearuses
    • clearwarmups
    • Use it with underscores: /bcd clearcooldowns player /command_with_args
  • Build against Minecraft/Spigot 1.18.1 so it is now officially supported
----------, Jan 5, 2022

Add new command to check if command is on cooldown (with remaining cooldown time) or not.
  • /bcd checkcooldown [/command]
* Currently only works for "one word" commands like "/home". It does not work for "multi word" commands like "/warp shop"
----------, Jul 27, 2020

Added "cancel_command: true/false" option. This option can be used to create information message commands for players.
Code (Text):
/infocommand:
    message: "This is an information message, that is sent to a player."
    cancel_command: true
Prior to this feature, when player would use this command, it will send him the desired message, but after that message he will see red "Invalid command" message because the command actually does not exist. This new feature prevents that red "Invalid command" message by cancelling the command event after boosCooldowns does all of it's magic. So you can use all other boosCooldowns features in combination with cancel_command.
----------, Jul 27, 2020

  • Rewrote JSON message handling
    • Mainly used in confirmations and item prices
  • Fixed item costs
    • Item costs are now possible with items from version 1.13+
    • Versions 1.13 and older are no longer supported
----------, Jul 17, 2020

  • Removed NMS usage and migrated to spigot send chat message for JSON messages
    • Fixes NMS errors and plugin should no longer break when Mojang changes NMS packets
  • Updated JSON message structure
    • Fixes chat item hovers for items with enchantments
----------, Jul 10, 2020

Just a version update.
Fixes NMS errors.
----------, Jul 9, 2020

No new features, just compatibility update for 1.15.1.
----------, Jan 4, 2020

  • Update for 1.14.4
  • Fix issues with some plugins cancelling command preprocess event
  • Add support for new variants of signs
  • Update dependencies (Vault and PlayerPoints)
----------, Jul 22, 2019

  • Rebuild for 1.13.2
  • Minor fixes
----------, Feb 9, 2019

  • JSON component was updated to work with Minecraft 1.12
  • Additional checks were introduced in item costs to prevent errors
----------, Jan 26, 2018

  • This update should fix the PlayerPoints error some users were experiencing while trying to enable plugin for the first time.
  • PlayerPoints integration is now disabled by default.
----------, Dec 13, 2017

  • Removed dependency on Java 1.8
  • Added custom potion effect duration option
  • Added cancel potion effects on warmup cancel option
----------, Aug 3, 2017

  • New: multiple potion effects, see configuration.
    • If you use potion effects, you have to update your configuration.
Plugin is now built with Java 8 (same as Spigot) and will not work on older Java versions.
----------, Aug 3, 2017

  • Changed listener priority because of rude EssentialsX event un-cancellation
----------, Jul 3, 2017

Fix confirmation messages.

This is only a adjustment to the default configuration.
----------, Mar 6, 2017

This should fix Minecraft 1.7 ChatSerializer error.
----------, Dec 12, 2016

Fix problem preventing the plugin to load without PlayerPoints plugin.
----------, Dec 12, 2016

Add support for PlayerPoints. You can now charge PlayerPoints for using commands!

New configuration options:
Code (Text):
/playerpointstest:
        #PlayerPoints required to use this command
        playerpoints: 5
This feature will work as long as you have PlayerPoints plugin. To customize messages, you need to regenerate boosCooldowns config file to see the new options.

Please note that this version is still BETA and may contain bugs. Report any bugs to the discussion.
----------, Dec 11, 2016

  • Fix for harmless but annoying console errors
----------, Aug 8, 2016

  • Rebuilt the plugin for 1.10.2
    • Should fix console errors
----------, Aug 7, 2016

Added:
  • XP level requirements
    • Player has to be set level to use command, but it will not take away his levels.
Command setup:
Code (Text):
      /testxpreq:
        #this command needs player to have 30 experience levels to be used, but does not take experience levels from player
        xprequirement: 30
New message:
Code (Text):
insufficient_xp_requirement: '&6Your level is too low to use this!&e &command& &6needs &e%s'
----------, Jun 21, 2016

  • NMS is now handled by Reflection
    • This means that new Minecraft versions does not break plugin and it will still work
----------, Jun 12, 2016

  • Updated for 1.10
  • Fix previous update for 1.10
----------, Jun 12, 2016

  • Updated for 1.10
----------, Jun 12, 2016

Updated for 1.9.4.

No other changes.
----------, May 16, 2016

WARNING! READ THIS IF YOU USE ITEM COSTS!

Added:
  • Item costs now accepts custom items with names, lore and enchants!
  • Confirmation messages (Yes/No) can now be clicked to confirm or cancel command.
  • Documented whole configuration file to make it even easier! Just regenerate your config.yml to see it.
Item costs configuration has been changed and you need to update it to new format or it will not work! You can regenerate config.yml to see changes or edit it according to new format(lines starting with # are just comments):
Code (Text):

/testitemcommand:
  #price in items required to use this command
  itemcost:
    #item type (material) has to be one from this list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
    item: STONE
    #number of items required to use command
    count: 5
    #name of required item
    name: "Super Stone"
    #lore of required item (any number of lines)
    lore:
    - "first line of lore"
    - "second line of lore"
    #enchants of required item and enchant level enchant name has to be one from this list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
    enchants:
    - ARROW_DAMAGE,1
    - ARROW_FIRE,1
 
----------, Apr 15, 2016

Fixed:
  • Essentials Asynchronous entity world add error
----------, Apr 2, 2016

Added:
  • new option to disable confirmations: "command_confirmation: true"
  • new command for players to toggle confirmations (overwrites server setting)
    • /bcd confirmations
  • Compiled for 1.9 with backwards compatibility for 1.8 and 1.7
Fixed:
  • Potential issue on Java versions prior to version 8
Advice:
  • Regenerate your configuration file to be able to use new features
----------, Mar 12, 2016

Changed how wildcards behave.
Before this version, you could only set restrictions to either command with arguments or to command without arguments, but you cannot set one setting to restrict both commands with arguments and commands without them, leading to big duplicities in the config file. It is now possible!
Three ways to configure are now possible.
  • "/command" will restrict just command without arguments
  • "/command *" will restrict only command with arguments, but not command (without arguments) itself
  • "/command*" will restrict both command with and without arguments
----------, May 30, 2015

Possible fix for issues with Java 7 and older.
Please note, that I had no time to test this version! It should work, but unexpected results may emerge. Please report any bugs immediately.
----------, May 29, 2015

Fixed asynchronous entity add error coming from essentials and other plugins. I've tested it on my own server, please report back if you still experience issue.
----------, May 28, 2015

Fixed:
  • You are now able to use all minecraft formating codes, not only colors like before.
    • & and § symbols are acceptable
----------, Apr 10, 2015

Changed:
  • Time messages are now shown more precisely.
    • Eg. 'Wait 1 hour, 44 minutes, 11 seconds before you can use command /home again.'
      • Previous system will just show that 2 hours are remaining.
----------, Mar 6, 2015

Changed:
  • Confirmation messages will not be shown if command is on cooldown/warmup
  • Insufficient money/items/xp messages will not be shown if command is on cooldown/warmup
Fixed:
  • All price messages will now correctly show price/balance currency
    • You have to delete &currency& from confirmation message like:
      • confirmation_price_of_command: '&6its price is&e &price& &6and you now have &e&balance&'
----------, Mar 1, 2015

Fixed:
  • Wrong behavior of confirmations
    • All should now work properly, please do not use previous release
Added:
  • Forget to add config.yml option to disable syntax blocker, it is now added
----------, Mar 1, 2015

Added:
  • Confirmations for price, item cost, xp price and limit affected commands
    • Cannot be disabled right now, I may add option to disable it if anyone really needs it.
  • Confirmation message contains all information about commands price (and players balance), xp price, item cost and limit (and how many times player can still execute command)
  • Confirmation message send to player can be customised (even confirm message, that player has to write to confirm command execution)
Fixed:
  • Plugin will no longer replace $ symbol with S

If you want to customise messages, you have to delete your config.yml and let it regenerate (by server restart etc.). If you really do not want to restart your server, add these lines to your config.yml file (to options.messages section, just where all other messages are present), if these configuration lines are not present in config.yml file, default messages will be shown (same as below):
Code (Text):
    confirmation_message: '&6Would you like to use command&e &command& &6?'
    confirmation_price_of_command: '&6its price is&e &price& &currency& &6and you now have &e&balance& &currency&'
    confirmation_item_price_of_command: '&6its price is&e &itemprice& &itemname&'
    confirmation_limit_of_command: '&6it is limited to&e &limit& &6uses'
    confirmation_xp_price_of_command: '&6its price is&e &xpprice& experience levels'
    confirmation_confirm_command_execution: 'Yes'
    confirmation_cancel_command_execution: 'No'
    confirmation_command_cancelled: '&6Execution of command&e &command& &6was cancelled'
----------, Feb 28, 2015

Custom permissions will no longer trigger other things like cooldowns
----------, Feb 15, 2015

New feature: Custom permissions.
  • Set custom permissions for any command
  • Set custom permission needed message for any command
Code (Text):
commands:
  groups:
    default:
      /permissionstest:
        permission: "nice.permission"
        denied_message: You lack required permissions to use this command!
----------, Feb 8, 2015

Players will now be able to look around during warmups if you have cancel_warmup_on_move: true.
Warmups will only be canceled if player moves whole block.
----------, Feb 1, 2015

New:
  • Shared limits
    • limits can be shared between commands! Like /day and /night limited to 5 uses combined. So player have to choose if he use /day or /night.
Code (Text):
      /day:
        limit: 2
        shared_limit:
        - /night
      /night:
        limit: 2
        shared_limit:
        - /day
Some other small fixes and optimisations.

Next version will include custom per-command permissions with configurable "permission needed" messages.
----------, Feb 1, 2015

Performance tweaks.
You can now delete any part of configuration file without breaking plugin. E.g. you do not want to use aliases? Just delete that part of config (just do not delete anything from "options" section including its children (options, units, messages)).
----------, Jan 9, 2015

Improved performance. Updating to this version is highly recommended, as it will increase your TPS.
----------, Jan 8, 2015

Should now be compatible with Java 6, Java 7 and Java 8.
I didn't have enough time to test this on different Java versions, so please report back if it works on your version.
----------, Jan 7, 2015

Global limit resets
Limits can now be globally reset after set interval (this is done per command).
Delete/rename your config.yml and restart server to see how it is set up.
To start timers, you have to set them up in config.yml, use "/bcd reload" and then use "/bcd startglobalreset". Once this command was used, timers will automatically continue on server restart and also restart itself, when they finish.
To cancel timer, just set it to "cancel", use "/bcd reload" and then use "/bcd startglobalreset".

More user-friendly config
It is now possible to use usints, when setting up time. "seconds, second, minutes, minute, hours, hour, days, day, weeks, week, months, month" are all supported. So no more setting 1 week cooldown in seconds, just use 1 week!
If you do not use any unit, it will default to seconds (to be compatible with your present configs).

Bugfix
Messages sent to player telling him how long he has to wait are now more accurate.
----------, Jan 6, 2015

Implemented new aliasing system

It is now possible to use * in command aliases.
It is now possible to use placeholders in command aliases:

  • $1
    • first command argument
  • $2
    • second command argument
  • $*
    • all remaining command arguments
  • $player
    • player who used command
  • $world
    • world of player who used command
  • E.g. /tp to *: /teleport $player $1 $2
    • If player called Stan uses command "/tp to Bruce" it will change to "/teleport Stan to Bruce"
Cooldowns bugfix

Due to my mistake by reversing the time calculation formula, all cooldowns were eternal. This is now fixed.
----------, Jan 4, 2015

Fixed:
  • Limits using wrong configuration file string, causing them to be dysfunctional
Added:
  • Per time-interval limits
    • You can configure limit and limit_reset_delay
    • Timer is started on last allowed command use (if limit is 2, it will start at second command use)
    • Limit is reset when timer finishes
    • Timer is saved on server restart (and runs even when server is stopped, just like cooldowns)
----------, Jan 2, 2015

Resource Information
Author:
----------
Total Downloads: 1,217
First Release: Dec 30, 2014
Last Update: Jun 9, 2025
Category: ---------------
All-Time Rating:
49 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings