Command
Jump to navigation
Jump to search
Template to display a Description, command and permission.
Usage
{{Command|command|description|permission}}
Examples
Full Example
Code
{{Command|train|Main command of TrainCarts|train.command.train}}
Result:
| Main command of TrainCarts | |
| Command | /train |
|---|---|
| Permission | train.command.train |
No permissions
Code
{{Command|train|Main command of TrainCarts}}
Result
| Main command of TrainCarts | |
| Command | /train |
|---|---|
No Description
Code
{{Command|train||train.command.train}}
Result
| Command | /train |
|---|---|
| Permission | train.command.train |
With Examples
Code
{{Command|train setname [name]|Set the name of the selected train|train.command.name|/train setname SomeName}}
Result
| Set the name of the selected train | |
| Command | /train setname [name] |
|---|---|
| Permission | train.command.name |
| Examples | |
| /train setname SomeName | |