Minecraft:Commands/publish
From SAS Gaming Wiki
More actions
Template:Exclusive Template:Infobox command
Opens singleplayer world to the local network.
Syntax
publish [<allowCommands>] [<gamemode>] [<port>]
Arguments
- Whether Minecraft:commands are allowed when the world is hosted on the local network. Defaults to false.
- Template:Arg desc
- Sets the default game mode for new player. If not specified, the default game mode for new player is the game mode of this world.
- Template:Arg desc
- The port to host on. If not specified, the port is automatically allocated, typically from an ephemeral port range.
- Template:Arg desc
Result
Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table
Output
Template:Output table Template:Output table Template:Output table Template:Output table
History
de:Befehl/publish es:Comandos/publish ja:コマンド/publish lzh:令/publish pt:Comandos/publish ru:Команды консоли/publish zh:命令/publish