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/setmaxplayers: Difference between revisions

From SAS Gaming Wiki
imported>TroopGLitch29Again
m Result: New stuff added.
 
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{exclusive|bedrock|education}}
{{MC/Exclusive|bedrock|education}}
{{Infobox command
{{Infobox command
|name=setmaxplayers
|name=setmaxplayers
Line 20: Line 20:
== Arguments ==
== Arguments ==


{{argument|be=1|maxplayers: int|int}}
{{MC/Argument|be=1|maxplayers: int|int}}
:Specifies the desired new maximum number of players. If less than the current number of players or greater than 40, the argument is forced into this range.
:Specifies the desired new maximum number of players. If less than the current number of players or greater than 40, the argument is forced into this range.
:{{arg desc|be=int}}
:{{MC/Arg desc|be=int}}


== Result ==
== Result ==
Line 36: Line 36:


{{HistoryTable
{{HistoryTable
|{{HistoryLine|pocket}}
|{{MC/HistoryLine|pocket}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.3|Added {{cmd|setmaxplayers|link=none}}.}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.3|Added {{MC/Cmd|setmaxplayers|link=none}}.}}
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine||1.17.40|dev=beta 1.17.40.20|The maximum value for {{cd|maxPlayers: int}} has been increased from 30 to 40.}}
|{{HistoryLine||1.17.40|dev=beta 1.17.40.20|The maximum value for {{MC/Cd|maxPlayers: int}} has been increased from 30 to 40.}}
}}
}}


Line 47: Line 47:


== Navigation ==
== Navigation ==
{{Navbox commands}}
{{MC/Navbox commands}}


[[Minecraft:de:Befehl/setmaxplayers]]
de:Befehl/setmaxplayers
[[Minecraft:ja:コマンド/setmaxplayers]]
ja:コマンド/setmaxplayers
[[Minecraft:lzh:令/setmaxplayers]]
lzh:令/setmaxplayers
[[Minecraft:pt:Comandos/setmaxplayers]]
pt:Comandos/setmaxplayers
[[Minecraft:ru:Команды консоли/setmaxplayers]]
ru:Команды консоли/setmaxplayers
[[Minecraft:zh:命令/setmaxplayers]]
zh:命令/setmaxplayers

Latest revision as of 20:13, 9 April 2026

Script error: No such module "Exclusive". Template:Infobox command Sets the maximum number of players allowed to join a multiplayer game.

Usage

Displays the new maximum number of players in the chat. An additional notification message is displayed if the number specified in the command was forced into the allowed range.

This command can be executed in singleplayer mode, but has no effect until the singleplayer world where the command was executed is reopened in multiplayer mode.

It has no effect on Minecraft:Realms.

Syntax

setmaxplayers <maxPlayers: int>

Arguments

maxplayers: int: int

Specifies the desired new maximum number of players. If less than the current number of players or greater than 40, the argument is forced into this range.
{{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|integer}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

History

Template:HistoryTable

External links

Navigation

All editions
Removed
Template:El only
Debug
Removed
Template:Els only
Template:El only
Removed
Template:El only
Removed
Template:Els only
Removed
Joke
Related

de:Befehl/setmaxplayers ja:コマンド/setmaxplayers lzh:令/setmaxplayers pt:Comandos/setmaxplayers ru:Команды консоли/setmaxplayers zh:命令/setmaxplayers