HomeJavaModsItem Sanitizer
Item Sanitizer

Item Sanitizer allows server administrators to define a list of blacklisted items in a configuration file

Features:

Use Cases:

Compatibility:

Installation:

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

Commands:

Permissions:

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,
  "playersWhitelist": {
    "BuilderSteve": ["minecraft:bedrock", "minecraft:command_block"],
    "AdminAlex": ["*"]
  }
}

Notes:

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more