Skip to content
mastercoms edited this page Mar 16, 2019 · 5 revisions

Since Glowstone 2018.1.0, there is a library manager that allows for customization by server owners. This downloads configured libraries to the libs/ folder. The library manager does checksum validation on libraries (configurable with libraries.checksum-validation) and attempts to fetch libraries from our Maven repo (configurable with libraries.repository-url) twice (configurable with libraries.download-attempts) before quitting.

The library manager is a full Maven client, so it will handle library dependencies appropriately.

Custom Libraries

You can specify your own libraries for Glowstone to download and use through the libraries.list config key in glowstone.yml.

Compatibility Bundlies

To ensure compatibility with CraftBukkit plugins that expect a certain runtime environment, we have a CraftBukkit compatibility bundle by default that includes all the extra libraries that Glowstone itself does not depend on. This is configurable through the libraries.compatibility-bundle key in glowstone.yml and may be set to CRAFTBUKKIT or NONE at this time. At the time of writing, the CraftBukkit bundle includes the following libraries:

  • org.xerial:sqlite-jdbc
  • mysql:mysql-connector-java
  • org.apache.logging:log4j.log4j-api
  • org.apache.logging:log4j.log4j-core
  • org.apache.commons:commons-lang3