Skip to content

Configuration

Ethan Bacurio edited this page Jan 17, 2022 · 1 revision

CommandPrompter has two configuration files. One for general CommandPrompter configuration named config.yml and prompt-config.yml to configure the looks of UI prompts.

config.yml

# +----------------------------------------------------+
# <                  Command Prompter                  >
# <                   Configuration                    >
# +----------------------------------------------------+

# Set the plugin prefix
Prompt-Prefix: '[&3Prompter&r] '

# After how many seconds until
# CommandPrompter cancels a
# prompt
Prompt-Timeout: 300

# Word that cancels command
# prompting.
Cancel-Keyword: cancel

# Enable permission check
# before a player can use
# the prompting feature
# 
# Checking for commandprompter.use
Enable-Permission: false

# Allow CommandPrompter to
# check if it''s up to date.
Update-Checker: true

# This will determine if
# a part of a command is
# a prompt.
# 
# ONLY CHANGE THE FIRST AND LAST
# I.E (.*?), {.*?}, or [.*?]
Argument-Regex: <.*?>

# Enable debug mode for CommandPrompter.
Debug-Mode: false

# Enable unsafe features for
# CommandPrompter. Enabling this
# allows CommandPrompter to
# modify the command map and
# catch dispatched commands
Enable-Unsafe: false

# If Enable-Unsafe is set to
# true, this delay (in ticks)
# will be used before modifying
# the command map to allow all
# plugins to register all of
# their commands First
# 
# If you experience issues,
# increase the value of this delay.
# Note that 20 ticks is 1 second.
Modification-Delay: 1

# Should CommandPrompter send
# the completed command to the
# player before dispatching it?
Show-Complete-Command: true

Clone this wiki locally