Commands/publish

Opens singleplayer world to the local network.
==Syntax==
:publish [<allowCommands>] [<gamemode>] [<port>]
==Arguments==
: Whether commands will be allowed when the world is hosted on the local network. Defaults to false.
: 
: 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.
: 
: The port to host on. If not specified, the port is automatically allocated, typically from an ephemeral port range.
: 
==Result==
== Output ==
== History ==
de:Befehl/publish
es:Comandos/publish
ja:コマンド/publish
pt:Comandos/publish
ru:Команды консоли/publish