From 784422f7740dcb0dff407f0a8d154e80837bbd5f Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Tue, 16 Nov 2021 02:03:47 -0600 Subject: [PATCH] Additem cmd for admins --- scripts/server/command.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/server/command.js b/scripts/server/command.js index 63fa39b8..4011b1e0 100644 --- a/scripts/server/command.js +++ b/scripts/server/command.js @@ -240,6 +240,7 @@ function loadCommands() { item: [ commandData("i", 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."), commandData("pickup", pickupItemCommand, "", getStaffFlagValue("none"), true, false, "Picks up the nearest item."), commandData("drop", dropItemCommand, "[slot]", getStaffFlagValue("none"), true, false, "Drops your currently equipped item or the item in the specified slot"),