Transfers a player to any server.
- player: Player - The player
- host: string - The host address of the destination server
- port: number - The port number of the destination server
Kicks a player out.
Note
This feature is under development. It is planned to be able to kick by the player's id in the future.
- playerName: string - Player name
- reason: string - Reason for expulsion
Stops the server.
Reloads mcfunction and scripts.
Executes any command with console privileges.
- command: string - The command to execute
- result?: boolean = false - If true, the result can be received
Executes any shell command.
- mainCommand: string - Specify an executable file
- ex) Type
"git"
when you rungit pull
- ex) Type
- args?: string[] - Specify command arguments
- ex) Type
["pull"]
when you rungit pull
- ex) Type
- result?: boolean - If true, the result can be received