Repository navigation
Releases: StrangeOne101/AdvancedChatTorch
Releases · StrangeOne101/AdvancedChatTorch
Release list
1.19 + Placeholder Testing - v2.5
Changelog
- Added placeholder logic testing to custom placeholders
- Can test the value of other placeholders, and only set the value of the custom placeholder if it passes
- Allows you to change the chat formatting based on other PAPI placeholders
- You can check if things are equal to, not equal to, greater than, less than, etc
- Added support for 1.19+
Example
Example of placeholder logic checking in customplaceholders.yml
name:
independentTextComponent: true
normal:
priority: 1
value: '%player_name%'
useGroupEvents: true
nickname:
priority: 2
value: '%player_displayname%'
useGroupEvents: true
logic:
placeholder: '%player_displayname%'
value: '%player_name%'
operation: not
hoverText: |-
&7IGN: &r%player_name%
&7Change your own name with &e/nickThis makes it so you can see someones original IGN when you hover over their name, but only if they have a nickname set
Enhancements - v2.4
- Added support for RGB hex codes in the format of &#RRGGBB
- All unicode characters are now unescaped. Which means you can use \u2714 for a checkmark, etc.
- Fixed PAPI placeholders not being corrected with colors and characters
- Fixed NPE when the perm isn't specified
v2.3 - Fixes
- Fixed hover texts not using proper chat components, so therefore hex colors weren't supported
- Added support for \n becoming new lines
- Now requires 1.16 and Java 16