Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/publish: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Sync: updated from Minecraft
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:


==Syntax==
==Syntax==
:<code>publish [<allowCommands>] [<gamemode>] [<port>]</code>{{until|JE 26.2}}
:<code>publish [<allowCommands>] [<gamemode>] [<port>]</code>
:<code>publish [<online>] [<allowCommands>] [<gamemode>] [<port>]</code>{{upcoming|JE 26.2}}


==Arguments==
==Arguments==
{{argument|online|bool}}{{upcoming|JE 26.2}}
: Whether the world is published as an online world or as a LAN world. Defaults to true (online world).
: {{arg desc|je=bool}}


{{argument|allowCommands|bool}}
{{argument|allowCommands|bool}}
Line 51: Line 47:
|{{HistoryLine|||dev=18w01a|{{cmd|link=none|publish}} can no longer be run from command blocks.}}
|{{HistoryLine|||dev=18w01a|{{cmd|link=none|publish}} can no longer be run from command blocks.}}
|{{HistoryLine||1.19.3|dev=22w45a|The syntax of {{cmd|link=none|publish}} has been changed, and now accepts optional command and gamemode arguments.}}
|{{HistoryLine||1.19.3|dev=22w45a|The syntax of {{cmd|link=none|publish}} has been changed, and now accepts optional command and gamemode arguments.}}
|{{HistoryLine|java upcoming}}
|{{HistoryLine||26.2|dev=snap8|The syntax of {{cmd|link=none|publish}} has been changed again, and now accepts optional online argument.}}
|{{HistoryLine||26.2|dev=snap8|The syntax of {{cmd|link=none|publish}} has been changed again, and now accepts optional online argument.}}
|{{HistoryLine|||dev=pre1|The above change has been reverted.}}
}}
}}


Line 60: Line 56:
[[Minecraft:de:Befehl/publish]]
[[Minecraft:de:Befehl/publish]]
[[Minecraft:es:Comandos/publish]]
[[Minecraft:es:Comandos/publish]]
[[Minecraft:fr:Commandes/publish]]
[[Minecraft:ja:コマンド/publish]]
[[Minecraft:ja:コマンド/publish]]
[[Minecraft:lzh:令/publish]]
[[Minecraft:lzh:令/publish]]

Latest revision as of 11:05, 8 July 2026