From a18b1cedb9483d3aa4d75bd484acf72ceeb9af03 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Thu, 24 Dec 2020 19:36:17 -0600 Subject: [PATCH] addhouse cmd, goto/get * dir tp cmds --- scripts/server/command.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/server/command.js b/scripts/server/command.js index 408da472..7afb7653 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -117,6 +117,7 @@ function loadCommandData() { commandData("help", helpCommand, "", getStaffFlagValue("none"), false, false), ], house: [ + commandData("addhouse", createHouseCommand, "", getStaffFlagValue("manageHouses"), true, false), commandData("houseinfo", getHouseInfoCommand, "", getStaffFlagValue("none"), true, false), //commandData("housedesc", setHouseDescriptionCommand, "", getStaffFlagValue("none"), true, false), //commandData("houselock", lockUnlockHouseCommand, "", getStaffFlagValue("none"), true, false), @@ -170,6 +171,14 @@ function loadCommandData() { commandData("freeze", freezeClientCommand, " [reason]", getStaffFlagValue("basicModeration"), true, true), commandData("unmute", unMuteClientCommand, " [reason]", getStaffFlagValue("basicModeration"), true, true), commandData("unfreeze", unFreezeClientCommand, " [reason]", getStaffFlagValue("basicModeration"), true, true), + commandData("goto", gotoPlayerCommand, "", getStaffFlagValue("basicModeration"), true, true), + commandData("gethere", getPlayerCommand, "", getStaffFlagValue("basicModeration"), true, true), + commandData("fr", teleportForwardCommand, "", getStaffFlagValue("basicModeration"), true, true), + commandData("ba", teleportBackwardCommand, "", getStaffFlagValue("basicModeration"), true, true), + commandData("lt", teleportLeftCommand, "", getStaffFlagValue("basicModeration"), true, true), + commandData("rt", teleportRightCommand, "", getStaffFlagValue("basicModeration"), true, true), + commandData("up", teleportUpCommand, "", getStaffFlagValue("basicModeration"), true, true), + commandData("dn", teleportDownCommand, "", getStaffFlagValue("basicModeration"), true, true), commandData("addstaffflag", addStaffFlagCommand, " [flag name]", getStaffFlagValue("manageAdmins"), true, true), commandData("delstaffflag", takeStaffFlagCommand, " [flag name]", getStaffFlagValue("manageAdmins"), true, true), @@ -201,7 +210,7 @@ function loadCommandData() { commandData("vehjob", setVehicleJobCommand, "[job id/name]", getStaffFlagValue("manageVehicles"), true, true), commandData("vehdelowner", removeVehicleOwnerCommand, "", getStaffFlagValue("manageVehicles"), true, true), - commandData("vehinfo", getVehicleInfoCommand, "", getStaffFlagValue("manageVehicles"), true, true), + commandData("vehinfo", getVehicleInfoCommand, "", getStaffFlagValue("none"), true, true), commandData("vehpark", toggleVehicleSpawnLockCommand, "", getStaffFlagValue("manageVehicles"), true, true), commandData("vehrespawnall", respawnAllVehiclesCommand, "", getStaffFlagValue("manageVehicles"), true, true), commandData("vehreloadall", reloadAllVehiclesCommand, "", getStaffFlagValue("manageVehicles"), true, true), @@ -212,6 +221,8 @@ function loadCommandData() { commandData("stoprent", stopRentingVehicleCommand, "", getStaffFlagValue("none"), true, true), commandData("vehbuy", buyVehicleCommand, "", getStaffFlagValue("none"), true, true), commandData("vehcolour", setVehicleColourCommand, " ", getStaffFlagValue("none"), true, true), + commandData("vehrepair", vehicleRepairCommand, "", getStaffFlagValue("none"), true, true), + commandData("passenger", enterVehicleAsPassengerCommand, "", getStaffFlagValue("none"), true, true), ], } return tempCommands;