Item Sanitizer

Item Sanitizer

Lightweight server side Minecraft mod that removes banned items from player inventories

by
20 Downloads
forgemanagementutility
Rent Server with this Mod

About this Mod

Item Sanitizer allows server administrators to define a list of blacklisted items in a configuration file. When a player attempts to pick up or equip a blacklisted item, the mod automatically removes the item and notifies the player with a message displayed at the bottom center of their screen. The mod also includes an option to allow server operators (OPs) to bypass these restrictions.

Features:

  • Blacklist Enforcement: Automatically removes blacklisted items from players' inventories.
  • Player Notifications: Displays a message to players when a blacklisted item is removed.
  • Configurable: Easily define blacklisted items in the configuration file.
  • OP Bypass: Optionally allow server operators to use blacklisted items.
  • Server-Side Only: No need for players to install the mod on their clients.

Use Cases:

  • Prevent the use of overpowered or disruptive items in survival or competitive servers.
  • Enforce server rules and maintain a balanced gameplay environment.

Compatibility:

  • Compatible with Minecraft 1.20.1 and Forge.
  • Designed for server-side use only.

Installation:

  1. Place the mod's JAR file in the mods folder of your server.
  2. Start the server to generate the configuration file.
  3. Edit the configuration file to define your blacklist.
  4. Restart the server to apply changes.

Commands:

  • /itemsanitizer reload: Reloads the configuration file without restarting the server.

Permissions:

  • Server operators (OPs) can bypass item restrictions if enabled in the configuration file.

Configuration:

The configuration file is located at config/itemsanitizer.json. You can define blacklisted items using the blacklistedItems list. Each entry in the list can be either a specific item ID or a pattern using regular expressions.

Example Configuration:

{
  "blacklistedItems": [
    "minecraft:tnt",
    "minecraft:tnt_minecart",
    "!minecraft:.*_spawn_egg",
    "tfmg:advanced_potato_cannon",
    "tfmg:segmented_display"
  ],
  "allowOpsUseBlacklistedItems": true
}
  • Specific Item: Add the exact item ID (e.g., minecraft:tnt).
  • Pattern: Use ! followed by a regular expression to match multiple items (e.g., !minecraft:.*_spawn_egg matches all spawn eggs).

Notes:

  • Changes to the configuration file require a server restart or the /itemsanitizer reload command to take effect.
  • Ensure the item IDs or patterns are valid to avoid errors.

Available Versions

Bug fixes and exploitsrelease
MC 1.20.1forge
April 5, 2026
1.0.0release
MC 1.20.1forge
April 4, 2026

How to Install Item Sanitizer on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Item Sanitizer". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Item Sanitizer server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Item Sanitizer compatible with forge?

Item Sanitizer officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Item Sanitizer – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Item Sanitizer consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Item Sanitizer with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.20.1