Back to mods
Minecraft PostgreSQL JDBC project artwork

Modrinth · Minecraft mod

Minecraft PostgreSQL JDBC

Universal jar shipping the PostgreSQL JDBC driver as a Bukkit/Spigot/Paper plugin and Fabric/Forge/NeoForge mod.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Minecraft PostgreSQL JDBC release matches 1.21.8 NeoForge?

Updated 2 months ago
Best match for your filters 42.7.11+2026-05-02
Game version 1.12.2, 1.13, 1.13.1
Loader bukkit, Fabric, folia

Minecraft PostgreSQL JDBC 42.7.11+2026-05-02 targets 1.12.2, 1.13, 1.13.1 with bukkit, Fabric, folia. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Minecraft PostgreSQL JDBC required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release bukkit, Fabric, folia
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Minecraft PostgreSQL JDBC 42.7.11+2026-05-02 need?

42.7.11+2026-05-02 on 1.21.8 NeoForge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Minecraft PostgreSQL JDBC without breaking your instance.

Built for Minecraft PostgreSQL JDBC 42.7.11+2026-05-02 on 1.21.8 NeoForge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 42.7.11+2026-05-02. It targets 1.12.2, 1.13, 1.13.1 with bukkit, Fabric, folia; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 42.7.11+2026-05-02. It opens that exact file at the source.

About this project

What does Minecraft PostgreSQL JDBC add?

PostgreSQL JDBC

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 their own copy of the driver.

What's in the jar

org.postgresql:postgresql:42.7.5 plus minimal loader stubs for Spigot, Forge 1.12, Forge 1.13–1.16, Forge 1.17–1.20, NeoForge 1.21+, and Fabric. The driver classes stay at their canonical org.postgresql.* paths — no relocation — so consumers find them with plain Class.forName("org.postgresql.Driver"). META-INF/services/java.sql.Driver is preserved so the driver auto-registers with DriverManager.

Compatibility

Loader MC versions Notes
Bukkit / Spigot / Paper / Folia / Purpur 1.8 → current drop into plugins/
Fabric 1.16.1 → current needs Fabric Loader 0.14+
Forge 1.12 → 1.20 universal jar, no Mixins
NeoForge 1.21 → current drop into mods/

Java 8+ required (pgjdbc 42.x baseline).

Using it from a plugin or mod

Declare pgjdbc as compileOnly against the same version this jar ships:

compileOnly("org.postgresql:postgresql:42.7.5")

Probe at startup. Fall through gracefully if the operator hasn't installed this:

try {
    Class.forName("org.postgresql.Driver");
} catch (ClassNotFoundException e) {
    getLogger().warning("PostgreSQL backend disabled — install minecraft-postgresql-jdbc");
    return;
}
try (Connection c = DriverManager.getConnection(url, user, password)) {
    // ...
}

On Paper 1.17+ each plugin's classloader is isolated. Add this mod to your plugin.yml softdepend so the driver classes are visible to your plugin:

softdepend: [minecraft-postgresql-jdbc]

Fabric and NeoForge unify all mods on one classloader, so no equivalent declaration is needed there.

Versioning

The jar version tracks pgjdbc one-to-one. 42.7.5+2026-04-25 ships pgjdbc 42.7.5; the suffix is the build date. A scheduled GitHub Action checks Maven Central daily — when pgjdbc cuts a new release, it opens an auto-merge PR and the Modrinth release goes out automatically.

License

The driver is BSD-2-Clause (PostgreSQL Global Development Group). The repackage adds no functional changes and inherits that license. Full text in LICENSE.


Issues, source: GitHub.

Project description from Modrinth.

Pick your setup

Minecraft PostgreSQL JDBC by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

200 available setups

Showing the newest 12 of 50 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Minecraft PostgreSQL JDBC versions and loaders

3 of 3 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.