Skip to content

Releases: CC007/HeadsPluginAPI

Release 3.0.1

19 Feb 21:34

Choose a tag to compare

Changes:

  • Fixed a critical bug that caused category searches to take way longer, even crashing the server in some cases. See #22
  • Fixed a bug that the config file wasn't taken into account. It only looked at the default config file inside the jar file before.

More performance and instability fixes might come soon, but this one was so important due to the server crashing potential that it was necessary to release this as soon as possible.

Release 3.0.0

13 Feb 21:44

Choose a tag to compare

Changes:

  • switched over from spring to dagger and from hibernate to openjpa, to significantly reduce the file size.
  • made category loading asynchronous
  • updated dependencies (Including NBT api)
  • removed the requirement for extra server command line parameters (-illegal-access=permit --add-opens java.base/java.lang.invoke=ALL-UNNAMED is no longer needed)

This version supports 1.17 and newer and requires the server to use Java 17 (or newer).

For developers
The API for plugin development can be found here: https://github.com/CC007/HeadsPluginAPI/packages/1160225

API release 2.1.0

22 Dec 00:13

Choose a tag to compare

NOTE: This is not the plugin itself! This is the API that is used by other programmers to use in their plugins (For instance, HeadsInventory uses it).

You can find the api in the attachements. This version is now also available using github packages:

You'll need to use the github repository (you'll need to setup an access token on github to reach this repo, see here):

<repository>
    <id>hpa</id>
    <url>https://maven.pkg.github.com/CC007/HeadsPluginAPI</url>
</repository>

Then you can use the dependency:

<dependency>
  <groupId>com.github.cc007</groupId>
  <artifactId>headsplugin-api</artifactId>
  <version>2.1.0</version>
</dependency>

Release 2.0.11

15 Jul 20:32

Choose a tag to compare

Changes:

  • Updated NBT API to 2.8.0 for compatibility with minecraft 1.17 and 1.17.1
  • Add support for Java 16, which is needed for Minecraft 1.17.
  • Update Spring Boot to 2.5.0

Attention!

If you are using java 16 and newer (which is required for Minecraft 1.17+), you will need to add the following to your startup script of the server: --illegal-access=permit --add-opens java.base/java.lang.invoke=ALL-UNNAMED.
In java 15 and earlier, these settings were the default, but Java 16 made the way you interact with certain parts of the code more strict. These parameters are needed for my plugin to work correctly, due to my use of the Spring Framework.

As an example, the startup script could look something like this (for Spigot):

@echo off
java --illegal-access=warn --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED -Xmx4g -jar spigot.jar
pause

Release 2.0.10

08 Nov 16:06

Choose a tag to compare

Changes:

  • Updated NBT API to 2.6.0 for compatibility with minecraft 1.16.4
  • Enabled minecraft-heads.com by default again

Release 2.0.9

01 Sep 17:59

Choose a tag to compare

This release makes the plugin compatible with 1.16.2 and temporarily disables searching in minecraft-heads by default in the config.yml file.

Once the minecraft-heads API on their website is back up, this can be re-enabled:

headsplugin:
  # define which heads database should be enabled.
  provider:
    freshcoal: true
    mineskin: true
    minecraftHeads: false # <-- turn this back to true once the API works again (I will notify when this is the case in the announcements of my discord channel)

Release 2.0.8

16 Aug 00:25

Choose a tag to compare

Reenable freshcoal searching now that the website is up again.

Release 2.0.7

15 Aug 19:03

Choose a tag to compare

Bugfix release to fix loading issues when the zPermissions plugin is also installed. (issue #10)

zPermissions uses an old version of a library that is incompatible with this plugin. If zPermissions loads first, this causes issues. This update enforces that HeadsPluginAPI loads before zPermissions.

Release 2.0.6

21 Jul 19:18

Choose a tag to compare

Fixes #6 : during startup all categories were updated in bulk. This caused problems for the server to keep up. The category updating has now been staggered.

Implements #7 : it is now possible to disable internet requests to specific heads databases.
by default this is configurated like this:

# ...
headsplugin:
  # define which heads database should be enabled.
  provider:
    freshcoal: false
    mineskin: true
    minecraftHeads: true
  #...

For now FreshCoal is disabled by default, because of the current problems with accessing that website. Once/if FreshCoal is up and running again, you can set the above config property back to true, to make calls to FreshCoal again.
Categories from FreshCoal that have been updated and cached before the website was down will continue to work, however they obviously won't be updated.

I also included a data.zip in this release for new users of this plugin, so that they can at least access the categories from FreshCoal. To use this, unzip the file into the <server>/plugins/HeadsPluginAPI folder

Release 2.0.5

20 Jul 19:15

Choose a tag to compare

  • Fixed issue #1 and issue #4
  • updated mcspring-boot dependency to 0.20.7
  • improved the execution speed for category updates and searches when no heads are found.