-
Notifications
You must be signed in to change notification settings - Fork 43
commands.yml
goflishMC edited this page Jan 25, 2024
·
7 revisions
Within the commands.yml file located in /plugins/proskillapi/commands.yml
you are able to alter the following:
Type | Description |
---|---|
Name: | This is the name of the command. All commands start with /class , however you can also change /class to something else in this file. |
Description | Short description of the command. This is also shown in /class help where applicable. |
args | This is a placeholder and can be changed. |
Sender | This determines if a command can be sent by player, player only, anyone or console only. |
Enabled | Setting this to false would disable this command. |
Cooldown | This would set a cooldown in seconds for this command before it can be used again by the same player. |
Messages | These are the messages shown in chat. Not all commands have messages, however you can alter the messages that are available. |
Note about Sender
- PLAYER_ONLY: Can only be executed by the player.
- CONSOLE_ONLY: Can only be executed in the console.
- ANYONE: Can be executed by player or console.