✨NEW✨ Inventory

Server Owner

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

Type
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

📟✨

npcvendingmachine.dynamicpricingenabled

"0/1"

Disables/enables the Dynamic Vendor Pricing feature.

"1"

📟✨

npcvendingmachine.maximumpricemultiplier

"number"

Affects the maximum relative price of items in NPC Vending Machines.

"2"

📟✨

npcvendingmachine.minimumpricemultiplier

"number"

Affects the minimum relative price of items in NPC Vending Machines.

"0.5"

📟✨

npcvendingmachine.pricedecreaseamount

"number"

The amount of decrease that an underselling item will receive on average, where 0.05 = 5%

"0.05"

📟✨

npcvendingmachine.priceincreaseamount

"number"

The amount of increase that an overselling item will receive on average, where 0.1 = 10%

"0.1"

📟✨

npcvendingmachine.priceupdatefrequencydefault

"number"

Defines how many hours it takes for dynamic pricing changes to take effect.

"3"

📟✨

npcvendingmachine.printallpricechanges

none

Prints all vending machine price alterations on a server to console.

N/A

📟✨

npcvendingmachine.resetdynamicpricing

none

Resets the state of all discounts and surcharges from NPC vending machines to default.

N/A

📟✨

npcvendingmachine.startingpricemultiplier

"number"

What is the discount or surcharge immediately present upon the wiping of a server.

"2"

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.

Command
Input
Description
Default

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.

Command
Input
Description
Default

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

Was this helpful?