5.5 DEV build 2254
Curse Maven Snippet
What's new
5.5 DEV build 2254
This dev release enables the React Frontend by default and adds new APIs for adding content to the React website via Javascript and Java.
This is a release candidate, I just didn't have time to write enough documentation for a full release this weekend.
Changes from DEV build 2208
- Enabled React frontend by default
- Added 'Plugin.UseLegacyFrontend' (default: false) that still allows using old frontend for a while until it's completely removed.
-
Added new PageExtension javascript APIs. Documentation is still in progress.
- pageExtensionApi.js
- ResourceService got two new methods
ResourceService.Position.AFTER_MAIN_SCRIPTis now deprecated and is a no-op if used with index.html (The react bundle .html file)
Change log
React Frontend (Previously called Frontend BETA)
New frontend is now enabled by default. 'Plugin.UseLegacyFrontend' (default: false) setting still allows using old frontend for a while until it's completely removed.
- Use public_html for customizing React-bundle. See https://github.com/plan-player-analytics/Plan/wiki/Html-Customization--migration-guide-to-React on how to use the customization features with new frontend.
- Added a page navigation button that allows moving to different servers and other pages easily. This replaces the 'Back to main page' button.

- Improved mobile navigation. With the navigation button this should help mobile users a lot.
- Fixed network server list saying "No servers installed" while servers were being loaded.
- Fixed page translation issues
- React was updated to version 18
Webserver
- Implemented HTTP Caching: Browser will now cache some responses and avoid sending unnecessary data if it was already loaded. This can improve page loading times from multiple seconds to milliseconds.
- Implemented public_html feature that allows hosting custom files from a configurable folder
Webserver.Public_html_directory(default/plugins/Plan/public_html). This can be used to host http-challenge file for certbot and other files. - /v1/network/servers endpoint was optimized, got a 66% speed increase, so Servers tab on network page should load faster.
Database
- PlayerTableRowPatch should no longer be re-applied all the time
- Optimized server player table query: /server/players now loads much faster. Tested optimization: 4s -> 500ms: 8x improvement
- Optimized server latest join addresses query: /sever/join_addresses now loads much faster. Tested optimization: 19s -> 150ms: 120x improvement
PlaceholderAPI
- Unregister placeholder extension when Plan disables: this possibly fixes an issue where PlaceholderAPI would log errors when Plan disabled before PlaceholderAPI.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include