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
 
Line 9: Line 9:


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


==Arguments==
==Arguments==
Line 17: Line 18:
: {{arg_desc|je=bool}}
: {{arg_desc|je=bool}}


{{argument|gamemode|gamemode}}
{{argument|gamemode|gamemode}}{{until|JE 26.3}}
: Sets the default [[Minecraft:game mode]] for new player. If not specified, the default game mode for new player is the game mode of this world.
: Sets the default [[Minecraft:game mode]] for new player. If not specified, the default game mode for new player is the game mode of this world.
: {{arg_desc|je=gamemode}}
: {{arg_desc|je=gamemode}}
Line 49: Line 50:
|{{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|java upcoming}}
|{{HistoryLine||26.3|dev=snap6|The {{cd|gamemode}} argument has been removed.}}
}}
}}



Latest revision as of 11:08, 29 July 2026