CommandButtons ~ Execute Commands on Block Interaction icon

CommandButtons ~ Execute Commands on Block Interaction -----

Bind commands to blocks, with permissions, cooldowns, and economy.




• Added support for Minecraft 1.21.4.
----------, Dec 19, 2024

• Fixed an error that would cause the editor to not open if there is a Command Button associated with a block that cannot be directly displayed inside an inventory menu. Notoriously, signs (which are identified as WALL_SIGNs if they are in the block form, and just SIGNs if they are in the item form) would result in this issue. This fix should allow the editor menu to be opened more consistently. However, on versions lower than Minecraft 1.12.2, more Command Buttons may show up as barriers instead of the actual material. This is a purely cosmetic limitation.
----------, Sep 21, 2024

• Fixed a fatal "IllegalArgumentException: NETHER_PORTAL isn't an item" error that occurred when starting the plugin on an MC 1.21 server.
----------, Jul 19, 2024

• Added formal support for Minecraft 1.21.
----------, Jun 25, 2024

• Fixed an issue where certain classes (which were mistakenly included) would deceive various plugins (such as those using the Cloud command framework) into thinking the server is running Paper. This typically caused a "ClassNotFoundException" error on Spigot servers; however, all users are encouraged to update.
----------, May 27, 2024

• Added support for Minecraft 1.20.5 and 1.20.6.
----------, May 26, 2024

• Fixed an error that would be thrown if an empty command (/) is executed.
----------, Jan 20, 2024

• Fixed a buffer overrun error that would occur when using backslashes at the end of commands.
• Fixed a NoSuchElementException that occurred when executing invalid or unknown commands on Paper-based servers.
• Added support for MC 1.20.4.
----------, Jan 18, 2024

• Added support for MC 1.20.2.
• Various minor optimizations.
----------, Oct 14, 2023

• Fixed an error being thrown in the console when a player does not have permission to use a Command Button.
• Added more customizable command-related messages. You must reset your messages.yml (delete the file and restart your server) to see the new changes.
----------, Jul 4, 2023

• Fixed various issues on Minecraft 1.20.x.
----------, Jun 18, 2023

• Fixed a relocation issue with the command library.
----------, Jun 16, 2023

• Added official support and compatibility for Minecraft 1.20, including Minecraft 1.20.1.
• Updated dependencies and the plugin base, improving overall performance and stability.
----------, Jun 16, 2023

• Fixed player skulls displaying as air (invisible) in the GUI on versions <1.13.
• Updated dependencies.
----------, Nov 14, 2022

• You can now blacklist certain blocks from being interacted with (if they have a command button attached) by adding the block's name in settings.yml. For example, adding CHEST to this list would prevent chests that are command buttons from being opened.
----------, Feb 19, 2022

• Delayed button loading until after all other plugins have loaded to ensure compatibility with custom world plugins such as Multiverse.
• Fixed pressure plate (physical) interactions not working on versions 1.9 and higher.
• Added a 500-millisecond timeout between attempted button interactions to prevent spam when holding down a mouse button or staying on a pressure plate.
----------, Jan 27, 2022

• An extremely broken version of the plugin was accidentally uploaded as 5.0.0, with a major dependency (PluginBase) just disappearing. This has been fixed.
----------, Jan 26, 2022

WARNING: Due to significant changes in this version, language.yml and data.yml from previous versions will NOT be compatible with CommandButtons 5. Please delete these files prior to installing this new version.

It's been almost... **700 days** since I first announced that this update was being worked on. But it's back, better than ever! Anyways, here's the changelog!

• Full recode using PluginBase and 1.18 as the native version, with tab completion, better performance, and unmatched code design. My coding skills a few years back were... *questionable* to say the least.
• Redesigned all GUI menus, with a list of all your command buttons in the main menu.
• Added multiple locations support for all command buttons, so multiple buttons can share the same properties.
• Removed restrictions on what block type of blocks you can turn into a command button.
• Added per-player cooldowns.
• Cooldowns can now be per-player, instead of only being global.
• Added cost and cooldown bypass permissions.
• Removed Vault dependency. Economy features will now simply be disabled if the plugin is unable to hook into an economy plugin.
• Implemented a new chat input request system from PluginBase, fixing many chat input issues with certain plugins.
• Added cooldown data saving, allowing cooldowns to persist across restarts.
• Fixed a bunch of concurrency issues with the GUI editor.
• Improved the general style and appearance of messages and menus.
• Moved all commands under the base command "/commandbuttons".
• Removed "list" and "info" sub-commands.
• Removed a bunch of useless command aliases.
• Removed the 5 second delay before opening the GUI after creation and chat input. No idea why I thought this was a good feature.
• Improved commands and messages editing GUI controls.
• New artwork and design!


Configuration & Data Files
Due to significant changes in this version, language.yml and data.yml from previous versions will NOT be compatible with CommandButtons 5. Please delete these files prior to installing this new version.


