General rework/upgrade for hologram handling. This is mainly to get rid of those invisible mobs we have used before to detect player clicking on holograms. Due to this we got few extra improvements.
Now holograms will default to handling mechanic, you can still toggle it back to old one if you wish it in hologram editor GUI.
Now holograms can detect player actually looking at them and not not only when player lick one in a general area.
New option to define particles going around active hologram. This will show your chosen particles circling around hologram player is looking at. Keep in mind that this only applies to interactable holograms.
New system to be able to click hologram per line. This means that you can have different behaviors when you click different lines on same hologram. To fully utilize this new feature set hologram line as
As you can notice this is same format as we are using for ctext command, with some small limitations where we will only accept text, hover text and command fields. You can still include multiple command by separating those with ;; while defining hover text will define what we need to show when player hovers over specific line
New particle effect got added into config.yml file under particle presets for hologram line clicking. This is separate one from general old one which is still in effect.
Old holograms will adapt to new system and will trigger usual commands if you click hologram in general and not specific line. So you can have command set for entire hologram and different command when you click specific line of that hologram.
Old particle effect now will be shown at spot where player clicked and not at the center point.
Hologram editor UI got small update to include new buttons for new behavior handling and will looks like this with all features enabled
Left side is reserved for interactions with hologram
Most new buttons are self explanatory, but one "particle stabilization" might need extra explanation. This one will change general behavior for active hologram particles being drawn. By default we will fallow player look direction to match how hologram text behaves, this could not always be preferable behavior as it might introduce more particles than you want to see, while enabling stabilization it will only change particle placement based on your body location, so looking around will not cause particle duplication but will create more inconsistent look as particles wont perfectly match actual hologram area.
Auto page generator now places new holograms allot closer to actual one as now we can actually detect pixel perfect detections.
Added new custom event as CMIHologramClickEvent which will include player, clicked hologram, clicked line number, global location where player clicked and click type. For those who will want to mess around with that.
Fix for sneaktime not being recognized accurately in ranks as requirement
Fix for money transaction which are over 92 quadrillion
Added support fro rankup command to be performed from console
Small change to entityinfo command when checking horse speed, which changed with 1.18 servers and was shown slightly lower than it should have been
Fixing where top playtime placeholder would not want to update with new times
Small optimization for playtime top placeholder to be more efficient
Fix for repair and repaircost commands calculating armor slots twice