HomeJavaModsAlways Multiplayer
Always Multiplayer
ModsJava

Always Multiplayer

by PaulNZ · on Modrinth

Lightweight mod that automatically publishes singleplayer worlds for online play. Allows your friends to join without always having to remember to enable…

⬇ Download on Modrinth
Always Multiplayer — screenshot 1Always Multiplayer — screenshot 2Always Multiplayer — screenshot 3Always Multiplayer — screenshot 4

Key Features

Config

Global settings can be added in config/alwaysmultiplayer.json. These settings can also be found under the Minecraft main menu Options... -> Online... -> Always Multiplayer Config...

Setting Default Description
multiplayer LAN Set to LAN to open all singleplayer worlds to LAN by default (or to the internet with port forwarding or other mods). Turn OFF to stay in singleplayer by default.
access FRIENDS Who can join your multiplayer worlds.
FRIENDS: allow Minecraft friends (and whitelisted players).
WHITELIST: only allow whitelisted players.
OPEN: allow all connections.
gamemode null (Auto) The default game mode for other players that join your worlds. Set null to follow the world setting, or set to SURVIVAL, CREATIVE, ADVENTURE, or SPECTATOR to assign a global default.
commands null (Auto) The default commands for other players that join your worlds. Set null to follow the world setting, or set to true or false to assign a global default.
port null (Auto) The default port number for LAN worlds only. Set null to auto assign a free port each time, or enter a number between 1024 and 65535.

Commands

All the built in server commands are made available, including /ban /whitelist and /op. These commands create json files at the root of your profile folder (not specific to any world). I.e. the same location as your usercache.json. See example whitelist.json.

Command Description Example Operator Level
/whitelist White-list a player to allow them to join when the Access setting is FRIENDS or WHITELIST. /whitelist add Player123 3 (Admin)
/ban Ban a player from joining any of your worlds. Also includes /ban-ip and /banlist. /ban Player123 3 (Admin)
/pardon Unbans a player so they can join all of your worlds. /pardon Player123 3 (Admin)
/op Makes a player a level 2 Operator (the same permissions that enabling 'Commands' gives by default). /op Player123 3 (Admin)
/deop Removes a players Operator permissions (unless 'Commands' are enabled for other players by default). /deop Player123 3 (Admin)
/perf Starts the performance profiler. /perf start 4 (Owner)
/save-all Saves the world. Also includes /save-off and /save-on. /save-all 4 (Owner)
/stop Stops the server and disconnects all players (alternatively use /unpublish). /stop 4 (Owner)

Opening LAN worlds to the internet

P2P has been removed from the 26.2 update (for now), and with it the 'Online' multiplayer option for singleplayer worlds. While this does make it harder to connect with friends, it's still possible using the 'LAN' multiplayer option and some additional setup.

Make sure to use whitelist or access restrictions if you want to prevent unexpected connections.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more