Updates like these take a lot of effort, and I work on them during my free time. GitHub contributions, donations (https://paypal.me/realdemeng7215), or a simple review would be greatly appreciated. Thank you!
----------, Jan 26, 2022

Fixed coloring issue in the info message and fixed a duplication glitch in developer notifications.
----------, Dec 16, 2019

Apologies for the long wait, but this massive update is finally ready for release! This update is so large, it almost became CommandButtons 5!

There are no configuration changes in this update, however there are a lot of other changes!
Removed Remain API from the project -> File size SIGNIFICANTLY reduced!
• Now using my brand new API, DemLib for increased efficiency and performance!
• Completely re-did the configuration file style. The files are now much more noob-friendly!
• Console/player commands mess-up bug fix! (oopsies)
• Changed default messages in language.yml to make them more professional and easy to understand.
• Changed some materials in the GUIs to support 1.8-1.15 without Remain API.
• Native version is now 1.15.
• Fixed website URL in plugin.yml.
• Improve titles/subtitles performance.
• Removed prefix from help command, info command, and awaiting listeners.
• Fix default command mistake.
• General optimizations, performance boosts, and file size shrinking.

IT IS HIGHLY RECOMMENDED THAT YOU DOWNLOAD THIS UPDATE!!!

If you enjoy this update, please consider donating @ https://paypal.me/realdemeng7215 :)
----------, Dec 15, 2019

• Fixed custom permissions not functioning at all.
• Added the ability to set the permission to "none" to allow all players to use the button.

Thanks to everyone on Discord who helped me with fixing this issue.
The Old Myron Siren#2673
Blood3x#7601
ZellR#4386
----------, Aug 14, 2019

Quick update that changes the native version to 1.14.4. Optional update and shouldn't affect anything.
----------, Aug 8, 2019

Fixed an issue/bug where any player is allowed to use permission-restricted Command Buttons.
Thank you ZellR#4386 (on Discord) for reporting this to me. :)
----------, Aug 8, 2019

• Fixed a crucial bug where the chat has to be completely silent in order for a Command Button to be properly created.
• Slight modification one startup message.
----------, Aug 3, 2019

• Fixed "none" message showing when messages are removed.
• Added Korean locale. Open the jar in archive and put the ko_language.yml file into the CommandButtons folder. Then, rename it to language.yml and replace it with the current.
----------, Jul 15, 2019

[​IMG]
Introducing the largest update in CommandButtons history...
After 6 months of waiting...
The time has finally come...
For me to release 4.0.
• COMPLETE RECODE: CommandButtons has been completely rebuilt from scratch with a new API, huge bug fixes, great performance boosts, code optimization, and cleaner code.
CUSTOMIZE BUTTONS IN-GAME: You are now able to customizable all of your Command Buttons in-game through an epic GUI. No more digging through config files and reloading!
A CRAP TON OF BUG FIXES: Too many to list.
NEW API: CommandButtons now uses DemAPI and the newest 1.14.3 Spigot API.
SUPPORT FOR MORE VERSIONS: 1.8-1.14!
NEW MESSAGES, ASCII ART, OVERALL PLUGIN DESIGN: Enjoy the fresh designs!
NEW THREAD DESIGN: The overview has been completely redone and looks so much better.
UNLIMITED MESSAGES: You are no longer limited to only a single message!
• Renamed "timeout" to cooldown.
• Removed "delays".
• Fixed fatal errors.
And more!

Note that all users coming from CommandButtons 3 must delete all of their CommandButtons files in order for this update to work. Your storage file cannot be transferred.

I've worked super hard on this update, so I would really appreciate it if you could drop a donation!

https://patreon.com/Demeng7215
https://paypal.me/realdemeng7215

Don't forget to report any bugs or errors you experience! :)

~ Demeng7215
----------, Jul 15, 2019

CommandButtons is now switching to a DIRECT download, which means you are able to download older versions- keeping in mind that you will not receive support for legacy releases.
Also, once again: CommandButtons is not dead. CommandButtons 4's GUI management is just taking a lot of time. Please be patient and don't hate <3
----------, Jun 15, 2019

Fixed the ConcurrentMethodException you may get on timeouts, and optimized the pom.xml (double maven shade plugins).
----------, Jan 12, 2019

The download method for this plugin has been changed. You will not be notified of an update in-game, this is considered a "Silent Update".
----------, Jan 11, 2019

A quick, "silent" update that changes the default "not-button" message.
----------, Dec 10, 2018

Fixed a bug where pressure plates did not work for servers under MC 1.13.
https://github.com/Demeng7215/CommandButtons/issues/1
----------, Dec 10, 2018

Thanks for waiting patiently, everyone! This update includes:

-Support for SIGNS! CommandButtons signs can be activated via right click or left click, on the ground or on a wall! Signs currently support all features, meaning delays, prices, etc. already work on them! (Y'all better thank @Geitenijs for this!)
-A chat formatting fix: you should no longer see raw color codes in your prefix and messages.
-MAJOR bug fix: you should no longer receive an error when using CommandButtons when the economy option is disabled.
-Message improvements: update message has been reformatted!

Also, THANK YOU SO MUCH FOR 300 DOWNLOADS!
----------, Dec 2, 2018

Sorry for not updating in a while! I reset my PC and I lost all my projects, but fortunately, this project is open-sourced :)

• I kind of got tired of the current color theme for the plugin (gold, yellow, gray) and decided to switch it to dark red, gold, and yellow. It looks much better in my opinion, and if you are still using the default colors, I highly recommend that you switch to this new one!
• Removed config version check as it was useless.
• This project is now Maven!
• Other small tweaks and improvements.

It is mandatory for you to delete your config.yml for this update. buttons.yml has not been changed. language.yml can be deleted if you would like to see the new color theme.

I have also implemented a new support system. General support will be provided in my Discord server, which you can find in the Overview. Errors, issues, bugs, suggestions, etc. will be handled through the official issue tracker on GitHub (link in overview). Support on Spigot will still be given but it's slower and less efficient.

Oh, and one last thing: WE ARE ALMOST AT 200 DOWNLOADS! THANK YOU SO MUCH FOR THE SUPPORT! :love:
----------, Nov 9, 2018

The version number is the same so that server currently running CommandButtons will not get an update notification and they won't be annoyed since this is a TINY update.

-moved "TimeoutTimer" to a new "tasks" package.
----------, Oct 24, 2018

Sorry, I just realized that I forgot to remove a test message that is sent when the plugin enables.
----------, Oct 24, 2018

Quick update:

-Changed the update notification message.
-Update notifications in-game for players with the "commandbuttons.updates" permission and OP's.
-Small enhancements in events.
----------, Oct 21, 2018

The update is finally here! This update includes:

-TIMEOUTS! You can not configure how long players have to wait between Command Button usages. Suggested by @FRAGAXE!
-Bug fixes.

You must add the key "timeout_wait" with the timeout message to your language.yml and "timeout" with the timeout time in seconds to each of your buttons in storage.yml. If you don't know how to do this or you are worried about corrupting the plugin, simply delete all of your configuration files and restart your server.

Thank you for all the support and suggestions for this plugin! Please consider donating to further support me @ https://patreon.com/Demeng7215/
Enjoy the update! :)
----------, Oct 21, 2018

