ABCxFF / diepcustom

An open source diep.io custom private-server template
https://diepcustom.herokuapp.com/
GNU Affero General Public License v3.0
69 stars 60 forks source link

Fixes and Commands #110

Closed nodenotjs closed 1 year ago

nodenotjs commented 1 year ago

[+] 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: