Inventory

Server Owner

The table below contains a list of Inventory Commands available for Server Owners.

TypeCommandInputDescriptionDefault

🎮

inventory.givecraftmatadv

none

Give yourself advanced crafting materials.

N/A

🎮

inventory.givecraftmatbasic

none

Give yourself basic crafting materials.

N/A

📟💥

vendingmachine. deletevendingmachinesellorderbyids

“item ID” “X” “Y” “Z”

Deletes a sell order for an item using its “Item ID”. ”X” - “0/1” - Delete the item if it is a sell order ”Y” - “0/1” - Delete the item if it is a buy order ”Z” - “0/1” - Delete all (requires “X” & “Y” = 1)

N/A

📟💥

vendingmachine. deletevendingmachinesellorderbyname

“item name” “X” “Y” “Z”

Deletes a sell order for an item using its “Item Name”. ”X” - “0/1” - Delete the item if it is a sell order ”Y” - “0/1” - Delete the item if it is a buy order ”Z” - “0/1” - Delete all (requires “X” & “Y” = 1)

N/A

📟💥

vendingmachine. listvendingmachinesellorderids

none

Outputs all sell orders for all vending machines.

N/A

📟💥

vendingmachine. validatevendingmachinesellorders

“item name” “X(0/1)” “Y(0/1)”

Checks to see if the server’s item manager has the item definition of the sell order. ”X” - “0/1” - Check sell orders ”Y” - “0/1” - Check buy orders

N/A

Vending Machine Example

vendingmachine.deletevendingmachinesellorderbyname "rifle.ak" 1 0 0

This command will remove all Assault Rifles from all vending machine sell orders on the map, but will do nothing if Assault Rifles are a buy item only.

Server Admin

The table below contains a list of Inventory Commands available for Server Admins and above.

CommandInputDescriptionDefault

🎮

entity.spawnitem

"item name"

Spawns an “item” where you’re looking. Note that this is not the same as entity.spawn

N/A

🎮

inventory.clearall

none

Completely empties your inventory.

N/A

📟🎮

inventory.cleardefaultitem

none

Clears the ‘default items’ list, meaning that players will revert to a Rock & Torch.

N/A

📟🎮

inventory.clearitemfromplayers

none

Removes the specified “item” from everyone’s inventories.

N/A

📟🎮

inventory.removefromcorpses

none

Removes the specified “item” from all corpses.

N/A

Server Moderator

The table below contains a list of Inventory Commands available for Server Moderator and above.

CommandInputDescriptionDefault

🎮

inventory.give

"item name"

Gives yourself a specified “item”.

N/A

📟🎮

inventory.giveall

"item name"

Gives everyone a specified “item”.

N/A

📟🎮

inventory.givedrop

[0] [1] [2] [3] [4] [5] [6] [7]

Drops item specified at player's location. Replace the bracketed expressions with the following: 0 - Player ID Required 1 - Item shortname Required 2 - Item Amount Default: 1 3 - Stack Amount Default: 1 4 - 0 5 - Condition Default: 1 6 - Throw Spray Default: 35 7 - Throw Range Default: 4

N/A

📟🎮

inventory.giveto

"item name"

Gives a target “player” a specified “item”.

N/A

Last updated