disable items

disable items from being placed and picked up in the players inventory as well as disabling trades and crafting recipes

DisableMod lets pack makers and server owners block specific items by item ID (for example minecraft:elytra) and manage the list in-game with simple admin commands. It’s designed for modpacks where you want to remove overpowered or undesired items without editing recipes or removing mods.

Features

Disable items by exact item ID (vanilla and modded IDs supported). Optional refund rules allow you to replace a disabled item with something else. Admin commands include tab-completion to quickly find item IDs and already-disabled IDs. The config is stored at config/disablemod.json.

Commands

All commands are intended for operators/admins. The base command is /disablemod.

Item disabling

/disablemod list shows all currently disabled item IDs.

/disablemod disable <item_id> adds an item to the disabled list. Example: /disablemod disable minecraft:elytra

/disablemod enable <item_id> removes an item from the disabled list. Example: /disablemod enable minecraft:elytra

/disablemod disablehand disables the item you’re currently holding in your main hand (only if included in your build).

/disablemod enablehand re-enables the item you’re currently holding in your main hand (only if included in your build).

Refund rules (optional)

/disablemod refund list lists all refund rules currently configured.

/disablemod refund set <disabled_item_id> <refund_item_id> [count] sets or overwrites a refund rule. Example: /disablemod refund set minecraft:elytra minecraft:diamond 5

/disablemod refund remove <disabled_item_id> deletes the refund rule for that disabled item.

Config management

/disablemod reload reloads config/disablemod.json without restarting the game/server.

Notes

Item IDs must be typed exactly like namespace:item_name (example: minecraft:acacia_sapling). If you use refunds, ensure disablemod.json matches the mod’s expected format, because an incorrect JSON structure can cause the mod to fall back to defaults.

 

The disable items Team

profile avatar
  • 1
    Projects
  • 173
    Downloads