From b63ea9805aba1a7be4af2178ecbfac62f4d5e3a9 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Tue, 4 Jan 2022 20:02:52 -0600 Subject: [PATCH] New economy and item cmds --- scripts/server/command.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/server/command.js b/scripts/server/command.js index 27d93a40..9b5fb693 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -229,6 +229,11 @@ function loadCommands() { commandData("resetambience", resetAllServerAmbienceElementsCommand, "", getStaffFlagValue("Developer"), true, true), ], discord: [], + economy: [ + commandData("tax", taxInfoCommand, "", getStaffFlagValue("None"), true, true), + commandData("wealth", wealthInfoCommand, "", getStaffFlagValue("None"), true, true), + commandData("forcepayday", forcePlayerPayDayCommand, "", getStaffFlagValue("ManageServer"), true, true, "Gives a player an instant payday."), + ], email: [ commandData("testemail", testEmailCommand, "", getStaffFlagValue("Developer"), true, true), ], @@ -271,6 +276,7 @@ function loadCommands() { ], item: [ commandData("i", playerSwitchHotBarSlotCommand, "", getStaffFlagValue("None"), true, false, "Switches to the item in the specified slot of your inventory."), + commandData("item", playerSwitchHotBarSlotCommand, "", getStaffFlagValue("None"), true, false, "Switches to the item in the specified slot of your inventory."), commandData("addgrounditem", createGroundItemCommand, "", getStaffFlagValue("ManageItems"), true, false, "Spawns a new item on the ground at your position."), commandData("additem", createItemCommand, "", getStaffFlagValue("ManageItems"), true, false, "Spawns a new item in your hotbar inventory."), commandData("delgrounditem", deleteGroundItemCommand, "", getStaffFlagValue("ManageItems"), true, false, "Destroys the nearest item on the ground."), @@ -388,7 +394,7 @@ function loadCommands() { commandData("dn", teleportDownCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Teleports you downward a certain distance in meters."), commandData("int", playerInteriorCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Gets or sets a player's game interior."), commandData("vw", playerVirtualWorldCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Gets or sets a player's virtual world/dimension."), - commandData("addstaffflag", addStaffFlagCommand, " ", getStaffFlagValue("ManageAdmins"), true, true, "Gives a player a staff flaf (this server only)."), + commandData("addstaffflag", addStaffFlagCommand, " ", getStaffFlagValue("ManageAdmins"), true, true, "Gives a player a staff flag by name (this server only)."), commandData("delstaffflag", takeStaffFlagCommand, " ", getStaffFlagValue("ManageAdmins"), true, true, "Takes a player's staff flag by name (this server only)."), commandData("getstaffflags", getStaffFlagsCommand, "", getStaffFlagValue("ManageAdmins"), true, true, "Shows a list of all staff flags a player has (this server only)."), commandData("clearstaffflags", clearStaffFlagsCommand, "", getStaffFlagValue("ManageAdmins"), true, true, "Removes all staff flags for a player (this server only)."), @@ -403,7 +409,6 @@ function loadCommands() { 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"), commandData("geoip", getGeoIPInformationCommand, "", getStaffFlagValue("BasicModeration"), true, true, "Retrieves GeoIP information on a player (country & city)"), - commandData("forcepayday", forcePlayerPayDayCommand, "", getStaffFlagValue("ManageServer"), true, true, "Gives a player an instant payday."), ], radio: [ commandData("radiostation", playStreamingRadioCommand, "", getStaffFlagValue("None"), true, false, "Plays a radio station in your vehicle, house, or business (depending on which one you're in)"),