Skip to content
/SLASHPLAY

How to fill a box with random loot in Rust

Look at a container and type global.fillcontainer in the F1 console as an admin to fill it with random items. Add a category like weapon to narrow it.

global.fillcontainer

Fills the container you are looking at with random items, optionally from one category.

fillcontainer [category]

Examples

fillcontainer

Fill a box with random items.

fillcontainer weapon

Fill it with weapons only.

Arguments

categoryOptional
Item category, for example ammunition or weapon.

What it does

Useful for testing storage, events or loot rooms. A category such as ammunition or weapon limits what gets added.

The game's own description: fillcontainer <optional: category> - Fills the container you are looking at with random items, can also specify a category (ammunition, weapon etc.)

Run it on your server

Type it in the server console or send it over RCON; admins can also use the F1 console in game. To keep a setting, run server.writecfg after changing it, or put it on the launch line as +name value.

Your own
game server.

CS2, Minecraft, Palworld and more, from $0.03 an hour.