Bugs fixed:
- LinkCommands: The return value of "orElseThrow" must be used.
- RegistrationCommands: Optional isPresent not same instance as Optional get
Smells fixed:
- Plan: "logger" is the name of a field in "JavaPlugin"
- PlayersTableJSONCreator: Reduce the total number of break and continue statements in this loop to use at most one.
- BukkitAFKListener, SpongeAFKListener, NukkitAFKListener, PlanAPI, CapabilityService: match the regular expression '^[a-z][a-zA-Z0-9]*$'
- TaskSystem: Reorder the modifiers to comply with the Java Language Specification.
- EntityNameFormatter: StringUtils.removeAll moved to RegExUtils.removeAll
- FiltersJSONResolver: fulfill compareTo contract
- ExportTask: Removed duplicate string literal
- FinishedSession.Id: Rename field "id"
- Session save is now properly waited for when plugin disables
The session save attempt times out after 4 seconds instead of
waiting forever
- If shutdown save is not performed, instead of attempting again on JVM death,
the sessions are placed into a file that is read next time the plugin
enables.
Affects issues:
- Fixed#1770
- Split Session into ActiveSession and FinishedSession, replaced their usage
- Replaced UUID with ServerUUID when the data type
Affects issues:
- Close#1746
The dates were calculating the metric wrong way around,
- the first index was for current time
- Regulars
- the second index was for 30 days ago
- Inactive
So it was calculating inactive->regular instead
Affects issues:
- Fixed#1775
Bumps `palVersion` from 4.0.2 to 4.0.5.
Updates `platform-abstraction-layer-api` from 4.0.2 to 4.0.5
Updates `platform-abstraction-layer-bukkit` from 4.0.2 to 4.0.5
Updates `platform-abstraction-layer-sponge` from 4.0.2 to 4.0.5
Updates `platform-abstraction-layer-nukkit` from 4.0.2 to 4.0.5
Updates `platform-abstraction-layer-bungeecord` from 4.0.2 to 4.0.5
Updates `platform-abstraction-layer-velocity` from 4.0.2 to 4.0.5
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Replaced Abstract Plugin Framework with Platform Abstraction Layer
Large amount of changes due to removal of features from the library,
and change of the way the abstraction is achieved.
Removes features from Plan:
Removed debug logging (Considered useless when debugging issues)
Removed /debug page (Considered useless when debugging issues)
Removed enable timing (Benchmarking utility was removed from the library)
- Updated some extensions
- Removed GriefPreventionPlus extension since it was no longer
available anywhere for installing
Affects issues:
- Close#1779