Minecraft:Commands/publish: Difference between revisions
From SAS Gaming Wiki
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
==Syntax== | ==Syntax== | ||
:<code>publish [<allowCommands | :<code>publish [<allowCommands>] [<port>]</code> | ||
==Arguments== | ==Arguments== | ||
| Line 16: | Line 16: | ||
: Whether [[Minecraft:commands]] are allowed when the world is hosted on the local network. Defaults to false. | : Whether [[Minecraft:commands]] are allowed when the world is hosted on the local network. Defaults to false. | ||
: {{arg_desc|je=bool}} | : {{arg_desc|je=bool}} | ||
{{argument|port|integer}} | {{argument|port|integer}} | ||
| Line 49: | Line 45: | ||
|{{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.}} | |{{HistoryLine|||dev=pre1|The above change has been reverted.}} | ||
|{{HistoryLine||26.3|dev=snap6|The {{cd|gamemode}} argument has been removed.}} | |||
}} | }} | ||
| Line 56: | Line 53: | ||
[[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:14, 16 September 2026
Template:Exclusive Template:Infobox command
Opens Minecraft:singleplayer Minecraft:world to the local network.
Syntax
publish [<allowCommands>] [<port>]
Arguments
- Whether Minecraft:commands are allowed when the world is hosted on the local network. Defaults to false.
- 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
Minecraft:de:Befehl/publish Minecraft:es:Comandos/publish Minecraft:fr:Commandes/publish Minecraft:ja:コマンド/publish Minecraft:lzh:令/publish Minecraft:pt:Comandos/publish Minecraft:ru:Команды консоли/publish Minecraft:zh:命令/publish