Custom commands - momoservertw/PlayerdataPlus GitHub Wiki
Commands can be executed by following types.
Support Placeholders.
- log - sends the message to console.
- broadcast - sends the message to all players.
- console - executes the command by server.
- bungee - executes BungeeCord command. (need BungeeCord)
When the command has a target.
- op - executes the player command as operator. It will bypass that command permission.
- player - executes the player command.
- chat - sends chat message from player.
- message - sends message to player.
- switch sends player to another server. (need BungeeCord)
When the command has multiple targets.
- all-op - executes the player command as operator for every target. It will bypass that command permission.
- all-player - executes the player command for every target.
- all-chat - sends chat message from player for every target.
- all-message - sends message to player for every target.
- all-switch sends player to another server for every target. (need BungeeCord)
Example
Commands:
- "log: &aCustom command: log"
- "player: msg %player% &aCustom command: player"
- 'console: say &aCustom command: console'
- 'broadcast: &aCustom command: broadcast'