Inventory
Server Owner
The table below contains a list of Inventory Commands available for Server Owners.
Type | Command | Input | Description | Default |
---|---|---|---|---|
inventory.givecraftmatadv |
| Give yourself advanced crafting materials. |
| |
inventory.givecraftmatbasic |
| Give yourself basic crafting materials. |
| |
vendingmachine. deletevendingmachinesellorderbyids |
| Deletes a sell order for an item using its “Item ID”.
|
| |
vendingmachine. deletevendingmachinesellorderbyname |
| Deletes a sell order for an item using its “Item Name”.
|
| |
vendingmachine. listvendingmachinesellorderids |
| Outputs all sell orders for all vending machines. |
| |
vendingmachine. validatevendingmachinesellorders |
| Checks to see if the server’s item manager has the item definition of the sell order.
|
|
Vending Machine Example
vendingmachine.deletevendingmachinesellorderbyname "rifle.ak" 1 0 0This 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.
Command | Input | Description | Default | |
---|---|---|---|---|
entity.spawnitem |
| Spawns an “item” where you’re looking.
Note that this is not the same as |
| |
inventory.clearall |
| Completely empties your inventory. |
| |
inventory.cleardefaultitem |
| Clears the ‘default items’ list, meaning that players will revert to a Rock & Torch. |
| |
inventory.clearitemfromplayers |
| Removes the specified “item” from everyone’s inventories. |
| |
inventory.removefromcorpses |
| Removes the specified “item” from all corpses. |
|
Server Moderator
The table below contains a list of Inventory Commands available for Server Moderator and above.
Command | Input | Description | Default | |
---|---|---|---|---|
inventory.give |
| Gives yourself a specified “item”. |
| |
inventory.giveall |
| Gives everyone a specified “item”. |
| |
inventory.givedrop |
| Drops item specified at player's location.
Replace the bracketed expressions with the following:
|
| |
inventory.giveto | "item name" | Gives a target “player” a specified “item”. |
|
Last updated