AnvilRestrict [1.16.x-1.18.x] icon

AnvilRestrict [1.16.x-1.18.x] -----

Disable item placing/renaming in the anvil GUI!



Install
Drag and drop Installation. Afterword do a restart or reload.
There will be a new config file at AnvilRestrict/Anvil

Config Setup
Adding items to the restriction is simple.
If the item has a custom display name, from other plugins, you can use the name setting, followed by part of or all of its name. So like this:
name|sensor
This will block the renaming of any item that already has the name "sensor".
If the item is a sword or such and you do not want players to rename the item to have them bypass custom plugins like swords or other weapons then you can add the id of a sword, for example the material id of a diamond sword is DIAMOND_SWORD. So I would do
id|DIAMOND_SWORD
You can set multiple ids and names, separate all the things with a comma. ( ,)

Code (YAML):
#id|MATERIAL_NAME is to represent an item's material id.
#name|string is to represent part of the display name of an item
#NoEntry prevents the item from being used in an Anvil
#NoRename prevents the rename of an item.

NoEntry
: id|SAND,name|Proximity Sensor
NoRename
: id|RED_SAND
NoRenameAll
: false
NoEntryAll
: false

messages
:
  noentry
: '&cEntering that item in the Anvil is disabled.'
  norename
: '&cRenaming that item is disabled.'
  all_rename_disabled
: '&cRenaming items is disabled.'
  all_entry_disabled
: '&cThe Anvil is disabled.'

Commands & Permissions



    • /anvilrestrict reload (perm: anvilrestrict.admin)
Resource Information
Author:
----------
Total Downloads: 858
First Release: Apr 15, 2021
Last Update: Apr 1, 2022
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings