# Item Management

You can ban any item and manipulate its spawning, looting, and crafting with the following set of commands.

***

## Banning Items

The main command to run for this feature is:

> ### **📟**
>
> ### ***banitem "itemname" "option"***
>
> Where "itemname" is the name of the item you want to manipulate,
>
> and "option" is anything from the list below.
>
> You can chain multiple options together by encasing them in quotation marks

{% hint style="info" %}
A good resource for `itemname` is [Corrosion hour's guide to Rust](https://www.corrosionhour.com/rust-item-list/)\
*Please keep in mind that some items listed on this site may not be implemented in Rust: Console Edition at the time of writing.*
{% endhint %}

<table data-full-width="false"><thead><tr><th width="231.7777099609375">Option</th><th>Description</th></tr></thead><tbody><tr><td><code>"NoCrafting"</code></td><td>The player cannot craft the item from the crafting screen or quick craft.</td></tr><tr><td><code>"TechTreeBypass"</code></td><td>The item cannot be researched, but its children can still be researched.</td></tr><tr><td><code>"TechTreeBlockpath"</code></td><td>The item cannot be researched, and you cannot unlock items below it on the Tech Tree.</td></tr><tr><td><code>"NoTechTree"</code></td><td>A combination of <code>TechTreeBypass</code> &#x26; <code>TechTreeBlockpath</code>.</td></tr><tr><td><code>"ResearchTableBlocked"</code></td><td>The item cannot be researched in the research table a blocked label will show in game.<br>Note: The blueprint for the item can still spawn even if this is active. <br>To disable blueprints entirely, use <code>NoBlueprintSpawn</code></td></tr><tr><td><code>"NoResearch"</code></td><td>A combination of <code>NoTechTree</code> &#x26; <code>ResearchTableBlocked</code>.</td></tr><tr><td><code>"NoItemSpawn"</code></td><td>The item can no longer spawn in any container and is removed from all containers</td></tr><tr><td><code>"NoBlueprintSpawn"</code></td><td>If the item has a blueprint, the blueprint will no longer spawn.</td></tr><tr><td><code>"NoSpawn"</code></td><td>A combination of <code>NoItemSpawn</code> &#x26; <code>NoBlueprintSpawn</code>.</td></tr><tr><td><code>"All"</code></td><td>A combination of all options.</td></tr></tbody></table>

### Example

> ### **📟**
>
> ### ***banitem "rifle.ak" "NoBlueprintSpawn NoCrafting"***

***This has the following effects:***

* The Assault Rifle can no longer generate blueprints
* The Assault Rifle can no longer be crafted
* This means the Assault Rifle can only be obtained through looting.

***

## Un-banning Items

You can also unban items and undo the above commands using the following:

> ### 📟
>
> ### *unbanitem "itemname"*
>
> Where "itemname" is the name of the item you want to unban.

This command un-bans an item, and returns its spawning and crafting rules to default. \
Requires respawning of loot boxes etc.

### Example

> ### **📟**
>
> ### *unbanitem "rifle.ak"*

The Assault Rifle has now returned to a default state and can generate blueprints, and be crafted normally. Note: This will require respawning of crates etc. to take effect.

***

## ✨NEW✨ Configurations

You can set custom configs for banning, meaning that you can group banned items together in a configuration that you can enable and disable whenever you want:

> ### **📟**
>
> ### *banitem "configname" "itemname" "option"*
>
> Where "configname" is the name of the configuration you would like to assign to the banned item,
>
> "itemname" is the codename of the item,
>
> and "option" is anything from the above list of ban options.
>
> If the configuration doesn't exist, it will be created with the name you chose.

Alternatively, you can unban with:

> ### **📟**
>
> ### *unbanitem "configname" "itemname" "option"*
>
> Where "configname" is the name of the configuration from which you would like the item removed,
>
> "itemname" is the codename of the item,
>
> and "option" is anything from the above list of ban options.
>
> The item will be unbanned, and removed from the configuration.

The new item banning commands are as follows:

<table><thead><tr><th width="226.7777099609375">Command</th><th width="126.77777099609375">Argument</th><th>Function</th></tr></thead><tbody><tr><td>listbanitemcfg</td><td>N/A</td><td>Lists all banitem configurations.</td></tr><tr><td>banitemcfg</td><td>"configname"</td><td>Lists all items in the config "configname"</td></tr><tr><td>listbanneditemsall</td><td>N/A</td><td>Lists all configurations, and all items contained within.</td></tr><tr><td>listbanneditemsdefaultcfg</td><td>N/A</td><td>Lists all default configurations (tech tree presets and default), and lists all items contained within.</td></tr><tr><td>listbanneditemscustomcfg</td><td>N/A</td><td>Lists all custom configurations, and lists all items contained within.</td></tr><tr><td>clearbanneditemscustom</td><td>"configname"</td><td>Clears all items from the "configname" configuration, and unbans them.</td></tr><tr><td>clearbanneditemsdefault</td><td>N/A</td><td>Clears all items from the default banned list, and unbans them. (NOTE: This does not apply to tech tree presets)</td></tr><tr><td>enablebanitemcfg</td><td>"configname"</td><td>Applies the banned items that are saved into "configname"</td></tr><tr><td>disablebanitemcfg</td><td>"configname"</td><td>Removes the banned items that are saved into "configname"</td></tr><tr><td>deletebanitemcfg</td><td>"configname"</td><td>Deletes "configname". This will also clear its banned items.</td></tr></tbody></table>

### ✨ NEW✨ Tech Tree Presets

You can set Tech Tree banning preferences using the following arguments:

<table><thead><tr><th width="119.5555419921875">Command</th><th>Function</th></tr></thead><tbody><tr><td><code>Tier1</code></td><td>All items in the Tier 1 Workbench</td></tr><tr><td><code>Tier2</code></td><td>All items in the Tier 2 Workbench</td></tr><tr><td><code>Tier3</code></td><td>All items in the Tier 3 Workbench</td></tr></tbody></table>

You can combine these to ban entire workbench tiers with a single command, for example:

> ### *enablebanitemcfg "Tier1"*
>
> This command will immediately block all Tier1 items from being researched in the Tech Tree.
