Skip to content

Releases: CC007/HeadsPluginAPI

API release 2.1.0

22 Dec 00:13
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Reenable freshcoal searching now that the website is up again.

Release 2.0.7

15 Aug 19:03
Compare
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
Compare
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
Compare
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.

Release 2.0.4

04 Jul 21:38
Compare
Choose a tag to compare

Fixed issue #2: The HeadPlacer didn't work correctly in 1.16, because of changes in the NBT data format of a head block.

This version (or newer) is needed for HeadSweeper 1.6.x

Release 2.0.3

04 Jul 11:23
Compare
Choose a tag to compare

Fixed that search was case sensitive for heads that originated from categories. After the fix it doesn't matter anymore that heads have capitals in the name when searching for heads.