Inventory
Server Owner
The table below contains a list of Inventory Commands available for Server Owners.
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
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.
entity.spawnitem
"item name"
Spawns an “item” where you’re looking.
Note that this is not the same as entity.spawn
N/A
inventory.cleardefaultitem
none
Clears the ‘default items’ list, meaning that players will revert to a Rock & Torch.
N/A
Server Moderator
The table below contains a list of Inventory Commands available for Server Moderator and above.
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
Last updated