diff --git a/scripts/server/command.js b/scripts/server/command.js index cec08f65..a154cb15 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -58,7 +58,7 @@ function loadCommandData() { commandData("bizpickup", setBusinessPickupCommand, "", getStaffFlagValue("manageBusinesses"), true, true), commandData("bizinfo", getBusinessInfoCommand, "[id]", getStaffFlagValue("none"), true, true), commandData("bizentrance", moveBusinessEntranceCommand, "", getStaffFlagValue("manageBusinesses"), true, true), - commandData("bizexit", moveBusinessEntranceCommand, "", getStaffFlagValue("manageBusinesses"), true, true), + commandData("bizexit", moveBusinessExitCommand, "", getStaffFlagValue("manageBusinesses"), true, true), ], chat: [ commandData("me", meActionCommand, "", getStaffFlagValue("none"), true, false), @@ -109,7 +109,9 @@ function loadCommandData() { commandData("setgui", toggleServerGUICommand, "<0/1 state>", getStaffFlagValue("manageServer"), true, true), commandData("newcharspawn", setNewCharacterSpawnPositionCommand, "", getStaffFlagValue("manageServer"), true, true), commandData("newcharcash", setNewCharacterMoneyCommand, "", getStaffFlagValue("manageServer"), true, true), - commandData("newcharskin", setNewCharacterSkinCommand, "[skin id]", getStaffFlagValue("manageServer"), true, true), + commandData("newcharskin", setNewCharacterSkinCommand, "[skin id]", getStaffFlagValue("manageServer"), true, true), + commandData("jobinfo", getJobInfoCommand, "", getStaffFlagValue("none"), true, true), + commandData("joblocinfo", getJobLocationInfoCommand, "", getStaffFlagValue("none"), true, true), ], core: [], database: [], @@ -139,7 +141,7 @@ function loadCommandData() { commandData("housepickup", setHousePickupCommand, "", getStaffFlagValue("manageHouses"), true, true), commandData("houseinfo", getHouseInfoCommand, "[id]", getStaffFlagValue("none"), true, true), commandData("houseentrance", moveHouseEntranceCommand, "", getStaffFlagValue("manageHouses"), true, true), - commandData("houseexit", moveHouseEntranceCommand, "", getStaffFlagValue("manageHouses"), true, true), + commandData("houseexit", moveHouseExitCommand, "", getStaffFlagValue("manageHouses"), true, true), ], item: [], job: [ @@ -174,7 +176,7 @@ function loadCommandData() { // Admin Job Stuff commandData("addjobloc", createJobLocationCommand, "", getStaffFlagValue("manageJobs"), true, false), commandData("deljobloc", deleteJobLocationCommand, "", getStaffFlagValue("manageJobs"), true, false), - commandData("jobloctoggle", deleteJobLocationCommand, "", getStaffFlagValue("manageJobs"), true, false), + //commandData("jobloctoggle", toggleJobLocationCommand, "", getStaffFlagValue("manageJobs"), true, false), commandData("jobwhitelist", toggleJobWhiteListCommand, "[job id]", getStaffFlagValue("manageJobs"), true, false), commandData("jobblacklist", toggleJobBlackListCommand, "[job id]", getStaffFlagValue("manageJobs"), true, false), commandData("jobtoggle", toggleJobEnabledCommand, "[job id]", getStaffFlagValue("manageJobs"), true, false), @@ -220,6 +222,8 @@ function loadCommandData() { commandData("rt", teleportRightCommand, "", getStaffFlagValue("basicModeration"), true, true), commandData("up", teleportUpCommand, "", getStaffFlagValue("basicModeration"), true, true), commandData("dn", teleportDownCommand, "", getStaffFlagValue("basicModeration"), true, true), + commandData("int", playerInteriorCommand, "", getStaffFlagValue("basicModeration"), true, true), + commandData("vw", playerVirtualWorldCommand, "", getStaffFlagValue("basicModeration"), true, true), commandData("addstaffflag", addStaffFlagCommand, " [flag name]", getStaffFlagValue("manageAdmins"), true, true), commandData("delstaffflag", takeStaffFlagCommand, " [flag name]", getStaffFlagValue("manageAdmins"), true, true), @@ -251,9 +255,10 @@ function loadCommandData() { commandData("vehowner", setVehicleOwnerCommand, "", getStaffFlagValue("manageVehicles"), true, true), commandData("vehclan", setVehicleClanCommand, "", getStaffFlagValue("manageVehicles"), true, true), - commandData("vehdealer", setVehicleToDealershipCommand, "", getStaffFlagValue("manageVehicles"), true, true), + commandData("vehbiz", setVehicleToBusinessCommand, "", getStaffFlagValue("manageVehicles"), true, true), commandData("vehjob", setVehicleJobCommand, "[job id/name]", getStaffFlagValue("manageVehicles"), true, true), commandData("vehdelowner", removeVehicleOwnerCommand, "", getStaffFlagValue("manageVehicles"), true, true), + commandData("vehrank", setVehicleRankCommand, "", getStaffFlagValue("none"), true, true), commandData("vehinfo", getVehicleInfoCommand, "", getStaffFlagValue("none"), true, true), commandData("vehpark", toggleVehicleSpawnLockCommand, "", getStaffFlagValue("manageVehicles"), true, true), @@ -268,6 +273,7 @@ function loadCommandData() { commandData("vehcolour", setVehicleColourCommand, " ", getStaffFlagValue("none"), true, true), commandData("vehrepair", vehicleRepairCommand, "", getStaffFlagValue("none"), true, true), commandData("passenger", enterVehicleAsPassengerCommand, "", getStaffFlagValue("none"), true, true), + ], } return tempCommands;