Universes 4.0-dev5

Development changelogs and builds
User avatar
WhispTheFox
Site Admin
Posts: 12
Joined: Thu Jul 02, 2020 12:53 pm
Contact:

Universes 4.0-dev5

Post by WhispTheFox »

In this dev build, everything should have a working implementation. At this point, testing has now been done using an SQLite database. Modifications have to be made, and therefore tests need to be run with a MySQL database to ensure none of the changes will interfere with MySQL. I would consider this build a release candidate build. What I mean by that is, this build is suitable for release, however it has not been as thoroughly tested as a release build and therefore could have some unforeseen bugs that need to be resolved. This also means I have not yet done any backwards compatibility tests. Also, Universe-Nethers has not yet been updated to work with this version. and a new Universe-Ends has not yet been created. Those will be fairly quick to finish. Most of what remains is testing and debugging where necessary. You should see a release of Universes 4.0 very very soon.

Here's the changelog for this build:
- modified Universe table in database to hold spawn location has JSON
- adjusted ModifyCommand and WorldSettingsGUI to update settings in database instead of file
- adjusted ChangePlayerLimit and ChangeRespawnWorld to update settings in database instead of file
- modified Universe table in database to hold game mode, spawn point, and respawn world
- rewrote CreateCommand to use new storage system
- modified DeleteCommand to use new storage system
- added permission check to ConvertCommand
- added permission Universes.convert to plugin.yml
- fixed typo in Universes.spawn permission child in Universes.* permission
- added /universeconvert command to HelpCommand
- rewrote import command for new storage system
- replaced string concatonation in loop with a StringBuilder in ListWorldsCommand
- made reload command functional
- added previous location management code to UniversePlayer
- modified SpawnCommand to use new Universe class and UniversePlayer class
- rewrote TeleportCommand to use new UniversePlayer and Universe classes
- added RespawnEvent to handle PlayerRespawnEvent for use-respawnWorld
- added PlayerDeathEvent handler to RespawnEvent for saving location on death
- renamed teleport-tracking track-previous-locations in config.yml
- added new config option "save-location-on-death", to save the death location as a previous location for teleport tracking
- removed save-inventory-on-death from config.yml as it is no longer used
- modified code for SQLite errors when using a local database
- created TeleportEvent with PlayerTeleportEvent handle to save previous locations on world change from non-Universes commands

And here's a download link: downloads/Universes%204.0-dev5.jar