This update adds the ability to prevent some items from being renamed, unless you have the bypass permission of course
add
Code (YAML):
#A list of blocked materials which cannot be renamed unless you have permission to bypass
#You may find valid ids here https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
#or here for versions 1.8-1.12 https://helpch.at/docs/1.12.2/org/bukkit/Material.html
#CaPs are not relevant for this config
type-blocked-rename
:
[
]
to your
config.yml file
and
Code (YAML):
blocked-by-type-restriction
:
"&cYou can't rename this item"
to your
itemedit.yml file
the permission to bypass is
itemedit.bypass.rename_type_restriction
by default no items are blocked but you can add them like on this example:
Code (YAML):
type-blocked-rename
:
- MONSTER_EGG
- MOB_SPAWNER
Fixes:
- a bug where renaming an item with hex color may not be work as expected
- a bug with server version 1.12 for aliases