PerfectMessages - Update & Usage Guide
Changelog
Latest Update (v1.0.3)
- New Placeholder Added:
%item_in_hand%
- Displays the name of the item currently held in the player's main hand.
- Obfuscated Text Support:
- Use
&k
to display obfuscated text with dynamic, randomized characters.
- Use
- Formatting Reset:
- Use
&r
to reset text formatting and return to normal display.
- Use
- Bug Fixes:
- Various issues have been resolved to improve stability and performance.
How to Use
New Placeholder: %item_in_hand%
Simply include %item_in_hand%
in your message to show the name of the item the player is holding. For example:
You are holding: %item_in_hand%
Obfuscated Text
Use &k
in your messages to apply an obfuscated effect, making the text appear scrambled. For example:
&kSecret Message&r
The effect will be removed after using &r
or by resetting the formatting.
General Usage
Combine placeholders and formatting codes to create dynamic messages. Example:
Hello, %player_name%! Your current item is: %item_in_hand%.
Support & Feedback
If you encounter any issues or have suggestions, feel free to report them on our project page or join our Discord Channel for feedback.
Enjoy the update!
PerfectMessages - Update & Usage Guide
Changelog
Latest Update
- Added Hex Color Support: You can now use hex colors in messages.
- Added Placeholders: New placeholders are available for messages:
%player_name%
- Displays the player's name.%player_health%
- Shows the player's current health.%player_xp%
- Displays the player's experience points.
- Bug Fixes: Fixed various issues to improve stability and performance.
How to Use
Hex Color Support
You can use hex colors in messages by formatting them as &#RRGGBB
. Example:
&fHello &#FF5733World!
This will display: Hello (white) World! (orange-red)
Placeholders
Placeholders can be used in messages to display dynamic information about the player. Example usage:
Welcome, %player_name%! You have %player_health% health left.
If a player named Alex has 10 health, the message will display:
Welcome, Alex! You have 10 health left.
Support & Feedback
If you encounter any issues or have suggestions, feel free to report them on the project page and on Discord Chanel.
Enjoy the update!
Changelog
Version 1.0.1 - 2025-02-24
New Features
- Text Shake Toggle: You can now turn the text shake effect on or off. If you prefer steady text, simply disable the
enableShake
option in the mod's configuration. - Cleaner Text Measurements: A new helper function now removes extra formatting markers (double asterisks) when measuring text, ensuring that background boxes are correctly sized.
Improvements
- Better Text Alignment: Text boxes are now calculated using the cleaned-up text, which leads to improved centering and a neater overall appearance.
- Enhanced Visual Experience: Background rectangles now align perfectly with your messages, giving you a smoother and more visually appealing display.
Bug Fixes
- Formatting Marker Issue Fixed: Previously, special formatting markers were mistakenly factored into the width calculation, causing misaligned backgrounds. This has been resolved.