From e065cdc096e78f5eeebeda0c19993d2b25a4bab4 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 4 Apr 2021 23:19:52 -0500 Subject: [PATCH] Fix divider style, change cmd init log to info --- scripts/server/command.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/scripts/server/command.js b/scripts/server/command.js index 548eaeb5..0729961c 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -10,6 +10,8 @@ let serverCommands = []; +// =========================================================================== + let builtInCommands = [ "refresh", "restart", @@ -26,10 +28,10 @@ let builtInCommands = [ // =========================================================================== function initCommandScript() { - logToConsole(LOG_DEBUG, "[Asshat.Command]: Initializing commands script ..."); + logToConsole(LOG_INFO, "[Asshat.Command]: Initializing commands script ..."); serverCommands = loadCommands(); //addAllCommandHandlers(); - logToConsole(LOG_DEBUG, "[Asshat.Command]: Initialized commands script!"); + logToConsole(LOG_INFO, "[Asshat.Command]: Initialized commands script!"); } // =========================================================================== @@ -217,6 +219,14 @@ function loadCommands() { //commandData("speakerphone", togglePhoneSpeakerCommand, "", getStaffFlagValue("none"), true, false), commandData("radio", walkieTalkieChatCommand, "", getStaffFlagValue("none"), true, false), commandData("r", walkieTalkieChatCommand, "", getStaffFlagValue("none"), true, false), + + commandData("additemtype", createItemType, "", getStaffFlagValue("manageItems"), true, false), + commandData("itemusetype", setItemTypeUseTypeCommand, " ", getStaffFlagValue("manageItems"), true, false), + commandData("itemuseval", setItemTypeUseValueCommand, " ", getStaffFlagValue("manageItems"), true, false), + commandData("itemorderprice", setItemTypeOrderPriceCommand, " ", getStaffFlagValue("manageItems"), true, false), + commandData("itemriskmult", setItemTypeRiskMultiplierCommand, " ", getStaffFlagValue("manageItems"), true, false), + + ], job: [ commandData("takejob", takeJobCommand, "", getStaffFlagValue("none"), true, false),