Friend Code Mod

Friend Code Mod

A Fabric mod which adds an easy way to play in the same world with remote friends!

by
1.5K Downloads
fabricutility
Rent Server with this Mod

About this Mod

This mod adds friend codes to Minecraft, which are an easy way to play in the same world with remote friends. They can be created by selecting "Open To...", which replaces "Open To LAN", and selecting the "Friend Code" submenu. They can be connected to through "Multiplayer" -> "Direct Connect", which also gets a "Friend Code" submenu.

The mod is not strictly required on either end, as you can also set up the connections through the i2p router directly. It just makes things more convenient, supporting persistent codes tied to the world, as well as ephemeral codes tied to the play session. (World codes will not persist across different computers, however.)

This mod was created for a game jam with the theme not about you. It is not about you, the player; it is about showing alternatives to, in this case, Minecraft Realms, and more generally centralized systems, which tend to milk the userbase for money, while providing a subpar experience. After all, you can't run mods on Realms, and there's no guarantee they won't ban you for something you did between you and your friends, even when none of your friends want you banned for it, based on their interpretation of how they think you should manage your relationships. These alternatives may require active community participation and sharing of resources, such as by running I2P routers, but their benefits may be absolutely worth it.

Note: You will need an externally installed I2P router configured with SAM bridge. (Note for modpack makers: this is a soft-requirement. The game will still launch if the I2P router is not available, and trying to host/connect will display a relevant error.)

Available Versions

Friend Code Mod 1.1.1+1.20.4release
MC 1.20.4fabric
January 9, 2024
1.1.0release
MC 1.19, 1.19.1, 1.19.2fabric
July 26, 2022
1.0.0release
MC 1.19fabric
July 5, 2022
1.0.1release
MC 1.19fabric
July 5, 2022

How to Install Friend Code Mod 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.20.4).

3

Install Mod

Open the mod browser in the dashboard and search for "Friend Code Mod". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.4, 1.19.2, 1.19.1 (+1 more)

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Friend Code Mod 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.20.4). You can switch loaders with one click in the panel.

Is Friend Code Mod compatible with fabric?

Friend Code Mod officially supports fabric for Minecraft 1.20.4, 1.19.2, 1.19.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Friend Code Mod – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Friend Code Mod 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 Friend Code Mod 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
BSD Zero Clause License
Server-side
Optional

Supported Versions

1.20.41.19.21.19.11.19