-
Notifications
You must be signed in to change notification settings - Fork 0
Config
Text related settings
Sets the prefix that is used for console logging
format.prefix: '[CCMD]'
Sets the formatting of placeholders.
%ph is the placeholder name.
format.placeholder-format: '<%ph>
Sets the formatting of actionholders.
%ah is the actionholder name
format.actionholder-format: '<!%ah>
Settings that make development easier
Determines whether to enable hotswap; Hotswap reloads commands before they are executed. Only reloads the run command, everything else wouldn't make sense.
dev.hotswap: false
The default values for the corresponding keys in a command
%cmd is replaced with the command name.
defaults.permission: ccmd.command.%cmd
Bukkit provides two tools: <command> for the command name and \n for new line
defaults.usage: /<command>
Bukkit provides two tools: <command> for the command name and \n for new line
defaults.description: 'Server Command'
The default Namespace for commands that don't have it set.
defaults.namespace: 'customcommand'
The tab completer that is shown when a command has none set.
defaults.no-tab: players
Settings related to tab removal
Removes all commands that start with the default namespace
remove-namespaced-plugin-commands: false
Removes any commands that have a namespace, no matter where they come from.
Sets the values that are accepted to be true. All other results return false
boolean-true: ['true', 'yes']
Removes color codes when sending a message to a console.
remove-colors-in-console: false
all the keys in this section control what paths the commands use.
All keys support %cmd, which stands for the command name.
Advanced Broadcast keys support %abc, which returns the path to the advanced broadcast section.
Full list:
paths:
message: '%cmd.message'
broadcast: '%cmd.broadcast'
commands: '%cmd.commands'
advanced-broadcast: '%cmd.broadcast'
advanced-broadcast-range: '%abc.range'
advanced-broadcast-permission: '%abc.permission'
advanced-broadcast-condition: '%abc.condition'
advanced-broadcast-broadcast: '%abc.broadcast'
aliases: '%cmd.aliases'
description: '%cmd.description'
usage: '%cmd.usage'
permission: '%cmd.permission'
permission-required: '%cmd.permission-required'
args: '%cmd.args'
tab: '%cmd.tab'
namespace: '%cmd.namespace'
no-tab: '%cmd.no-tab'