code-server-mc
Unofficial Mod to run CodeServer on minecraft servers
Screenshots

About this Mod
CodeServer-MC is a mod designed to run gh/coder/code-server within a minecraft server environment,
Currently it downloads and runs the program on startup, install process pauses server load but running it does not, (please keep this in mind)
This mod technically runs arbitrary code from an "unknown source" (the source is known, my source code is open as is code-server)
PLEASE DO NOT BOTHER CODE-SERVER DEVELOPERS IF THIS MOD CAUSES ISSUES ON YOUR SERVER, NOTIFY ME FIRST AND IF I AM ABLE TO DETERMINE ITS AN CODE-SERVER ISSUE I WILL TELL YOU
notice
- I do not own
code-server,code-serveris licensed under MIT, no changes to CodeServer have been made to make this possible, all of this has been done through straight java and architectury
Available Versions
How to Install code-server-mc on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21).
Install Mod
Open the mod browser in the dashboard and search for "code-server-mc". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21, 1.20.6, 1.20.5 (+10 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
code-server-mc server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21). You can switch loaders with one click in the panel.
Is code-server-mc compatible with fabric and forge?
code-server-mc officially supports fabric, forge for Minecraft 1.21, 1.20.6, 1.20.5. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with code-server-mc – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if code-server-mc consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install code-server-mc with just one click on your server.