Minecraft PostgreSQL JDBC
by Axionize
Minecraft PostgreSQL JDBC is a library that bundles the official PostgreSQL JDBC driver so other mods and plugins can reach a PostgreSQL database without shipping their own copy.
What it does
The mod contains no gameplay of its own. It provides one universal jar that covers each supported loader and Minecraft version, built from the pgjdbc driver with only repackaging changes that leave the driver's functions untouched. Mods and plugins that want to talk to PostgreSQL can depend on it instead of bundling a driver themselves.
The jar works on Fabric, Forge, NeoForge and Quilt, and also runs as a plugin on Paper, Spigot, Bukkit, Purpur and Folia. Java 8 or newer is required, and the driver follows the pgjdbc 42.x baseline. Files cover 1.12.2 – 26.1.2 across 50 release versions, with the latest build dated 2026-06-06 for 26.1.2. The project is open source under the BSD 2-Clause License, and the full license text ships with the jar.
Key features
Bundled PostgreSQL driver
The official pgjdbc driver is repackaged inside the jar, so dependent mods can open PostgreSQL connections without their own driver.
Startup probe
On startup the mod checks whether the driver is available, and dependent code can fall through gracefully when an operator has not installed it.
Isolated plugin classloader
On Paper 1.17 and later the driver sits in the plugin's own classloader, which keeps it separate from other plugins.
Compatibility
Latest build for each game version and loader.
26.x3 of 3 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
1.13.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
2 older game versions (1.12.2 – 1.13) not shown. All files on Modrinth
Use cases
Plugin database access
A Paper or Spigot plugin can declare a softdepend on this mod in plugin.yml to use PostgreSQL, while still running when the jar is absent.
Mod database access
A Fabric, Forge or NeoForge mod can depend on the library and query a PostgreSQL server without bundling its own driver.
Who it’s for: Developers of mods and server plugins that store data in PostgreSQL, and server owners who need a shared driver across several of them.
How it compares
PostgreSQL JDBC Driver is a separate option with Fabric and NeoForge files for 1.18 – 1.21.4, a client or server optional environment and the BSD 2-Clause License. SQLite JDBC is open source under the Apache License 2.0, covers Fabric, Forge and Quilt for 1.12 – 1.20.4, and targets SQLite databases rather than PostgreSQL. Microsoft SQL JDBC is not open source, uses a custom license and covers only Fabric and Forge for 1.12 – 1.20.4.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Minecraft PostgreSQL JDBC | Fabric, Forge, NeoForge and Quilt | 1.12.2 – 26.1.2 | Not published | 2026-06-06 |
| PostgreSQL JDBC Driver | Fabric and NeoForge | 1.18 – 1.21.4 | Client or server, optional | 2025-01-03 |
| SQLite JDBC | Fabric, Forge and Quilt | 1.12 – 1.20.4 | Client or server, optional | 2023-05-06 |
| Microsoft SQL JDBC | Fabric and Forge | 1.12 – 1.20.4 | Client or server, optional | 2023-05-06 |
Questions
Does a player need this mod installed?
Which loader should a developer target?
Does Java 8 work with this mod?
In the catalog
Minecraft PostgreSQL JDBC is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from Axionize
Similar mods
What the author says
The official PostgreSQL JDBC driver (pgjdbc) repackaged as a Bukkit/Spigot/Paper plugin and a Fabric/Forge/NeoForge mod. One universal jar covers every supported loader and MC version. The mod does nothing on its own — it exists so plugins or mods that want to talk to a PostgreSQL database don't each have to bundle…
Official listing
- Modrinth page
- modrinth.com/mod/minecraft-postgresql-jdbc
- Owner
- Axionize
- Published
- 2026-04-25
- Updated on Modrinth
- 2026-06-06
- Facts verified
- 2026-10-15
