code-server-mc

Unofficial Mod to run CodeServer on minecraft servers

by
604 Downloads
fabricforgecursedmanagementutility
Rent Server with this Mod

Screenshots

Example of it on my Vanilla + server

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-server is 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

code-server-mc 1.2.2release
MC 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21fabric, forge
July 26, 2024
code-server-mc 1.2.1release
MC 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4forge
December 13, 2023
code-server-mc 1.2.0release
MC 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4fabric
May 10, 2023

How to Install code-server-mc on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21).

3

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

fabricforge

Minecraft Versions

1.21, 1.20.6, 1.20.5 (+10 more)

Server-side

Required

Recommended 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.

Rent Modded Server

Install code-server-mc with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.211.20.61.20.51.20.41.20.31.20.21.20.11.201.19.41.19.3+3 more