Wiki 9Minecraft Wiki 9Minecraft
Item Disabled Plugin Wiki › Guides › Temporarily Disable an Item for a Set Duration

Temporarily Disable an Item for a Set Duration

Choose your duration

Decide how long the item should remain locked, measured in seconds. For example, 3600 seconds equals one hour, and 86400 seconds equals one full day.

Disable with a time limit

Run this command in your server console or as an operator:

`

/itemdisabled disable <item> <duration>

`

Replace <item> with the item's ID and <duration> with your chosen number of seconds. The item will automatically re-enable once the timer expires.

Target specific players (optional)

To apply the temporary restriction to only one player:

`

/itemdisabled disable <item> <duration> <player_name>

`

Monitor the restriction

The plugin saves all active restrictions to JSON files in its folder, so you can verify which items are locked and when they'll expire. Players attempting to use a disabled item will see an alert message, confirming the restriction is active.

Manual override

If you need to unlock the item before the timer runs out, use /itemdisabled enable <item> to restore access immediately.