Minecraft:Commands/setmaxplayers: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{ | {{MC/Exclusive|bedrock|education}} | ||
{{Infobox command | {{Infobox command | ||
|name=setmaxplayers | |name=setmaxplayers | ||
| Line 20: | Line 20: | ||
== Arguments == | == Arguments == | ||
{{ | {{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. | ||
:{{ | :{{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 {{ | |{{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 {{ | |{{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}} | ||
de:Befehl/setmaxplayers | de:Befehl/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
External links
de:Befehl/setmaxplayers ja:コマンド/setmaxplayers lzh:令/setmaxplayers pt:Comandos/setmaxplayers ru:Команды консоли/setmaxplayers zh:命令/setmaxplayers