## ⚠️ The config file has been updated, and by so, you have to add new content to your config file. See the changes right here or in the [main plugin page](https://modrinth.com/plugin/itemrenamerreloaded)!
❤️ Don't forget to mark this plugin as "Favorite"!
🆘 **Need any help? Join the Discord Support Server!**
https://discord.gg/hExzXTQCtN
☕ Any donation would be appreciated! Thank you!
[https://ko-fi.com/xdlob9](https://ko-fi.com/xdlob9)
---
Hi there!
Thanks to a suggestion of @Zsömi on the Discord Support Server ([join it by clicking here!](https://discord.gg/hExzXTQCtN)), now you can enable a **whitelist or a blacklist** to limit what items your users can **edit**!
If you enable this functionality, **only** the items you add to the **"allowed_items"** list will be allowed to **edit them**;
But, if you disable the functionality, you can add items to the **"blocked_items"** list, so **those items** won't be editable _(this is optional and disabled by default, more info in the config file)_
If you want to avoid the whitelist, you will have to add a new permission to your users: **itemrenamer.whitelist**
---
⚠️ **If you don't want to reset the config file, please, add these lines to your config file inside the "options"**
```
options:
# add it after the minimessage toggler
item_whitelist:
enabled: false
allowed_items:
- "DIAMOND_CHESTPLATE"
- "COOKIE"
- "IRON_SWORD"
blocked_items:
- "none"
```
And if you want to customize the message when a player tries to edit a blocked item, add this:
```
messages:
# Add it after the last message, such as "max_itemlore_lines_reached"
item_not_allowed: "%irr_prefix% &cYou are not allowed to rename or add lore to this item!"
```
---
## Changelog
- ✅ Added a new **item whitelist and blacklist** functionality!
> ⚠️ **REMEMBER** to add the config values to your config file! _(as I mentioned above)_
- ✅ Added a new permission to avoid the whitelist/blacklist! **itemrenamer.whitelist**
- ℹ️ General code fixes and optimizations (QoL)
Thanks for your download!
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }