
ItemRenamerReloaded
ItemRenamerReloaded, its a plugin that gives the ability to rename items with customs names and custom lores, with full RGB colors support (+1.16)
New Color Codes Whitelist functionality!
Список изменений
⚠️ 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!
❤️ 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
Hi there!
Thanks to the suggestion of @bur on the Discord Support Server (join it by clicking here!), now you can enable a whitelist or a blacklist to limit what color codes can your users use to rename or add lore to items!
If you enable this functionality, only the colors you add to the "allowed_colors" list will be allowed to use when renaming or adding lore to an item;
But, if you disable the functionality, you can add the color codes to the "blocked_colors" list, so those colors won't be usable when renaming or adding lore to items (this new feature is optional and is disabled by default, more info in the config file)
If you want to avoid the whitelist, you will have to set a new permission to your users: itemrenamer.whitelist.colors
⚠️ 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 item whitelist
color_whitelist:
enabled: false
allowed_colors:
- "&a"
- "&b"
- "❵"
blocked_colors:
- "none"
And if you want to customize the message when a player tries to use a non-allowed color code, add this new message:
messages:
# Add it after the last message, such as "max_itemlore_lines_reached"
color_not_allowed: "%irr_prefix% &cYou are not allowed to use one or more colors to rename or add lore to this item!"
And, if you access the allowed/blocked colors list using the new subcommand /irr colors, you can modify the "title" of the messages by adding these new messages on the "other" category:
other:
help_allowed_items: "&b=== &aAllowed &ecolors list &b==="
help_blocked_items: "&b=== &cBlocked &ecolors list &b==="
help_all_colors_allowed: "%irr_prefix% &aAll colors can be used to rename or set lore to your items!"
Changelog
- ✅ Added a new color codes use 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 color codes whitelist/blacklist! itemrenamer.whitelist.colors
- ✅ Added a new subcommand so your players can know what color codes are allowed and/or blocked: /irr colors (with its new permission node: itemrenamer.base.colors)
- ℹ️ General code fixes and optimizations (QoL)
Thanks for your download!
