Item Use Restrictor

Item Use Restrictor

Mod

Restrict the use of any item to a set of specific areas. Useful on Adventure mode servers. Does not support dimensions!

Server Game MechanicsManagementUtility

548 downloads
3 followers
Created3 months ago
Updated3 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Item Use Restrictor

Restrict the use of any item to a set of specific areas. Useful on Adventure mode servers.

DOES NOT SUPPORT DIMENSIONS!

Instruction

  1. Find out the ID of the item you want to restrict
  2. Find out the coordinates of two opposite corners of the (cubic) area, in which you want this item to be used
  3. Use the following command:
    /item-use restrict namespace:item_id corner 1 coordinates corner 2 coorinates
  4. Now you can only use this item in that area

Commands

/item-use restrict <item id> <pos1> <pos2>

Restricts the usage of an item to a cubic area between pos 1 and 2. You can create multiple areas for the same item. To use the item normally again you need to remove all restrictions with /item-use unrestrict <rule id>

/item-use list

List the restriction rules you've previously created.

/item-use unrestrict <rule id>

Remove a restriction. You can find out the ID with /item-use list

F. A. Q.

How to make the item normal again?
To use the item normally again you need to remove all restrictions with /item-use unrestrict <rule id>

How to find out the restriction rule ID?
You can find out the ID with /item-use list

Can multiple restriction areas overlap?
Yes.

fabric-api buymeacoffee-singular

External resources



Project members

falseresync

Member


Technical information

License
Apache-2.0
Client side
unsupported
Server side
required
Project ID