Inventory
Last updated
Last updated
The table below contains a list of Inventory Commands available for Server Owners.
Type | Command | Input | Description | Default |
---|---|---|---|---|
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.
The table below contains a list of Inventory Commands available for Server Admins and above.
Command | Input | Description | Default | |
---|---|---|---|---|
The table below contains a list of Inventory Commands available for Server Moderator and above.
Command | Input | Description | Default | |
---|---|---|---|---|
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
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
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