PlayerHeads Compatibility Library v5.2.12

Details

  • Filename
    PlayerHeads-compatibility-lib-5.2.12-SNAPSHOT.jar
  • Uploaded by
  • Uploaded
    Sep 25, 2020
  • Size
    79.29 KB
  • Downloads
    139
  • MD5
    d80d24510dd876efaf58582e23fe743e

Supported Bukkit Versions

  • 1.16
  • 1.15
  • 1.14
  • 1.13
  • 1.12
  • 1.11
  • 1.10
  • 1.9
  • 1.8.1
  • 1.8

Changelog

PlayerHeads 5.2.12 Compatibility Lib

  • this library is a self-contained set of classes that you can shade/copy into your own plugin to use for supporting common head methods across multiple server versions without the interference of PlayerHeads-specific logic/API.
    This is intended for use by other plugin developers who are creating their own head support plugin, not for integrating a plugin with PlayerHeads support - you should use the PlayerHeads API instead for that.
    This library is being provided due to the request of another developer. If you use this library, please credit it somewhere.  Thank you.
  • unlike the PlayerHeads-API (and Compatibility-API inside PH), this library includes all version support providers used by PH, not just the interfaces.
  • note: stability cannot be guaranteed if you use your own plugin with the compatibility library at the same time as PlayerHeads itself at this time because of namespace overlap. To avoid this, you can "relocate" compatibility classes to your namespace when shading.
  • this is an early release

PlayerHeads Compatibility Lib is not a plugin and is intended as a dependency for developers adding head support to their plugins.

 

Generally, the compatibility library is a wrapper for some parts of the bukkit api (and underlying server support) to operate the same across versions, or offer conversion methods.

 

Usual usage:  Call Compatibility.init() in either onLoad() or onEnable() (depending how early you need it).  Then Compatibility.getProvider() will return an object with all of the supported methods.   Additional classes are provided for convenience information, version checking, etc.  Please refer to the documentation for more detailed information.

 

 

Compatibility Documentation: https://crashdemons.github.io/PlayerHeads/

This library is also available as a Maven dependency called "PlayerHeads-compatibility-lib" and can be added to your project in similar to how the PlayerHeads-API is added.  Just, don't forget to shade the classes into your project.