Item Sanitizer
Lightweight server side Minecraft mod that removes banned items from player inventories
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
Log in to review this mod
Reviews are written by ModDex members. Log in and you'll come right back to the review form.
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Runs entirely on the server. Also works in singleplayer.
Must be installed on both the client and the server.
Varies by version.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
Item Sanitizer allows server administrators to define a list of blacklisted items in a configuration file
Features:
- Blacklist Enforcement: Automatically removes blacklisted items from players' inventories.
- Player Notifications: Displays a message to players when a blacklisted item is removed.
- Player Whitelist: Allows specific players to use specific blacklisted items via
playersWhitelist. - Configurable: Easily define blacklisted items in the configuration file.
- OP Bypass: Optionally allow server operators to use blacklisted items.
- Dual-Side Sync: Configuration is synced from server to clients, ensuring consistent enforcement.
Use Cases:
- Prevent the use of overpowered or disruptive items in survival or competitive servers.
- Enforce server rules and maintain a balanced gameplay environment.
- Grant specific players access to certain items (e.g., staff members, builders).
Compatibility:
- Compatible with Minecraft 1.20.1 and Forge.
- Requires installation on both server and client for full functionality (blacklist sync and tooltip blocking).
Installation:
- Place the mod's JAR file in the
modsfolder of both your server and clients. - Start the server to generate the configuration file.
- Edit the configuration file to define your blacklist and player whitelists.
- 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.
- Players listed in
playersWhitelistcan use their whitelisted items regardless of the blacklist.
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": ["*"]
}
}
- 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_eggmatches all spawn eggs). - Player Whitelist: A map of player names to lists of item IDs they are allowed to use despite the blacklist.
- Use
"*"as the only entry to allow all items for a specific player. - Players not listed in
playersWhitelistare subject to the normal blacklist rules.
- Use
Notes:
- Changes to the configuration file require a server restart or the
/itemsanitizer reloadcommand to take effect. - Ensure the item IDs or patterns are valid to avoid errors.
- The mod must be installed on clients to receive synced configuration and prevent blacklisted items from appearing in tooltips.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Oct 2, 2026 7:00 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 0 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Oct 2, 2026 7:00 PM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works