Here's a (
smol) Update!
1.19!
Basically it just makes the Plugin ready for Spigot 1.19.
Due to an (now fixed) error, the previous Version didn't recognize the Version correctly and disabled the Plugin therefore.
This shouldn't happen anymore.
HexColors!
On the other Hand are getting Hex Colors introduced by this Update.
Which means may specify Hex-Values for Colors for the Messages sent by the Plugin (even Color Ranges!).
Just edit your lang.yml File using the Following Syntax:
For Simple Hex Colors:
§([HexColor])
Code (YAML):
# The Return Message from the /playtime Command
CMD_SUC_PT_OWN
: |-
§
(fc03ad
)Your Playtime is
%[0]d %[1]h %[2]m %[3]s
Your Sessiontime is
%[4]d %[5]h %[6]m %[7]s
This Code produces this Output:
For Hex Color Ranges:
§([HexRangeBeginning]-) [Some random Text] §(-[HexRangeEnding])
Code (YAML):
# The Return Message from the /playtime Command
CMD_SUC_PT_OWN
: |-
§
(031cfc-
)Your Playtime is
%[0]d %[1]h %[2]m %[3]s
Your Sessiontime is
%[4]d %[5]h %[6]m %[7]s §(-fc03ad)
And this Code produces this Output:
Other small Changes:
- When using the UpdateNotification Function, the Title of the Latest Update get's also displayed into the Notification when a new Update is found.
And that's it, have a nice day everyone!