[+] Added maxPlayerLevel in config.ts
[/] admin_godmode renamed to game_godmode. The reason for this is to maintain consistency in the names. The game commands usually change something in the player, while admin does something global
[fix] game_set_tank now checks for permission before setting tank.
[fix] game_set_level now caps the level if the player is not full access.
[/] Permission levels of game_add_upgrade_points, game_set_stat, game_set_stat_max and game_teleport raised to FullAccess. This is to avoid overpowered tanks.The three items above close issue #107
[Tecnical]
[+] CommandCallback can return string | void now. If it returns a string, the returned string will be sent as a notification to the player who executed the command.
[+] isCheat flag added to CommandDefinition. When set to true, use the command it will set the yellow name. This close the issue #108
[/] Modified type of devCheats from number to boolean
[/] Modified how devCheatsUsed is set. Should be set via setDevCheatsUsed(value: bool)
Confirm the following:
[x] I have tested these changes (by compiling, running, and playing) and have seen no unintended differences in gameplay
[+] Added
maxPlayerLevel
in config.ts [/]admin_godmode
renamed togame_godmode
. The reason for this is to maintain consistency in the names. Thegame
commands usually change something in the player, whileadmin
does something global [fix]game_set_tank
now checks for permission before setting tank. [fix]game_set_level
now caps the level if the player is not full access. [/] Permission levels ofgame_add_upgrade_points
,game_set_stat
,game_set_stat_max
andgame_teleport
raised to FullAccess. This is to avoid overpowered tanks. The three items above close issue #107[Tecnical] [+] CommandCallback can return string | void now. If it returns a string, the returned string will be sent as a notification to the player who executed the command. [+] isCheat flag added to CommandDefinition. When set to
true
, use the command it will set the yellow name. This close the issue #108 [/] Modified type of devCheats fromnumber
toboolean
[/] Modified how devCheatsUsed is set. Should be set via setDevCheatsUsed(value: bool)Confirm the following: