Перейти к содержимому
Mineforgian

Always Multiplayer

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

Загрузки
458
Подписчики
2
Обновлён
17 июня 2026 г.
Лицензия
All-Rights-Reserved

Опубликован 15 мая 2026 г.

Key Features

  • Publish singleplayer worlds automatically when loading the world.
  • Restrict access to friends only.
  • Use native server commands like /whitelist and /ban.
  • Set default gamemode and commands for other players.

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.

  • Create a port forwarding rule on your home router to forward a specific port to your computer, and get your friends to join using your public IP address + the port number, e.g. 10.1.1.1:5555.
  • Or, use mods like e4mc which assigns a unique public domain each time you open your world to LAN.

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

Ченджлог

26.2-pre-4-1.0.0-alpha.9Альфа26.2-pre-6, 26.2-rc-1, 26.2-rc-2 · 5 июня 2026 г.
  • Updated for 26.2-pre-4.
  • Added tooltips for all player list settings in the mod menu.
26.2-pre-3-1.0.0-alpha.8Альфа26.2-pre-3 · 3 июня 2026 г.
  • Updated for 26.2-pre-3.
  • Feature: Added config UI to help manage white-list, banned players, ops, and banned ips while in game.
  • Fix: Player list validation now uses offline player ID if not online.
26.2-pre-2-1.0.0-alpha.7Альфа26.2-pre-2 · 1 июня 2026 г.
  • Feature: Added all the built in server commands like /whitelist and /ban.
  • Removed whitelist and banlist configs since they now use the built in json files at the profile root folder.
  • Updated disconnect message to use built in translations.
26.2-pre-2-1.0.0-alpha.6Альфа26.2-pre-1, 26.2-pre-2 · 30 мая 2026 г.
  • Updated for 26.2-pre-1 and 26.2-pre-2.
  • ONLINE multiplayer option is removed 🥀 - can still open LAN by default (and make online with port forwarding or other mods).
  • Removed 'autoAccept' setting (for now) since friends can't request to join anymore.
  • Feature: Added 'access' setting to filter direct connections (to LAN worlds), with values: FRIENDS, WHITELIST, OPEN.
  • Feature: Added 'whitelist' setting to set player names that can join your worlds.
  • Feature: Added 'banlist' setting to set player names that cannot join your worlds.
  • Renamed 'alwaysMultiplayer' setting to 'multiplayer', 'allowCommands' to 'commands', and 'gameMode' to 'gamemode'.
26.2-snapshot-8-1.0.0-alpha.5Альфа26.2-snapshot-8 · 23 мая 2026 г.
  • Feature: Added option to enable worlds as LAN by default.
  • Change: enabled boolean setting (true/false) changed to alwaysMultiplayer enum (ONLINE/LAN/OFF).
  • Added port setting back for when using LAN.
26.2-snapshot-8-1.0.0-alpha.4Альфа26.2-snapshot-8 · 21 мая 2026 г.
  • Updated for 26.2-snapshot-8.
  • Removed port setting (no longer used for multiplayer).
  • Feature: Made the autoAccept setting work independently to the enabled setting, to allow auto accepting join requests while still controlling when to go multiplayer.
  • Fix: Updated internal accessors to avoid conflicts.
26.2-snapshot-7-1.0.0-alpha.3Альфа26.2-snapshot-7 · 18 мая 2026 г.
  • Feature: Added autoAccept config to automatically accept requests to join the world from friends.
  • Feature: Added button to manage config from the main Online menu.
26.2-snapshot-7-1.0.0-alpha.2Альфа26.2-snapshot-7 · 17 мая 2026 г.
  • Feature: Added config to set defaults for port, commands, and game mode.
  • Feature: Posts a UI message when loading in that the multiplayer server is published.

Комментарии

Загружаем…