Skip to content
Ontey6 edited this page Sep 6, 2025 · 2 revisions

Format

Text related settings

Prefix

Sets the prefix that is used for console logging

format.prefix: '[CCMD]'

Placeholder Format

Sets the formatting of placeholders. %ph is the placeholder name.

format.placeholder-format: '<%ph>

Actionholder Format

Sets the formatting of actionholders. %ah is the actionholder name

format.actionholder-format: '<!%ah>

Development

Settings that make development easier

Hotswap

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

Defaults

The default values for the corresponding keys in a command

Permission

%cmd is replaced with the command name.

defaults.permission: ccmd.command.%cmd

Usage

Bukkit provides two tools: <command> for the command name and \n for new line

defaults.usage: /<command>

Description

Bukkit provides two tools: <command> for the command name and \n for new line

defaults.description: 'Server Command'

Namespace

The default Namespace for commands that don't have it set.

defaults.namespace: 'customcommand'

No Tab

The tab completer that is shown when a command has none set.

defaults.no-tab: players

Tab

Settings related to tab removal

Remove Namespaced Plugin Commands

Removes all commands that start with the default namespace

remove-namespaced-plugin-commands: false

Remove Namespaced Commands

Removes any commands that have a namespace, no matter where they come from.

Boolean True

Sets the values that are accepted to be true. All other results return false

boolean-true: ['true', 'yes']

Remove Colors in Console

Removes color codes when sending a message to a console.

remove-colors-in-console: false

Paths

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'

Clone this wiki locally