Releases: Frcsty/FrozenJoin
2.3.1 - Placeholder Caching
So after a long time forgetting to do this, I've finally got to it.
Added 2 new config options. These options together make the new Placeholder Cache. Every # ticks (option update-interval), the placeholders from the list (option placeholders) will be parsed for every player online and saved/cached. This means whenever you use a quit message like:
- '[BROADCAST] &8[&c-&8] &e%luckperms_prefix% &b%player_name%'
It will first look in the cache and see if the message contains cached placeholders and it will replace them with the last cached value then it will parse the rest of the placeholders directly thru PlaceholderAPI.
This option is mostly to fix some placeholders not working in the quit formats and the update-interval can be set to just a few ticks for most people.
A few notes:
- The placeholder list is case sensitive
- The update interval doesn't change until the server is restarted
- This is only really needed for placeholders that only work with a Player as other placeholders that work with both OfflinePlayer and null will still parse just fine.
New config options:
# actions. This is mainly to fix issues with some placeholders not working when a player leaves.
placeholder-cache:
# The interval in ticks to refresh the placeholder cache. 20 ticks = 1 second.
# If you change this value, the server will need to be restarted to apply the changes.
update-interval: 10
# List of placeholders that should be cached. The list does update on /fjoin reload.
placeholders:
- "%luckperms_prefix%"
1.18 and more
Added:
- Full 1.18 support.
- New hex format! #aaFF00. The old one will still work but it is marked for removal in version 2.4.0 of FrozenJoin!!
- New AUDIENCEBROADCAST action. It will broadcast a message to everyone except the player its executed for.
- Per motd delays. These work separately than the DELAY modifier and applies to all the MOTD actions.
Fixes:
- The TITLEBROADCAST action.
- Some stuff in the default config.yml
- The hex colors only working on 1.17 in some cases.
- PAPI expansion version not matching plugin version.
- Colors and placeholders not being parsed for some actions at all.
- The delay modifier only accepting 1 letter long time formats (s, m, etc.) even tho it had support for multiple ones like: sec, minute, etc.
- The chance and delay modifiers sometimes not working at all and also now they can be used anywhere innside an action not just at the start.
- A the handlers for the events fired by FrozenJoinEvent not being static like spigot wants them to be.
- The help command listing unexistent commands.
Others:
- Improved the convert command to contain some tab completion.
- The wrong usage message was showing the "{usage}" placeholder. Now it shows the /fjoin help command.
- Removed dependency on luckperms. That plugin is no longer required for FrozenJoin to work. Thanks to Emily for this!
- Removed unnecesary code that was meant for 1.8 support even tho the plugin doesn't support versions older than 1.17
The Maintainer Swap
Yo, so Frosty stopped working on this plugin for a myriad of reasons and some people wanted to use it for 1.17.
So I stepped up and migrated it to Java 16 and Minecraft 1.17 only. If you are using older versions, use the older version of this plugin posted in this releases section.
I plan on doing little feature updates and stuff if anyone has requests, so please make some Issues!
Love, Star <3
Development Release
This is a development build that will not be updated to Spigot and is here for minor fixes & additions.
This build contains the following additions:
- Player join position which indicates the player's first join position on the server, and can be displayed using "%frozenjoin_player-position%",
- Non LuckPerms permission check.
As I am rewriting the plugin to also allow it to be used on BungeeCord, this is the place where I will be releasing minor updates and patches.
And as always, if you have any suggestions or bugs you'd like to report, open either an issue on this repository or DM me on discord Frosty#3308.