Skip to content

A simple Minecraft Fabric mod that locks the Multiplayer menu to a single server of your choice. Great for schools, kiosks, or LAN setups when you have kids playing.

License

Notifications You must be signed in to change notification settings

DanTheWizard/Minecraft-Server-List-Locker

Repository files navigation

Minecraft Server List Locker (Fabric)

Minecraft Server List Locker is a simple Minecraft Fabric mod that locks down the multiplayer screen into a "kiosk mode."

It disables the ability to:

  • Add, edit, or delete servers
  • Use Direct Connect
  • Interact with anything except a pre-configured server

It also removes or hides other UI elements like the Realms button on the main menu.

NOTE: This is the first time I am creating a Fabric Mod, so don't expect anything high level


🎯 Purpose

This mod is designed for setups where you want to control or restrict which multiplayer server the user can connect to — for example in a school, lab, or public setting.


⚙️ Current Configuration

The mod is currently configured to only allow access to a personal server of mine: mc.tville.stream (private server, don't join)

If you'd like to use this mod for your own server:

  1. Change the hostname and label in ServerListManagerMixin.java:
    new ServerInfo("Your Server Name", "your.server.ip", ServerInfo.ServerType.OTHER)
  2. Recompile the mod with ./gradlew build or via IntelliJ’s Gradle panel.

🔧 Building

To build the mod from source:

./gradlew build

The output .jar file will be located in:

build/libs/

Place that file into your Minecraft mods folder.


🧪 Compatibility

  • Minecraft 1.21.5
  • Fabric Loader 0.14+
  • Fabric API required

💻 Feel free to fork this project and adapt it for your own server or different Minecraft versions.

I don't think I will come back to this until it breaks, or I need to update it for our use

About

A simple Minecraft Fabric mod that locks the Multiplayer menu to a single server of your choice. Great for schools, kiosks, or LAN setups when you have kids playing.

Topics

Resources

License

Stars

Watchers

Forks

Languages