From 1053e44b3cec9fcce14378ad69ae498f6070f3aa Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Wed, 11 Aug 2021 09:41:10 -0500 Subject: [PATCH] Add dev cmd to pause interval db saving --- scripts/server/command.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/server/command.js b/scripts/server/command.js index eea6b5ae..81b1bcc4 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -179,6 +179,8 @@ function loadCommands() { commandData("docmdall", simulateCommandForAllPlayersCommand, " [params]", getStaffFlagValue("developer"), true, true), commandData("addloglvl", addServerLogLevelCommand, "", getStaffFlagValue("developer"), true, true), commandData("delloglvl", removeServerLogLevelCommand, "", getStaffFlagValue("developer"), true, true), + + commandData("nosave", togglePauseSavingToDatabase, "", getStaffFlagValue("developer"), true, true), //commandData("loglvl", getServerLogLevelCommand, "", getStaffFlagValue("developer"), true, true), ], discord: [], @@ -329,7 +331,11 @@ function loadCommands() { commandData("nonrpname", forceCharacterNameChangeCommand, "", getStaffFlagValue("basicModeration"), true, true, "Forces a player to change their current character's name."), commandData("forcename", forceCharacterNameCommand, " ", getStaffFlagValue("basicModeration"), true, true, "Changes a character's name directly."), - commandData("forceskin", forcePlayerSkinCommand, " ", getStaffFlagValue("basicModeration"), true, true, "Changes a character's name directly."), + commandData("forceskin", forcePlayerSkinCommand, " ", getStaffFlagValue("basicModeration"), true, true, "Changes a character's skin directly."), + + commandData("getplrhouse", getAllHousesOwnedByPlayerCommand, "", getStaffFlagValue("basicModeration"), true, true, "Shows a list of all houses owned by the player"), + commandData("getplrbiz", getAllBusinessesOwnedByPlayerCommand, "", getStaffFlagValue("basicModeration"), true, true, "Shows a list of all businesses owned by the player"), + commandData("getplrveh", getAllVehiclesOwnedByPlayerCommand, "", getStaffFlagValue("basicModeration"), true, true, "Shows a list of all vehicles owned by the player"), ], security: [], startup: [],