New placeholders as %cmi_iteminhand_worthc% %cmi_iteminhand_worthc_one% which act in similar way as existing ones with small change that returned value will not be formatted, so you can use it in specialized commands. Now you can create dynamic signs which shows items worth and by clicking it sell it for that same amount which will not be bound to specific items, but you can sell any item which has actual worth set to it. As basic example of interactable commands (/cmi ic)
Code (Text):
Commands:
- check:%cmi_iteminhand_worthc%>0#!
- hasitem:%cmi_iteminhand_type%-%cmi_iteminhand_amount%?#! asConsole! cmi msg [playerName]
!{#cancan}You have sold &2%cmi_iteminhand_realname% {#cancan}x &2%cmi_iteminhand_amount%
{#cancan}for &2%cmi_iteminhand_worth%
- item:%cmi_iteminhand_type%-%cmi_iteminhand_amount%?#! asConsole! cmi money give
[playerName] %cmi_iteminhand_worthc%
This will reward player with amount of that item even if you hold a stack of it. Combined with dynamic signs and holograms you can have something like this
Dynamic sign information should look something like this
while hologram is just basic one with rapid update interval and a line with ICON:%itemInHand% Similar thing can be done with signs which actually sell items to the player.
Chatfilter section from config file was moved into its own file named chatfilter.yml for simpler and more convenient management of it
Fix for bossbar command not wanting to be friends with placeholders surrounded by gradient
Fix for alias editor outputting same command list twice after editing line
Fix for alias editor translating gradient and creating over complicated entry which was hard to edit after the fact
Small fix relating to ctellraw and hex colorcodes before url
Optimized hologram performance, especially relevant when joining server near bunch of those
Some hologram save file compactification to avoid saving default values
Some optimization relating to vanished players and entity spawns
Slight optimization for portal player move listener
Added option to prevents players from flying or gliding below 0 Y coordinates in normal and nether worlds. This will work in similar way as nether roof prevention does. Player can still fall to its death if he doesn't have fly or glide enabled. Disabled by default.