๐Wiki
Create your first command!
commands:
info: # <- command name (without /)
perm: 'info.admin' # <- permission to use this command
perm-message: '&cYou cannot use this command!' # <- message when player don't have permission
#multi actions
actions:
action-1:
type: 'text'
action:
- '&#DBC7FFSended to all players!!' # <- to use HEX color, use &#HEXCODE
action-2:
type: 'broadcast'
action:
- '&aSended from {PLAYER}!'
- '&aHI ALL!'Actions
There are 5 types of actions.
replace
Replace command to another command.
text
Send message to player who use command.
broadcast
Broadcast message to all players on server.
server_command
Execute command as console.
player_command
Execute command as console.
Commands
When you add new command or change name existing command, you need to restart server!
Bukkit server don't support add new commands without restart server :c
Placeholders
{PLAYER} - player name who use command.
Hex
To use HEX color, use &#HEXCODE (ex. &#DBC7FF)
Last updated