AnvilRestrict 1.16.x

Disable item placing/renaming in the anvil GUI!

  1. Baterka
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    Source Code:
    https://github.com/Baterka/AnvilRestrict
    Languages Supported:
    Any (messages are customizable from config)
    Fork of unmaintained Spigot plugin: https://github.com/poma123/AnvilRestrict
    Original plugin created by Ugleh: https://dev.bukkit.org/projects/anvilrestrict


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

    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)