Back to mods
Ledger Databases project artwork

Modrinth · Minecraft mod

Ledger Databases

Adds support for additional database types to Ledger

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

Quick answer

Which Ledger Databases release should I use?

Updated 7 months ago
Latest stable file 1.2.2
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

Ledger Databases 1.2.2 targets 26.1, 26.1.1, 26.1.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 3 required mods have matching files.

Where it goes

Is Ledger Databases required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

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

This file is marked server-only.

What else does Ledger Databases 1.2.2 need?

1.2.2. Change the file and its required mods may change too.

All 3 required mods have matching files

Install Ledger, Fabric API, Fabric Language Kotlin first. We found matching files for this game-version and loader setup. 3 come through another mod in the chain.

1 listed on this file 3 pulled in by those mods
Ledger Needed by Ledger Databases 1.2.2
required
Matching file found Matched file: 1.3.25
Fabric API Needed by Ledger
pulled in
Matching file found Matched file: 0.166.2+26.3
Cardboard Needed by Ledger
pulled in
Matching file found Matched file: 26.1-16

3 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Ledger Databases without breaking your instance.

Built for Ledger Databases 1.2.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2.2. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Ledger, Fabric API, Fabric Language Kotlin first. We found matching files for this game-version and loader setup. 3 come through another mod in the chain.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.2.2. It opens that exact file at the source.

About this project

What does Ledger Databases add?

Ledger Databases

Adds support for MySQL, H2, and PostgreSQL databases in Ledger

Use

Common

For both MySQL, H2, and PostgreSQL, you will need to place Ledger Databases in your mods folder along with Ledger 1.1.0 or newer

H2

Add the following to the bottom of your Ledger config file:

[database_extensions]
database = "H2"

MySQL

Add the following to the bottom of your Ledger config file:

[database_extensions]
database = "MYSQL"
url = ""
username = ""
password = ""
properties = []
maxPoolSize = 10
connectionTimeout = 60000

url: Must be URL of database with /<database_name> appended. An example URL would be localhost/ledger. You can optionally add port information such as localhost:3000/ledger

PostgreSQL

[database_extensions]
database = "POSTGRESQL"
url = ""
username = ""
password = ""
properties = []
maxPoolSize = 10
connectionTimeout = 60000

SQLite

[database_extensions]
database = "SQLITE"

Connector properties

For some databases, such as MySQL, you can provide properties to the database connector. For each property, add a string entry to the properties array.

properties = ["useJDBCCompliantTimezoneShift=true", "useLegacyDatetimeCode=false", "serverTimezone=UTC"]

Project description from Modrinth.

Pick your setup

Ledger Databases by Minecraft version and loader

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

20 available setups

Showing the newest 12 of 20 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

Ledger Databases versions and loaders

3 of 3 releases match

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