Skip to content

2core

Run two linked Fabric servers as separate JVM processes — one mod managing a primary and secondary server with real-time cross-server features.

Fabric
Loaders
Fabric
Downloads on Modrinth
79
Followers on Modrinth
0
version
1
Updated
May 20, 2026May 20
Published
in 2026

At a glance

Runs on Fabric
For Minecraft 1.21.11
Server only — players don't need to install it
Latest version — 1.0.0 from May 20, 2026
Requires Fabric Language Kotlin and Fabric API
License MIT — free
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions1.21.11

2Core

Run a second Fabric server as a separate JVM process — one mod, two roles.


What is this?

2Core lets you run two Minecraft servers on the same machine from a single mod. The primary server launches and manages the secondary server as an external JVM process. Both servers use the same mod JAR — the role (primary or secondary) is determined automatically at startup.

No plugins, no proxies, no extra software required.


Features

  • One mod, two servers — install once, the mod handles both roles automatically
  • Cross-server chat sync — chat messages, join/leave notifications, and death messages are relayed between servers in real time
  • Player list — /listother shows online players on the other server (available to all players)
  • Full process management — start, stop, restart the secondary server with simple commands
  • Console relay — optionally mirror the secondary server's console output to the primary
  • Auto-start — optionally start the secondary server automatically when the primary starts
  • Configurable messages — customize join/leave/chat/death message formats independently for each server with color code support (&6, &a, etc.)
  • Safe IPC — servers communicate over a localhost-only TCP socket, no external exposure

Requirements

Minecraft1.21.11
Fabric Loader≥ 0.18.6
Fabric APIany
Fabric Language Kotlin≥ 1.13.0

Server-side only. No client installation needed.


Setup

  1. Install the mod on your primary server (along with Fabric API and Fabric Language Kotlin)
  2. Start the primary server — the mod creates a 2core/ folder and a 2core/2core.properties config file
  3. Place your secondary server files inside 2core/ (or configure copy_mode to copy them automatically)
  4. Run /2core start to launch the secondary server

The mod copies itself into 2core/mods/ automatically — no need to install it separately on the secondary.


Commands

Available on both servers (all players)

CommandDescription
/listotherShow online players on the other server

Admin commands — primary server only (/2core ...)

CommandDescription
/2core startStart the second server
/2core stopStop the second server
/2core restartRestart the second server
/2core statusShow status, config, and IPC connection info
/2core chatlink on|offEnable or disable cross-server sync
/2core console on|offToggle secondary console relay to primary
`/2core cmd `Send a command to the secondary server
`/2core set `Change a config value without editing the file
/2core helpShow command list

Configuration

Config file: 2core/2core.properties

KeyDefaultDescription
copy_modenonenone / launcher / full — how to copy server files to 2core/
launcher_jarfabric-server-launch.jarFabric launcher jar name
vanilla_jarserver.jarVanilla server jar name
port25566Port for the secondary server
max_ram_mb1024Max RAM for the secondary JVM (-Xmx)
auto_startfalseStart secondary automatically when primary starts
auto_consolefalseEnable console relay automatically on startup
chat_linkfalseSync chat, join, leave, and death events between servers
ipc_port0IPC port for inter-server communication (0 = auto)
join_message_for_primary&6%player% joined the second serverShown on primary when a player joins the secondary
join_message_for_secondary&6%player% joined the main serverShown on secondary when a player joins the primary
leave_message_for_primary&6%player% left the second serverShown on primary when a player leaves the secondary
leave_message_for_secondary&6%player% left the main serverShown on secondary when a player leaves the primary
chat_format_for_primary&7[&62nd&7] &f<%player%> %message%Chat format on primary for messages from secondary
chat_format_for_secondary&7[&61st&7] &f<%player%> %message%Chat format on secondary for messages from primary
death_format_for_primary&7[&62nd&7] &c%message%Death message format on primary from secondary
death_format_for_secondary&7[&61st&7] &c%message%Death message format on secondary from primary

Placeholders: %player%, %message%. Color codes: &0–&9, &a–&f, &l, &o, &r, etc.


How it works

When the primary server starts, it launches the secondary server as a child JVM process with -Dtwocore.role=secondary. Both JVMs run the same mod JAR — the secondary detects its role via the system property and skips all process management logic. Inter-server communication (chat sync, player list queries) happens over a localhost TCP socket managed by the mod.

FAQ

How to install 2core?

Install Fabric for your Minecraft version, download 2core for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does 2core support?

2core has builds for Minecraft 1.21.11.

Is 2core needed on the server?

Server only — players don't need to install it

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More