Using the config is as simple as setting up your spigot server!
Code (YAML):
# the config to change your commands!
# Use '&' for color coding
# ACTIONS
# [MSG] => sends a message to the command sender # [PLAYER_CHAT] => player will try to send the message # [PLAYER_COMMAND] => player will try to execute the command
# PLACEHOLDERS (only work in actions)
# <PLAYER> => player who executed the command # <ARG{x}> => arg at index {x} for example <ARG1> !! WIP !! # <ARGS> => combined string of all args prefix: "&f[&cMSC&f] &7" commands: # example command help: # this name can be anything name: "help" enabled: true
# can be left blank; default is true requirePlayer: false
# default is true description: "Default help message" usage: "help"# use '<arg>' for needed arguments and '[arg]' for optional arguments insufficientPermissions: "&cYou don't have the permission to perform this command!"# this is the default and is the same when left blank requirePlayerMessage: "&cYou need to be a player to perform this command!"# this is the default and is the same when left blank aliases: # aliases can be left blank; name will automatically be added to the aliases -
"helpme" -
"info" permissions: -
"example.help" -
"example.help2" actions: -
"[MSG] I hope &6this &7will help you!" gms:
name: "gms" description: "Sets you into survival mode"# can be left blank # usage can be left blank; will automatically be 'usage: {name}' ; {name} in this case meaning 'gms' permissions: -
"example.gms" actions: -
"[PLAYER_COMMAND] gamemode survival" colored:
name: "colored" description: "Lets you send a message with color codes" aliases: -
"color" permissions: -
"example.colored" actions: -
"[PLAYER_CHAT] <ARGS>"