- Tested Minecraft Versions:
- Source Code:
Making commands more interactive.
What is this plugin for?
CommandPrompter is for plugins such as DeluxeMenus or Chest Commands, where players could click an Item in the GUI and execute a command that has been pre-defined in the config as the player that clicked the item. The downside of these plugins is that you already have to provide a command argument for the command. Now with CommandPrompter, you can configure that pre-defined command for an Item to have an argument prompt.
Demo (Gif credit goes to clip):
*demo presented with DeluxeMenus
How do I use this plugin?
If a player executes a command with arguments that are surrounded by "<" and ">". Those arguments are considered prompts. So after a player executes a command with prompts. CommandPrompter will send those prompts back to the player without the "<>" one by one and wait for the player's response. CommandPrompter will keep sending prompts until all the arguments have been replaced with the player's response.
All prompts have been answered, CommandPrompter now makes the player execute the command "/gamemode creative".Code (Text):Player executes: /gamemode <What game mode do you want to switch to?>
CommandPrompter sends: What game mode do you want to switch to?
Player sends: creative
How do I cancel command once I'm already prompted?
Just reply "cancel" to CommandPrompter and it will stop the command execution.
Just drag and drop the jar file to your plugins folder. No need to configure anything, no permissions, and no commands. But there is a config file if you do want to configure it. Should work like a charm.
Menu plugin configuration:
On your menu plugin. Just configure an item to have a command that has argument prompts (surrounded by <>) and that command will be dispatched by the player when the Item gets clicked.
The idea for this plugin came from the user named Tommiek on Bukkit forums. Someone already wrote a similar plugin according to the thread, but the project page for that plugin can no longer be found. So I tried to recreate the plugin. The link for that thread is here.
You can also....
Check out MineCordBot - A powerful way to bridge Minecraft and Discord.
Join my Discord - If you need help or you just want to join our awesome community.
You can donate - to support me and buy me a cup of coffee to keep me working.
Great Plugin Companion for DeluxeMenus or ChestCommand
- Fix error with brigadier support May 28, 2019
- 0.1.11 patched. May 23, 2019
- Added the ability to change prompt regex, added localization, fixes, and optimization. May 23, 2019