STYGION Library Beta

The part of Keystone that is somebody else's code.

STYGION Library carries the libraries our mods share: SQLite and SFTP, exactly as Maven Central serves them, with their licences. Keystone 0.3.4 and later need it beside them. On its own it adds nothing to the game.

What is inside

Two libraries, nested unmodified (NeoForge Jar-in-Jar), never relocated or rebuilt. Their licence files are in META-INF/licenses/.

sqlite-jdbc (xerial)

Version
3.53.2.1
Licence
Apache-2.0
What Keystone uses it for
keeping its data in one SQLite file (SQLite itself is public domain)

JSch (mwiede)

Version
2.28.8
Licence
BSD-style
What Keystone uses it for
off-site backups over SFTP (with JZlib and jBCrypt)

Where it goes

Wherever you install Keystone: on the server, and on the client when you play single-player or use Keystone's client half. STYGION Launcher installs it together with Keystone. Without it the game stops at the loading screen and says what is missing.

Why a mod of its own

sqlite-jdbc brings SQLite's native library for every operating system, the only native code in any STYGION mod. It lives here, in a file that rarely changes, so Keystone's own jar is just our code: no nested jars and nothing native.

Questions people ask

Do I need it without Keystone?

No. On its own it adds nothing to the game.

Which Keystone needs it?

Keystone 0.3.4 and later. 0.3.3 and older carry their libraries inside and do not need it.

Which versions of Minecraft?

One file for 1.21.1 and 26.2, on NeoForge.

Why nested and not built into Keystone?

Built into a jar, a library clashes with any other mod in the pack that nests the same one, and the game does not start. Nested unmodified, NeoForge picks one copy for the whole pack.

What is the licence?

Our part is All Rights Reserved. sqlite-jdbc is Apache-2.0, SQLite is public domain, and JSch is BSD-style; their licence files ride in the jar.

Come and argue with us

Everything we make gets argued about in one Discord. Ideas, bugs and the occasional very long message about JVM flags.