Back to mods
Magnus project artwork

CurseForge · Minecraft mod

Magnus

A modular, high-performance, and resilient synchronization suite for Minecraft Fabric servers. Features real-time inventory sync, cross-server chat, and global player management.

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

Quick answer

Which Magnus release should I use?

Updated yesterday
Latest stable file Magnus Sync v1.4.2
Game version 1.21.8, 1.21.5, 1.21.4
Loader Fabric

Magnus Sync v1.4.2 targets 1.21.8, 1.21.5, 1.21.4 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.

Where it goes

Is Magnus 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 Fabric
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 Magnus Sync v1.4.2 need?

Magnus Sync v1.4.2. Change the file and its required mods may change too.

All 2 required mods have matching files

Install Fabric API, Fabric Language Kotlin first. We found matching files for this game-version and loader setup.

Fabric API Needed by Magnus Sync v1.4.2
required
Matching file found Matched file: [1.21.1] Fabric API 0.116.17+1.21.1
Fabric Language Kotlin Needed by Magnus Sync v1.4.2
required
Matching file found Matched file: Fabric Language Kotlin 1.14.1+kotlin.2.4.20

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Magnus without breaking your instance.

Built for Magnus Sync v1.4.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Magnus Sync v1.4.2. It targets 1.21.8, 1.21.5, 1.21.4 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API, Fabric Language Kotlin first. We found matching files for this game-version and loader setup.

  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 Magnus Sync v1.4.2. It opens that exact file at the source.

About this project

What does Magnus add?

Magnus (Server-Side)

Build Status Minecraft Version Fabric Kotlin GitHub Release Modrinth Version CurseForge Version PostgreSQL Redis Trivy License

A modular, high-performance, and resilient synchronization suite for Minecraft Fabric servers. Features real-time inventory sync, cross-server chat, and global player management.

Features

Core Sync

  • Multi-Server Sync: Syncs Inventory, Ender Chest, Health, Hunger, XP, Potion Effects.
  • High Performance: Uses Redis for sub-millisecond data retrieval.
  • Persistence: Uses PostgreSQL for permanent reliable storage.
  • Fault Tolerance:
    • Circuit Breaker: Detects database failures automatically.
    • Local Fallback: Saves data to disk if the database goes down.
    • Auto-Recovery: "The Janitor" service automatically restores data when the database comes back online.

Modules

Module Description
Inventory Sync Core synchronization of inventory, ender chest, health, hunger, XP, and potion effects. Enabled by default.
Global Chat Syncs chat messages across all servers via Redis pub/sub. Raw text format for compatibility with LuckPerms, Stylist, etc.
Global Player List Maintains a global player count with heartbeat. Provides /glist command.
Session Lock Prevents concurrent logins by locking player sessions during sync. Players are held in queue until their data is safely transferred.

Security

Feature Default Description
Message Signing ✅ Enabled HMAC-SHA256 prevents message injection attacks
Auto-Generated Secret 32-byte cryptographic secret generated on first run
Replay Prevention 30 sec Messages older than 30 seconds are rejected
Payload Size Limits 64KB Prevents DoS via oversized messages
SSL/TLS Support Optional Encrypt Redis connections

Configuration

Magnus requires a PostgreSQL database and a Redis instance to function.

  1. Generate Config: Start your server once to generate the default configuration file at config/magnus.json.
  2. Edit Config: Stop the server and open config/magnus.json:
{
    "postgresUrl": "jdbc:postgresql://your-db-host:5432/magnus",
    "postgresUser": "your_user",
    "postgresPass": "your_password",
    "redisHost": "your-redis-host",
    "redisPort": 6379,
    "redisPass": null,
    "serverName": "survival",
    "enableInventorySync": true,
    "enableGlobalChat": false,
    "enableGlobalPlayerList": false,
    "enableSessionLock": false,
    "enableMessageSigning": true,
    "messageSigningSecret": "auto-generated-on-first-run",
    "redisSsl": false
}
  1. Launch: Restart your server. Magnus will automatically verify the connection and create the necessary database schema.

[!IMPORTANT] Multi-Server Setup: Copy the messageSigningSecret from the first server to all other servers. All servers must use the same secret.

Configuration Options

Option Default Description
serverName "default" Unique identifier for this server (e.g., "survival", "lobby")
enableInventorySync true Enable inventory/player data synchronization. Disable for lobby servers.
enableGlobalChat false Enable cross-server chat synchronization
enableGlobalPlayerList false Enable global player list and /glist command
enableSessionLock false Enable session locking to prevent concurrent logins
enableMessageSigning true Enable HMAC message signing (recommended)
redisSsl false Enable SSL/TLS for Redis connections

Commands

Command Description
/glist Shows total player count and players grouped by server (requires enableGlobalPlayerList)

Architecture

For detailed flow diagrams and behavior documentation:

  • Core Sync Flow - Data synchronization and fault tolerance
  • Global Chat Flow - Cross-server chat messaging
  • Global Player List Flow - Player list heartbeat and /glist
  • Session Lock Flow - Login queue and session locking
  • Message Security Flow - HMAC signing and replay prevention
  • Server Lifecycle Flow - Startup and shutdown sequence

Project description from CurseForge.

Pick your setup

Magnus by Minecraft version and loader

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

11 available setups

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

Recent files

Magnus versions and loaders

12 of 12 releases match

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