Minecraft MongoDB Driver

Quick rating

Minecraft MongoDB Driver

No reviews yet

Up-to-date MongoDB Java sync driver wrapped as a universal Forge/Fabric/Bukkit library for plugins like Grim.

API/Library
Mod Loaders
Forge
NeoForge
Fabric
Paper
Spigot
Quilt
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unknown
Server Unknown

About

Project Details

Type
Mod
License
Apache License 2.0
Latest Version
5.8.0+2026-05-29
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

MongoDB Java Driver for Minecraft

The official MongoDB Java sync driver (mongodb-driver-sync plus its core and BSON dependencies) repackaged as a Bukkit/Spigot/Paper plugin and a Fabric/Forge/NeoForge mod.

The mod does nothing on its own. Other plugins/mods that want to talk to MongoDB pick this up via softdepend (or just by being on the same classloader) and use the driver via the standard MongoClients.create(...) API.

What's in the jar

The full sync-driver bundle:

  • org.mongodb:mongodb-driver-sync:5.3.1 — the API surface (MongoClient, MongoCollection, etc.)
  • org.mongodb:mongodb-driver-core:5.3.1 — wire-protocol implementation, connection pooling, server discovery
  • org.mongodb:bson:5.3.1 — BSON codecs and document model
  • org.mongodb:bson-record-codec:5.3.1 — Java record support

Plus minimal loader stubs for Spigot, Forge 1.12, Forge 1.13–1.16, Forge 1.17–1.20, NeoForge 1.21+, and Fabric. Classes stay at canonical com.mongodb.* and org.bson.* paths — no relocation — so consumers find them with plain Class.forName.

Service files for BSON codecs are merged via Shadow's mergeServiceFiles() so codec auto-discovery works.

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 (driver 5.x baseline).

Using it from a plugin or mod

compileOnly("org.mongodb:mongodb-driver-sync:5.3.1")

Probe and connect:

try {
    Class.forName("com.mongodb.client.MongoClients");
} catch (ClassNotFoundException e) {
    getLogger().warning("MongoDB backend disabled — install minecraft-mongodb-driver");
    return;
}
MongoClient client = MongoClients.create("mongodb://user:pass@host:27017/?authSource=admin");

On Paper 1.17+ add softdepend: [minecraft-mongodb-driver] to your plugin.yml so the classes are visible to your plugin's classloader.

Connection strings carry everything — auth source, replica set members, read preference, write concern. Put it all in the URI; don't try to set them via MongoClientOptions unless you're doing something unusual.

Versioning

The jar version tracks the upstream sync driver. 5.3.1+2026-04-25 ships driver-sync 5.3.1 plus matching core/bson; the suffix is the build date. Auto-bump runs daily against Maven Central.

License

Apache 2.0 (MongoDB, Inc.). The repackage adds no functional changes. Full text in LICENSE.


Issues, source: GitHub.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works