CommandAPI icon indicating copy to clipboard operation
CommandAPI copied to clipboard

The CommandAPI needs to have much more strict configuration checking

Open JorelAli opened this issue 3 years ago • 0 comments

Description

If you have the following in your config.yml (note the erroneous values for other-commands-to-convert and skip-sender-proxy):

# Plugins to convert (default: [])
# Controls the list of plugins to process for command conversion.
plugins-to-convert:
- LuckPerms: ~

# Other commands to convert (default: [])
# A list of other commands to convert. This should be used for commands which
# are not declared in a plugin.yml file.
other-commands-to-convert:
- LuckPerms: ~

# Skip sender proxy (default: [])
# Determines whether the proxy sender should be skipped when converting a
# command. If you are having issues with plugin command conversion, add the
# plugin to this list.
skip-sender-proxy:
- LuckPerms: ~

The CommandAPI exhibits strange behaviour. The CommandAPI's configuration needs to have much stricter checks to identify invalid configuration

Expected code

No response

Extra details

No response

JorelAli avatar Oct 04 '22 11:10 JorelAli