Minecraft:Commands/changesetting: Difference between revisions
From SAS Gaming Wiki
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 5: | Line 5: | ||
|serveronly=1 | |serveronly=1 | ||
}} | }} | ||
{{Exclusive|bedrock}} | {{MC/Exclusive|bedrock}} | ||
Changes a setting on the dedicated server (BDS) while it's running. | Changes a setting on the dedicated server (BDS) while it's running. | ||
| Line 16: | Line 16: | ||
==Arguments== | ==Arguments== | ||
{{ | {{MC/Argument|be=1|value: Difficulty|enum}} and {{MC/Argument|be=1|value: int|int}} | ||
: Specifies the new difficulty level. Must be one of the following: | : Specifies the new difficulty level. Must be one of the following: | ||
:* <code>peaceful</code> (can be abbreviated as <code>p</code> or <code>0</code>) for peaceful difficulty | :* <code>peaceful</code> (can be abbreviated as <code>p</code> or <code>0</code>) for peaceful difficulty | ||
| Line 23: | Line 23: | ||
:* <code>hard</code> (can be abbreviated as <code>h</code> or <code>3</code>) for hard difficulty | :* <code>hard</code> (can be abbreviated as <code>h</code> or <code>3</code>) for hard difficulty | ||
{{ | {{MC/Argument|be=1|value: Boolean|enum}} | ||
: Specifies whether the server is allowing cheats. | : Specifies whether the server is allowing cheats. | ||
: {{ | : {{MC/Arg desc|be=bool}} | ||
==Result== | ==Result== | ||
| Line 31: | Line 31: | ||
==History== | ==History== | ||
{{Expand section}} | {{MC/Expand section}} | ||
== External links == | == External links == | ||
| Line 38: | Line 38: | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
de:Befehl/changesetting | de:Befehl/changesetting | ||
Latest revision as of 20:08, 9 April 2026
Template:Infobox command Script error: No such module "Exclusive". Changes a setting on the dedicated server (BDS) while it's running.
Can be executed only on BDS console.
Syntax
changesetting allow-cheats <value: Boolean>changesetting difficulty <value: Difficulty>changesetting difficulty <value: int>
Arguments
value: Difficulty: enum and value: int: int
- Specifies the new difficulty level. Must be one of the following:
peaceful(can be abbreviated aspor0) for peaceful difficultyeasy(can be abbreviated aseor1) for easy difficultynormal(can be abbreviated asnor2) for normal difficultyhard(can be abbreviated ashor3) for hard difficulty
value: Boolean: enum
- Specifies whether the server is allowing cheats.
- {{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|bool}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}
Result
Changes a setting. Note that this does not change values in the server.properties file.
History
External links
de:Befehl/changesetting ja:コマンド/changesetting lzh:令/changesetting pt:Comandos/changesetting zh:命令/changesetting