HomeJavaModsAnvilRestrict [1.16.x-1.18.x]
AnvilRestrict [1.16.x-1.18.x]
THIS VERSION IS TESTED ONLY ON 1.16.x+!
Use this unmaintained version if you want the same plugin, but tested on 1.13.x-1.15.x.

Note

This plugin was originally created by Ugleh and maintained for a long time by poma123
poma123 version: https://www.spigotmc.org/resources/anvilrestrict-1-13-x-1-15-x.59451/
Ugleh version: https://dev.bukkit.org/projects/anvilrestrict

Features
This plugin allows you to disable the anvil, disable all renaming from the anvil, or simply disable specific items based off their ID or Display Name.

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. ( ,)

Spoiler: Default config.yml
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


Fork of unmaintained Spigot plugin: https://github.com/poma123/AnvilRestrict

Original plugin created by Ugleh: https://dev.bukkit.org/projects/anvilrestrict

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

AnvilRestrict [1.16.x-1.18.x] is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18. Downloaded 889 times (via Spigot). Download it and open it directly in the game.

Explore more