This is a quick update before I start working on timeouts and tab completion.

-Switched from singleton to dependency injection for getting the instance of the main class (code optimization).
-Removed the "\n", or the extra line in the invalid command usage message in the default language.yml. You do not have to delete your file.
-New fancy startup message! upload_2018-10-16_17-50-37.png

Please remember to use my official support Discord for issues, or Private Message me if you do not have an account/can not use Discord.
----------, Oct 16, 2018

It is highly recommended that you update and use this version!

-CommandButtons now OFFICIALLY supports Minecraft 1.13.x! Legacy versions will still be supported.
-Compiled with Spigot 1.13
-Using 1.13 Vault API
-Removed leftover debug messages
-Small changes to the default configuration files and CommandButtons' configurations. You do not have to delete the files if you don't want to.
-Changed the (default) help messages, please join my Discord for support. Only PM if you don't have Discord.

One of the features in the next update will be tab complete! If you appreciate my work, please leave a 5-star review or become a patron at https://patreon.com/Demeng7215/ ;)
----------, Oct 14, 2018

Reorganized the classes into different packages and added a listener that notifies me that you are using CommandButtons when I join.
----------, Oct 13, 2018

Thanks for waiting patiently, everyone!
This update includes file changes, be sure to delete your configuration.yml and language.yml before you load the plugin.

This update includes:
-PRESSURE PLATES SUPPORT! (Thank you @Junac !)
-fixed reloading files (fixed reload message not sending)
-improved code
-fixed buttons.yml not updating (fixed saving files)

Please report any errors and suggest what you want on my official support Discord, https://discord.gg/bVK3fYq/
If you do not have Discord, support in private messages and discussions will still be granted.
----------, Oct 11, 2018

Changed the package name! I now have a website: http://demeng7215.ga
Also, the plugin should work on 1.13.
----------, Sep 30, 2018

Optimized the code by a little bit.
----------, Sep 20, 2018

Added correct resource ID to update checker and enabled it. You will now get update notifications when I update this resource! :eek:
----------, Sep 20, 2018

Resource Information
Author:
----------
Total Downloads: 16,922
First Release: Sep 20, 2018
Last Update: Dec 19, 2024
Category: ---------------
All-Time Rating:
24 ratings
Find more info at demeng.dev...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings