From 319337bc57c12d21c8ef6541b3cf287f24316408 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Fri, 18 Dec 2020 19:02:38 -0600 Subject: [PATCH] Add house commands --- scripts/server/command.js | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/scripts/server/command.js b/scripts/server/command.js index 2428c6f4..f660026f 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -111,7 +111,13 @@ function loadCommandData() { help: [ commandData("help", helpCommand, "", getStaffFlagValue("none"), false, false), ], - house: [], + house: [ + commandData("houseinfo", getHouseInfoCommand, "", getStaffFlagValue("none"), true, false), + //commandData("housedesc", setHouseDescriptionCommand, "", getStaffFlagValue("none"), true, false), + //commandData("houselock", lockUnlockHouseCommand, "", getStaffFlagValue("none"), true, false), + //commandData("houseowner", setHouseOwnerCommand, "", getStaffFlagValue("none"), true, false), + + ], item: [], job: [ commandData("takejob", takeJobCommand, "", getStaffFlagValue("none"), true, false), @@ -142,9 +148,11 @@ function loadCommandData() { locale: [], messaging: [], misc: [ - commandData("pos", getPositionCommand, "", getStaffFlagValue("basicModeration"), true, true), + commandData("pos", getPositionCommand, "", getStaffFlagValue("basicModeration"), true, false), commandData("idea", submitIdeaCommand, "", getStaffFlagValue("none"), true, true), commandData("bug", submitBugReportCommand, "", getStaffFlagValue("none"), true, true), + commandData("enter", enterExitPropertyCommand, "", getStaffFlagValue("none"), true, true), + commandData("exit", enterExitPropertyCommand, "", getStaffFlagValue("none"), true, false), ], moderation: [ commandData("kick", kickClientCommand, " [reason]", getStaffFlagValue("basicModeration"), true, true), @@ -169,13 +177,13 @@ function loadCommandData() { translate: [], utilities: [], vehicle: [ - commandData("addveh", createVehicleCommand, "", getStaffFlagValue("manageVehicles"), true, true), - commandData("tempveh", createTemporaryVehicleCommand, "", getStaffFlagValue("manageVehicles"), true, true), - commandData("delveh", deleteVehicleCommand, "", getStaffFlagValue("manageVehicles"), true, true), + commandData("addveh", createVehicleCommand, "", getStaffFlagValue("manageVehicles"), true, false), + commandData("tempveh", createTemporaryVehicleCommand, "", getStaffFlagValue("manageVehicles"), true, false), + commandData("delveh", deleteVehicleCommand, "", getStaffFlagValue("manageVehicles"), true, false), - commandData("lock", vehicleLockCommand, "", getStaffFlagValue("none"), true, true), - commandData("engine", vehicleEngineCommand, "", getStaffFlagValue("none"), true, true), - commandData("siren", vehicleSirenCommand, "", getStaffFlagValue("none"), true, true), + commandData("lock", vehicleLockCommand, "", getStaffFlagValue("none"), true, false), + commandData("engine", vehicleEngineCommand, "", getStaffFlagValue("none"), true, false), + commandData("siren", vehicleSirenCommand, "", getStaffFlagValue("none"), true, false), commandData("vehowner", setVehicleOwnerCommand, "", getStaffFlagValue("manageVehicles"), true, true), commandData("vehclan", setVehicleClanCommand, "", getStaffFlagValue("manageVehicles"), true, true),