Skip to content

适用于 Minecraft 26.2 的 Ledger Databases 模组

为 Ledger 添加对额外数据库类型的支持

次浏览
29 次浏览
已更新
已更新 18.10.2026

Ledger Databases

Adds support for MySQL, PostgreSQL and H2 databases in Ledger

Use

Common

For all database types, you will need to place Ledger Databases in your mods folder along with the latest version of ledger

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 = []

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 = "MYSQL" url = "" username = "" password = "" properties = []

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"]

如何安装 Ledger Databases

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 26.1–26.2 on Fabric automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric

    The loader must match the game version of the mod file, for example Minecraft 26.2. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file ledger-databases-1.2.2.jar (6.6 MB) for your game version.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: Ledger Databases should be in the list.

版本

含依赖项

Minecraft加载器文件日期操作
26.1Fabricledger-databases-1.2.2.jar6.6 MB

评价

成为第一个评价 Ledger Databases 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多