CancelCraft
Want to disable crafting across your server or disable specific items?
CancelCraft is a highly configurable RocketMod plugin for Unturned that gives server administrators complete control over what items players are allowed to craft or salvage.
Whether you want to completely disable crafting across your entire server, stop players from crafting a specific overpowered item (like C4), or prevent players from breaking down certain items for scrap, CancelCraft can do it.
How It Works
The plugin intercepts crafting and salvaging requests and checks them against your configuration file (CancelCraft.configuration.xml). It divides control into two separate systems to give you maximum flexibility:
- Output Control (Crafting): This looks at the item the player is creating (the result of the craft).
- Input Control (Salvaging/Ingredients): This looks at the items being consumed or broken down (e.g., the gun being salvaged, or the scrap being used in a recipe).
Both of these controls can be run as a Whitelist (block everything except what is on the list) or a Blacklist (allow everything except what is on the list).
Configuration Guide
When you load the plugin for the first time, it will generate a CancelCraft.configuration.xml file with the following settings:
Output Control (The Resulting Item)
EnableOutputControl: (true/false) Turns this check on or off.OutputIsWhitelist: (true/false)- If
true, players CANNOT craft anything UNLESS its ID is in theOutputItemslist. - If
false, players CAN craft everything EXCEPT the IDs in theOutputItemslist.
- If
OutputItems: The list of item IDs you are targeting.
Input Control (The Ingredients / Salvaged Item)
EnableInputControl: (true/false) Turns this check on or off.InputIsWhitelist: (true/false)- If
true, players CANNOT use an item as a crafting ingredient or salvage it UNLESS its ID is in theInputItemslist. - If
false, players CAN use everything EXCEPT the IDs in theInputItemslist.
- If
InputItems: The list of item IDs you are targeting.
Other Settings
DenyMessage: The message displayed in red chat to the player when their action is blocked.
Configuration Examples
Example 1: Stop players from crafting C4 (ID 1241)
You want to let players craft normally, but you don't want them to make C4.
<EnableOutputControl>true</EnableOutputControl>
<OutputIsWhitelist>false</OutputIsWhitelist>
<OutputItems>
<Item>1241</Item>
</OutputItems>
<EnableInputControl>false</EnableInputControl>
Example 2: Disable ALL crafting and salvaging, but allow crafting Bandages (ID 393)
You want a hardcore server where players can't craft or salvage anything, except medical bandages.
<EnableOutputControl>true</EnableOutputControl>
<OutputIsWhitelist>true</OutputIsWhitelist>
<OutputItems>
<Item>393</Item>
</OutputItems>
<EnableInputControl>true</EnableInputControl>
<InputIsWhitelist>true</InputIsWhitelist>
<InputItems /> <!-- Left blank so NO inputs are allowed -->
Example 3: Stop players from salvaging a specific gun (e.g., Eaglefire ID 4)
You don't want players breaking down their Eaglefires into metal scrap.
<EnableOutputControl>false</EnableOutputControl>
<EnableInputControl>true</EnableInputControl>
<InputIsWhitelist>false</InputIsWhitelist>
<InputItems>
<Item>4</Item>
</InputItems>
CancelCraft
Latest Changes
v1.0.0