The Allowed-Commands-In-Prompt
option defines a list of commands that CommandPrompter allows when a player executes another command while completing a prompt.
You can configure the Allowed-Commands-In-Prompt
by editing the appropriate configuration file, typically named "config.yml" or similar, with the following:
In this example, the specified commands (sampleCommand
, sampleCommand2
) are allowed to be executed while completing a prompt.
The Allowed-Commands-In-Prompt
option is designed to control which commands are permitted when a player is in the process of completing a prompt. This allows users to execute specific commands without canceling the ongoing prompt, enhancing flexibility and user experience.
To add or remove commands from the allowed list, modify the configuration as needed:
This will update the list to allow the execution of newCommand
in addition to the existing allowed commands.
Commands listed in Allowed-Commands-In-Prompt
should not include the "/" prefix.
Allowed commands that contains prompts will still be blocked.