Add /god alias for /godmode
Some of these commands really need more intuitive aliases. Therefore, I've added another intuitive alias that matches other server mods.
This commit is contained in:
parent
f811be6cf8
commit
bf403a17ec
2 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ This is the rolling changelog for TShock for Terraria. Use past tense when addin
|
||||||
## Upcoming changes
|
## Upcoming changes
|
||||||
* Changed the world autosave message so that it no longer warns of a "potential lag spike." (@hakusaro)
|
* Changed the world autosave message so that it no longer warns of a "potential lag spike." (@hakusaro)
|
||||||
* Added `/slay` as an alias for `/kill` to be more consistent with other server mods. (@hakusaro)
|
* Added `/slay` as an alias for `/kill` to be more consistent with other server mods. (@hakusaro)
|
||||||
|
* Added `/god` as an alias for `/godmode` to be more consistent with other server mods. (@hakusaro)
|
||||||
|
|
||||||
## TShock 4.5.4
|
## TShock 4.5.4
|
||||||
* Fixed ridiculous typo in `GetDataHandlers` which caused TShock to read the wrong field in the packet for `usingBiomeTorches`. (@hakusaro, @Arthri)
|
* Fixed ridiculous typo in `GetDataHandlers` which caused TShock to read the wrong field in the packet for `usingBiomeTorches`. (@hakusaro, @Arthri)
|
||||||
|
|
|
||||||
|
|
@ -541,7 +541,7 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
HelpText = "Gives another player a buff or debuff for an amount of time. Putting -1 for time will set it to 415 days."
|
HelpText = "Gives another player a buff or debuff for an amount of time. Putting -1 for time will set it to 415 days."
|
||||||
});
|
});
|
||||||
add(new Command(Permissions.godmode, ToggleGodMode, "godmode")
|
add(new Command(Permissions.godmode, ToggleGodMode, "godmode", "god")
|
||||||
{
|
{
|
||||||
HelpText = "Toggles godmode on a player."
|
HelpText = "Toggles godmode on a player."
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue