Releases: dscalzi/SkyChanger
Release 5.0.1 - Fix Sponge API 8 (1.16.5) Compatibility
Release v5.0.1
Notes on 1.17+
Sky change functionality is not possible as of 1.17. This plugin can only be used on versions 1.8-1.16.
Sponge 1.16.5 (API 8)
Sponge has introduced incompatible changes to their API 8. SkyChanger has been updated accordingly.
Changes
Release 5.0.0 - Sponge 1.16.5 (api 8), Spigot 1.17+ Warnings
Release v5.0.0
Notes on 1.17+
Sky change functionality is not possible as of 1.17. This plugin can only be used on versions 1.8-1.16.
Sponge 1.16.5 (API 8)
SkyChanger has been updated to Sponge API 8 and 1.16.5. For 1.12.2 and API 7, remain on SkyChanger 4.x.x. The plugin will not be updated to API 9 as sky change functionality is not possible as of 1.17.
Changes
- b66eacd Update Messages_fr_FR.properties
- v4.0.2...v5.0.0 Full changeset
- Updated project infrastructure (gradle 7, github actions, etc..)
- Switched to Sponge API 8.
- Added warnings for Spigot 1.17+.
Release 4.0.2 - Target Spigot 1.16.5, Sponge API 7.3, Update bStats
Release v4.0.2
This release changes the target spigot version from 1.16.2 to 1.16.5. The target Sponge API version has been increased from 7.1 to 7.3. This also includes an upgrade of bStats.
Commits
- 44551a0 Update license header, spigot target, sponge target, bStats.
Release 4.0.1 - Support for 1.16.2
Release v4.0.1
This release adds support for Spigot 1.16.2. Sky change functionality is fully supported. The freeze feature has been updated and is only partially supported on 1.16.x.
Commits
- 681372c Update for 1.16.2.
Release 4.0.0 - Support for 1.16
Release v4.0.0
This release adds support for Spigot 1.16.x. Sky change functionality is fully supported. The freeze feature is partially supported, as the desired effect is only produced sometimes.
API Changes
Breaking Changes
The SkyPacket
enum values have been changed to more accurately reflect what they represent.
SkyPacket.FADE_VALUE
->SkyPacket.RAIN_LEVEL_CHANGE
SkyPacket.FADE_TIME
->SkyPacket.THUNDER_LEVEL_CHANGE
Other notes
- The Bukkit SkyChangeImpl class has been refactored to be easier to maintain and understand. This refactor has been tested on all versions from 1.8 to 1.16.
- The 1.15 freeze warning has been removed as the feature seems to be working as expected on that version.
- Added a freeze warning to 1.8 as the player is still able to move. The chunks are still unrendered, so it is partially supported.
Commits
Release 3.1.1 - Added French Language Support
Release v3.1.1
This release adds support for the French language (fr_FR). bStats has also been updated to v1.7
SkyChanger-Core is now properly exposed as an api dependency, so you shouldnt have to include it as a separate dependency anymore. I've submitted a request to include SkyChanger-Core in jCenter.
Until it is accepted, you can pull it from the following repository.
maven { url 'https://dl.bintray.com/dscalzi/maven' }
Edit: It's now available on jcenter.
Commits
Release 3.1.0 - Added French Language Support
Release v3.1.0
This release adds support for the French language (fr_FR). bStats has also been updated to v1.7
Commits
Bukkit Release v3.0.1 - 1.15 Support
Bukkit Release v3.0.1
This release adds full support for Spigot 1.15. The freeze feature is not functional on this version. A warning message indicating this has been added. This is the case on 1.13 as well. For some reason, on 1.14 it's functioning as expected.
More importantly, all sky change functionality is working.
Commits
Release 3.0.0 - More Sky Color Options
Release v3.0.0
This release modifies the base command to add an additional optional parameter. Japanese is now a supported language.
/SkyChanger <#> [#]
The second number sends an additional packet to the client, which can be combined with the first number for more color possibilities. This argument is optional, and can be omitted. Note that if it is not present, the second packet will not be sent altogether.
Ex.
/SkyChanger 4 = red
/SkyChanger 4 10 = light blue
/SkyChanger 4 = light blue (second packet is unchanged)
/SkyChanger 4 0 = red (second packet is reset to 0)
This release also includes a large refactor of the codebase, moving all the core functionality to a core module. This will make maintenance easier in the future, as most of the code will only need to be edited in one place. This refactor includes some API changes.
API Changes
Breaking Changes
There is now a single API class for both implementations. Each implementation will have a SkyChanger class which can be used to grab the implementation-specific version.
com.dscalzi.skychanger.bukkit.api.SkyAPI
-> com.dscalzi.skychanger.core.api.SkyAPI
com.dscalzi.skychanger.sponge.api.SkyAPI
-> com.dscalzi.skychanger.core.api.SkyAPI
The API functions now take an IPlayer
as an argument. New usage:
api.changeSky(SkyChanger.wrapPlayer(player), 3F)
New Features
You can now send two packets to change the sky color. Each packet is represented by the new SkyPacket
enum.
SkyPacket.FADE_VALUE
= Original packet (id 7)SkyPacket.FADE_TIME
= New packet (id 8)
SkyAPI offers a new function allowing you to change the packet.
boolean changeSky(IPlayer player, SkyPacket packet, float number);
ex.
api.changeSky(SkyChanger.wrapPlayer(player), SkyPacket.FADE_VALUE, 4F)
Other changes
Release 2.1.0 - Added Radius Argument (-r)
Release v2.1.0
This release adds a new argument to the change sky and freeze commands. You can now target all players within a specific radius. To do this, use the -r
flag.
Ex. /skychanger 3 -r 150
This flag requires additional permission.
Ex.
skychanger.changesky.radius.*
Access to the radius flag for any radius.skychanger.changesky.radius.150
Access to the radius flag for any value up to 150.