Sueta

AnvilRestrict [1.13.x-1.15.x]

1.3

Disable item placing/renaming in the anvil GUI!

·Plugin

IMPORTANT NOTICE: I have stopped working on this plugin. This project is open-source, you can find it on GitHub. If you want to keep it alive, fork it or consider contributing to it by creating a Pull Request. Support is no longer available.

THIS VERSION ONLY WORKS ON 1.13.1, 1.13.2 and 1.14+!

CLICK HERE FOR THE 1.13 VERSION.

Note

This plugin was originally created by Ugleh. Original plugin: 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, seperate all the things with a comma. ( ,)

Default config.yml
#id:MATERIAL_NAME is to represent an items 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)

Similar projects

Plugin →