Skip to content
/SLASHPLAY

Minecraft console commands

All 127 settings and 94 commands from the game's own list, with defaults and examples to copy.

221 commands

  1. gamemode

    Changes the game mode of yourself or other players to survival, creative, adventure or spectator.

    Command

    Players

  2. gamemode

    Sets the default game mode for players: survival, creative, adventure or spectator.

    Default survival (Survival)

    server.properties: gameplay

  3. give

    Puts items into players' inventories, with an optional count and item components such as enchantments or names.

    Command

    Items and inventory

  4. teleport

    Moves players or entities to coordinates or to another entity, optionally setting where they face.

    Command

    Players

  5. time

    Sets, adds or shows the time of day, and in 26.x can also pause the clock or change its speed.

    Command

    Time and weather

  6. weather

    Sets the weather to clear, rain or thunder, with an optional duration.

    Command

    Time and weather

  7. gamerule

    Shows or changes a game rule, such as keeping inventory on death or the percentage of players needed to sleep.

    Command

    World and blocks

  8. op

    Makes a player a server operator, with access to commands up to the level set in server.properties.

    Command

    Server admin

  9. whitelist

    Turns the server whitelist on or off and adds or removes the players allowed to join.

    Command

    Server admin

  10. keep_inventory

    Controls whether players keep their items and experience when they die.

    Default false (Off)

    Game rules: players

  11. difficulty

    Shows or changes the world difficulty: peaceful, easy, normal or hard.

    Command

    World and blocks

  12. difficulty

    Sets the world difficulty: peaceful, easy, normal or hard.

    Default easy (Less mob damage)

    server.properties: gameplay

  13. max-players

    Sets the maximum number of players who can be online at once.

    Default 20

    server.properties: players and access

  14. summon

    Spawns any entity, from mobs and armor stands to lightning bolts, at a position with optional NBT data.

    Command

    Entities and mobs

  15. advancement

    Grants or revokes advancements for players, from a single criterion up to every advancement at once.

    Command

    Players

  16. effect

    Gives or clears status effects like speed, night vision or regeneration, with a duration in seconds and a level.

    Command

    Players

  17. experience

    Adds, sets or shows experience points or levels for players.

    Command

    Players

  18. fetchprofile

    Looks up a player profile by name, UUID or entity and shows the result in chat.

    Command

    Players

  19. recipe

    Unlocks or locks crafting recipes in a player's recipe book.

    Command

    Players

  20. spawnpoint

    Sets where a player respawns after dying, like a bed but at any position you choose.

    Command

    Players

  21. spectate

    Makes a spectator-mode player view the game through another entity's eyes, or stops spectating.

    Command

    Players

  22. spreadplayers

    Teleports players or entities to random surface spots around a center point, a minimum distance apart.

    Command

    Players

  23. tp

    Teleports players or entities to coordinates or another entity, as the short alias of /teleport.

    Command

    Players

  24. waypoint

    Lists waypoints shown on the locator bar and changes their color or icon style.

    Command

    Players

  25. xp

    Adds, sets or shows experience points or levels for players, as the short alias of /experience.

    Command

    Players

  26. clear

    Removes items from player inventories, either everything or a specific item and amount.

    Command

    Items and inventory

  27. enchant

    Adds an enchantment to the item a player or mob is holding, within the normal level and compatibility limits.

    Command

    Items and inventory

  28. item

    Replaces or modifies items in specific slots of players, mobs or containers.

    Command

    Items and inventory

  29. loot

    Drops or gives items from a loot table, a mined block, a killed mob or a fishing catch.

    Command

    Items and inventory

  30. clone

    Copies a box of blocks to another place, with options to skip air, filter blocks, move and copy across dimensions.

    Command

    World and blocks

  31. fill

    Covers a box between two corners with one block, with modes for hollow shapes, outlines and replacing one block type.

    Command

    World and blocks

  32. fillbiome

    Changes the biome in a box of blocks, for example to turn part of a world into a cherry grove.

    Command

    World and blocks

  33. forceload

    Keeps chunks loaded at all times, even with no players nearby, or lists and removes forced chunks.

    Command

    World and blocks

  34. locate

    Finds the nearest structure, biome or point of interest and shows its coordinates in chat.

    Command

    World and blocks

  35. place

    Generates a feature, structure, jigsaw or structure template at a position, the way world generation would.

    Command

    World and blocks

  36. seed

    Shows the world seed in chat, where you can click it to copy.

    Command

    World and blocks

  37. setblock

    Places a single block at a position, with options to keep, destroy or replace what is already there.

    Command

    World and blocks

  38. setworldspawn

    Sets the world spawn point, where new players appear and where players without a bed respawn.

    Command

    World and blocks

  39. worldborder

    Sets the size, center and damage of the world border, and can grow or shrink it over time.

    Command

    World and blocks

  40. attribute

    Reads or changes entity attributes like max health, movement speed and scale.

    Command

    Entities and mobs

  41. damage

    Deals a set amount of damage to an entity, with an optional damage type, source position or attacker.

    Command

    Entities and mobs

  42. kill

    Instantly kills players or entities, including players in creative mode.

    Command

    Entities and mobs

  43. ride

    Makes an entity mount another entity, or dismounts it from whatever it is riding.

    Command

    Entities and mobs

  44. rotate

    Changes the facing direction of an entity, to set exact angles or turn it toward a position or entity.

    Command

    Entities and mobs

  45. swing

    Plays the arm swing animation for players or mobs, with the main hand or the off hand.

    Command

    Entities and mobs

  46. ban

    Blocks players from joining the server by name, with an optional reason shown when they try to connect.

    Command

    Server admin

  47. ban-ip

    Bans an IP address, or the current IP of an online player, so no account can join from it.

    Command

    Server admin

  48. banlist

    Lists the banned players or banned IP addresses on the server.

    Command

    Server admin

  49. defaultgamemode

    Sets the game mode that new players get when they join the world for the first time.

    Command

    Server admin

  50. deop

    Removes operator status from a player, taking away their access to op commands.

    Command

    Server admin

  51. help

    Lists the commands you can use, or shows the syntax of one command.

    Command

    Server admin

  52. kick

    Disconnects players from the server, with an optional reason. They can rejoin right away.

    Command

    Server admin

  53. list

    Shows how many players are online and their names, optionally with their UUIDs.

    Command

    Server admin

  54. pardon

    Removes a player from the ban list so they can join again.

    Command

    Server admin

  55. pardon-ip

    Removes an IP address from the IP ban list.

    Command

    Server admin

  56. publish

    Opens a singleplayer world to your local network (LAN), optionally allowing commands and choosing a port.

    Command

    Server admin

  57. save-all

    Saves the world and player data to disk right away, optionally writing everything out in one go.

    Command

    Server admin

  58. save-off

    Turns off automatic world saving, typically while a backup copies the world folder.

    Command

    Server admin

  59. save-on

    Turns automatic world saving back on after save-off.

    Command

    Server admin

  60. setidletimeout

    Kicks players automatically after they have been idle for a set number of minutes, or turns that off with 0.

    Command

    Server admin

  61. stop

    Saves the world, disconnects all players and shuts the server down cleanly.

    Command

    Server admin

  62. transfer

    Sends players to another server address without them having to go back to the menu.

    Command

    Server admin

  63. unpublish

    Stops sharing a singleplayer world over LAN, so LAN players can no longer join.

    Command

    Server admin

  64. version

    Shows the game version the server is running, along with related version details.

    Command

    Server admin

  65. bossbar

    Creates and controls custom boss bars at the top of the screen, for timers, events or progress displays.

    Command

    Chat and messages

  66. dialog

    Opens a dialog screen for players, such as the server links screen or a custom dialog, or closes it.

    Command

    Chat and messages

  67. me

    Posts an action message in chat, shown as an asterisk followed by your name and the text.

    Command

    Chat and messages

  68. msg

    Sends a private message to one or more players that only they can see.

    Command

    Chat and messages

  69. say

    Broadcasts a message to every player in chat, prefixed with the sender's name.

    Command

    Chat and messages

  70. teammsg

    Sends a chat message only to the members of your own team.

    Command

    Chat and messages

  71. tell

    Sends a private message to one or more players, as an alias of /msg.

    Command

    Chat and messages

  72. tellraw

    Sends a formatted chat message, written as a text component, with colors, hover text and click actions.

    Command

    Chat and messages

  73. title

    Shows a large title, subtitle or action bar message on players' screens, with custom fade timing.

    Command

    Chat and messages

  74. tm

    Sends a chat message only to your own team, as the short alias of /teammsg.

    Command

    Chat and messages

  75. w

    Sends a private message to one or more players, as the shortest alias of /msg.

    Command

    Chat and messages

  76. data

    Reads, merges, changes or removes NBT data on blocks, entities and command storage.

    Command

    Scoreboard and data

  77. scoreboard

    Creates scoreboard objectives, changes player scores and shows them in the sidebar, tab list or under names.

    Command

    Scoreboard and data

  78. stopwatch

    Creates and reads named stopwatches that measure elapsed time, for timers in functions and maps.

    Command

    Scoreboard and data

  79. tag

    Adds, removes or lists scoreboard tags on entities, which you can then target with tag= in selectors.

    Command

    Scoreboard and data

  80. team

    Creates teams and sets their color, friendly fire, name tag visibility and collision for groups of players.

    Command

    Scoreboard and data

  81. trigger

    Lets any player change their own score on a trigger objective, to activate map or data pack features.

    Command

    Scoreboard and data

  82. compute

    Evaluates a number provider and returns the result, for random or computed values in functions.

    Command

    Advanced and functions

  83. datapack

    Lists, enables and disables data packs on the world, and controls their load order.

    Command

    Advanced and functions

  84. execute

    Runs another command with a changed executor, position, rotation or dimension, or only when conditions are met.

    Command

    Advanced and functions

  85. function

    Runs a function from a data pack: a list of commands stored in a .mcfunction file.

    Command

    Advanced and functions

  86. particle

    Spawns particle effects at a position, with spread, speed and count, for decoration or map effects.

    Command

    Advanced and functions

  87. playsound

    Plays a sound for players at a position, with a sound category, volume and pitch.

    Command

    Advanced and functions

  88. posteffect

    Applies, removes or lists post-processing screen effects on players' screens.

    Command

    Advanced and functions

  89. random

    Rolls a random number in a range, either shown only to you or announced to everyone in chat.

    Command

    Advanced and functions

  90. reload

    Loads changes to all data packs, including functions, loot tables, recipes and advancements, without a restart.

    Command

    Advanced and functions

  91. return

    Ends the current function early and returns a value, a failure, or the result of another command.

    Command

    Advanced and functions

  92. schedule

    Runs a function after a delay in ticks, seconds or in-game days, or cancels a scheduled function.

    Command

    Advanced and functions

  93. stopsound

    Stops sounds or music playing for players, all of them or only one category or sound.

    Command

    Advanced and functions

  94. debug

    Starts or stops a tick profiling session, or traces every command a function runs into a file.

    Command

    Debug and performance

  95. jfr

    Starts or stops a Java Flight Recorder profile for deep analysis of server performance.

    Command

    Debug and performance

  96. perf

    Records 10 seconds of server performance data and saves a report to the debug folder.

    Command

    Debug and performance

  97. test

    Runs, creates and manages GameTest structures, the automated test framework for data packs and mods.

    Command

    Debug and performance

  98. tick

    Freezes, steps, speeds up or changes the game tick rate, and shows server tick performance.

    Command

    Debug and performance

  99. drowning_damage

    Controls whether players take damage when they run out of air underwater.

    Default true (On)

    Game rules: players

  100. elytra_movement_check

    Controls whether the server checks elytra flight for movement that is too fast.

    Default true (On)

    Game rules: players

  101. ender_pearls_vanish_on_death

    Controls whether thrown ender pearls disappear when the player who threw them dies.

    Default true (On)

    Game rules: players

  102. fall_damage

    Controls whether players take damage from falling.

    Default true (On)

    Game rules: players

  103. fire_damage

    Controls whether players take damage from fire, lava and burning.

    Default true (On)

    Game rules: players

  104. freeze_damage

    Controls whether players take damage from freezing in powder snow.

    Default true (On)

    Game rules: players

  105. immediate_respawn

    Controls whether players respawn right away without the death screen.

    Default false (Off)

    Game rules: players

  106. limited_crafting

    Controls whether players can only craft recipes they have unlocked.

    Default false (Off)

    Game rules: players

  107. locator_bar

    Controls whether the locator bar shows the direction of other players on the HUD.

    Default true (On)

    Game rules: players

  108. natural_health_regeneration

    Controls whether players regain health over time from a full hunger bar.

    Default true (On)

    Game rules: players

  109. player_movement_check

    Controls whether the server checks player movement for moving too fast.

    Default true (On)

    Game rules: players

  110. players_nether_portal_creative_delay

    Sets how long, in ticks, a creative mode player must stand in a nether portal before teleporting.

    Default 0

    Game rules: players

  111. players_nether_portal_default_delay

    Sets how long, in ticks, a player outside creative must stand in a nether portal before teleporting.

    Default 80

    Game rules: players

  112. players_sleeping_percentage

    Sets the percentage of players who must sleep to skip the night.

    Default 100

    Game rules: players

  113. pvp

    Controls whether players can damage each other.

    Default true (On)

    Game rules: players

  114. reduced_debug_info

    Controls whether the F3 debug screen hides coordinates and other detailed info.

    Default false (Off)

    Game rules: players

  115. respawn_radius

    Sets how many blocks from the world spawn point players without a bed can respawn.

    Default 10

    Game rules: players

  116. advance_time

    Controls whether the day and night cycle moves forward or the time of day stays frozen.

    Default true (On)

    Game rules: world

  117. advance_weather

    Controls whether the weather changes on its own or stays as it is.

    Default true (On)

    Game rules: world

  118. allow_entering_nether_using_portals

    Controls whether players can travel to the Nether through nether portals.

    Default true (On)

    Game rules: world

  119. fire_spread_radius_around_player

    Sets how close to a player, in blocks, fire can spread and burn blocks.

    Default 128

    Game rules: world

  120. global_sound_events

    Controls whether some boss and world event sounds, like a wither spawning or the end portal opening, are heard by every player.

    Default true (On)

    Game rules: world

  121. lava_source_conversion

    Controls whether flowing lava between two lava sources turns into a new source block.

    Default false (Off)

    Game rules: world

  122. max_snow_accumulation_height

    Sets how many layers of snow can pile up on a block during snowfall.

    Default 1

    Game rules: world

  123. projectiles_can_break_blocks

    Controls whether projectiles can break blocks they are able to destroy, like decorated pots or chorus flowers.

    Default true (On)

    Game rules: world

  124. random_tick_speed

    Sets how many random block ticks happen per chunk section each game tick, which drives crop growth, leaf decay and more.

    Default 3

    Game rules: world

  125. spectators_generate_chunks

    Controls whether players in spectator mode load and generate new chunks.

    Default true (On)

    Game rules: world

  126. spread_vines

    Controls whether vines spread to nearby blocks over time.

    Default true (On)

    Game rules: world

  127. tnt_explodes

    Controls whether TNT explodes when lit.

    Default true (On)

    Game rules: world

  128. water_source_conversion

    Controls whether flowing water between two water sources becomes a new source block.

    Default true (On)

    Game rules: world

  129. forgive_dead_players

    Controls whether angered neutral mobs stop being angry when the player they target dies.

    Default true (On)

    Game rules: mobs

  130. max_entity_cramming

    Sets how many entities can share one block space before they start taking suffocation damage.

    Default 24

    Game rules: mobs

  131. mob_griefing

    Controls whether mobs can change blocks, like creepers blowing up terrain or endermen picking up blocks.

    Default true (On)

    Game rules: mobs

  132. raids

    Controls whether raids can start when a player with Bad Omen enters a village.

    Default true (On)

    Game rules: mobs

  133. spawn_mobs

    Controls whether mobs spawn naturally in the world.

    Default true (On)

    Game rules: mobs

  134. spawn_monsters

    Controls whether hostile mobs spawn naturally.

    Default true (On)

    Game rules: mobs

  135. spawn_patrols

    Controls whether pillager patrols spawn.

    Default true (On)

    Game rules: mobs

  136. spawn_phantoms

    Controls whether phantoms spawn when players have not slept for a few nights.

    Default true (On)

    Game rules: mobs

  137. spawn_wandering_traders

    Controls whether wandering traders spawn.

    Default true (On)

    Game rules: mobs

  138. spawn_wardens

    Controls whether wardens can be summoned by sculk shriekers.

    Default true (On)

    Game rules: mobs

  139. spawner_blocks_work

    Controls whether monster spawner blocks spawn mobs.

    Default true (On)

    Game rules: mobs

  140. universal_anger

    Controls whether angered neutral mobs attack every nearby player, not only the one who provoked them.

    Default false (Off)

    Game rules: mobs

  141. block_drops

    Controls whether broken blocks drop items.

    Default true (On)

    Game rules: drops

  142. block_explosion_drop_decay

    Controls whether some blocks blown up by block explosions, like beds or respawn anchors, are lost instead of dropping.

    Default true (On)

    Game rules: drops

  143. entity_drops

    Controls whether non-mob entities like minecarts, boats, item frames and armor stands drop items when broken.

    Default true (On)

    Game rules: drops

  144. mob_drops

    Controls whether mobs drop loot and experience when killed.

    Default true (On)

    Game rules: drops

  145. mob_explosion_drop_decay

    Controls whether some blocks blown up by mobs, like creepers, are destroyed instead of dropping.

    Default true (On)

    Game rules: drops

  146. tnt_explosion_drop_decay

    Controls whether some blocks blown up by TNT are destroyed instead of dropping.

    Default false (Off)

    Game rules: drops

  147. command_block_output

    Controls whether command blocks announce the commands they run in chat to operators.

    Default true (On)

    Game rules: chat and commands

  148. command_blocks_work

    Controls whether command blocks run their commands.

    Default true (On)

    Game rules: chat and commands

  149. log_admin_commands

    Controls whether commands run by operators are written to the server log.

    Default true (On)

    Game rules: chat and commands

  150. max_block_modifications

    Sets the maximum number of blocks a single command like /fill or /clone can change.

    Default 32768

    Game rules: chat and commands

  151. max_command_forks

    Sets the maximum number of execution contexts one command chain or function can create.

    Default 65536

    Game rules: chat and commands

  152. max_command_sequence_length

    Sets the maximum number of commands a single function or command chain can run in one tick.

    Default 65536

    Game rules: chat and commands

  153. send_command_feedback

    Controls whether command results are shown in chat to the player who ran them.

    Default true (On)

    Game rules: chat and commands

  154. show_advancement_messages

    Controls whether chat announces when a player earns an advancement.

    Default true (On)

    Game rules: chat and commands

  155. show_death_messages

    Controls whether death messages are shown in chat.

    Default true (On)

    Game rules: chat and commands

  156. hardcore

    Makes a new world hardcore: one life each, and players who die become spectators.

    Default false (Off)

    server.properties: gameplay

  157. max-chained-neighbor-updates

    Sets how many chained block updates can happen in a row before the rest are skipped.

    Default 1000000

    server.properties: gameplay

  158. pause-when-empty-seconds

    Sets how many seconds the server waits with no players online before it pauses the game.

    Default 60

    server.properties: gameplay

  159. generate-structures

    Controls whether villages, temples, strongholds and other structures generate in new chunks.

    Default true (On)

    server.properties: world

  160. generator-settings

    Sets custom world generation options as JSON, used for superflat worlds.

    Default {}

    server.properties: world

  161. initial-disabled-packs

    Sets which datapacks are turned off when the world is first created.

    Default (empty)

    server.properties: world

  162. initial-enabled-packs

    Sets which datapacks, including experimental feature packs, are turned on when the world is first created.

    Default vanilla

    server.properties: world

  163. level-name

    Sets the name of the world folder the server loads.

    Default world

    server.properties: world

  164. level-seed

    Sets the seed used to generate a new world.

    Default (empty)

    server.properties: world

  165. level-type

    Sets the world type for new worlds, such as normal, flat, large biomes or amplified.

    Default minecraft:normal (Default terrain)

    server.properties: world

  166. max-world-size

    Sets the maximum radius of the world in blocks, which limits where the world border can go.

    Default 29999984

    server.properties: world

  167. region-file-compression

    Sets the compression used when saving chunks to region files: deflate, lz4 or none.

    Default deflate (Smallest files)

    server.properties: world

  168. simulation-distance

    Sets how many chunks around each player are actively ticked, for mobs, crops and redstone.

    Default 10

    server.properties: world

  169. sync-chunk-writes

    Controls whether chunks are written to disk synchronously.

    Default true (On)

    server.properties: world

  170. view-distance

    Sets how many chunks around each player the server sends, which decides how far players can see.

    Default 10

    server.properties: world

  171. allow-flight

    Controls whether players flying in survival mode get kicked by the anti-fly check.

    Default false (Off)

    server.properties: players and access

  172. chat-spam-threshold-seconds

    Sets the time window, in seconds, the chat spam check uses before kicking players for sending messages too fast.

    Default 10

    server.properties: players and access

  173. command-spam-threshold-seconds

    Sets the time window, in seconds, the command spam check uses before kicking players for running commands too fast.

    Default 10

    server.properties: players and access

  174. enable-code-of-conduct

    Controls whether players are shown a server code of conduct they must accept when joining.

    Default false (Off)

    server.properties: players and access

  175. enforce-secure-profile

    Controls whether players must have a Mojang signed public key to join, which enables secure chat signing.

    Default true (On)

    server.properties: players and access

  176. enforce-whitelist

    Controls whether players not on the whitelist are kicked when the whitelist is reloaded or turned on.

    Default false (Off)

    server.properties: players and access

  177. force-gamemode

    Controls whether players are put into the default game mode every time they join.

    Default false (Off)

    server.properties: players and access

  178. log-ips

    Controls whether player IP addresses are written to the server log when they join.

    Default true (On)

    server.properties: players and access

  179. online-mode

    Controls whether players are checked against Mojang's account servers when they join.

    Default true (On)

    server.properties: players and access

  180. player-idle-timeout

    Sets how many minutes a player can be idle before being kicked.

    Default 0

    server.properties: players and access

  181. prevent-proxy-connections

    Controls whether players are refused when their IP does not match the one they used to log in to Mojang.

    Default false (Off)

    server.properties: players and access

  182. spawn-protection

    Sets the radius around world spawn where only operators can build or break blocks.

    Default 16

    server.properties: players and access

  183. text-filtering-config

    Sets the configuration for an external chat text filtering service.

    Default (empty)

    server.properties: players and access

  184. text-filtering-version

    Sets which version of the text filtering configuration format is used.

    Default 0

    server.properties: players and access

  185. white-list

    Controls whether only players on the whitelist can join.

    Default false (Off)

    server.properties: players and access

  186. accepts-transfers

    Controls whether the server accepts players sent over from another server with the /transfer command.

    Default false (Off)

    server.properties: network

  187. bug-report-link

    Sets a link players can open from the pause menu to report bugs on your server.

    Default (empty)

    server.properties: network

  188. enable-query

    Controls whether the server answers GameSpy4 query requests used by server list sites and status tools.

    Default false (Off)

    server.properties: network

  189. enable-status

    Controls whether the server shows up as online in the multiplayer server list.

    Default true (On)

    server.properties: network

  190. entity-broadcast-range-percentage

    Sets how far away entities are sent to players, as a percentage of the default distance.

    Default 100

    server.properties: network

  191. hide-online-players

    Controls whether the list of online player names is hidden from the server list.

    Default false (Off)

    server.properties: network

  192. motd

    Sets the message shown under the server name in the multiplayer server list.

    Default A Minecraft Server

    server.properties: network

  193. network-compression-threshold

    Sets the packet size, in bytes, above which network packets are compressed.

    Default 256

    server.properties: network

  194. query.port

    Sets the UDP port the query protocol listens on.

    Default 25565

    server.properties: network

  195. rate-limit

    Sets the maximum number of packets a player may send per second before being kicked.

    Default 0

    server.properties: network

  196. server-ip

    Sets the IP address the server binds to.

    Default (empty)

    server.properties: network

  197. server-port

    Sets the TCP port the server listens on for players.

    Default 25565

    server.properties: network

  198. use-native-transport

    Controls whether the server uses Linux native networking (epoll) for better network performance.

    Default true (On)

    server.properties: network

  199. require-resource-pack

    Controls whether players must accept the server resource pack to stay connected.

    Default false (Off)

    server.properties: resource packs

  200. resource-pack

    Sets the download URL of the resource pack sent to players when they join.

    Default (empty)

    server.properties: resource packs

  201. resource-pack-id

    Sets a UUID that identifies the server resource pack on the client.

    Default (empty)

    server.properties: resource packs

  202. resource-pack-prompt

    Sets a custom message shown in the resource pack prompt.

    Default (empty)

    server.properties: resource packs

  203. resource-pack-sha1

    Sets the SHA-1 hash of the resource pack so clients can verify it and use their cached copy.

    Default (empty)

    server.properties: resource packs

  204. broadcast-console-to-ops

    Controls whether commands run from the server console are shown to online operators.

    Default true (On)

    server.properties: management and RCON

  205. broadcast-rcon-to-ops

    Controls whether commands run over RCON are shown to online operators.

    Default true (On)

    server.properties: management and RCON

  206. enable-jmx-monitoring

    Controls whether the server exposes tick time statistics through Java JMX for monitoring tools.

    Default false (Off)

    server.properties: management and RCON

  207. enable-rcon

    Controls whether remote console (RCON) access is turned on.

    Default false (Off)

    server.properties: management and RCON

  208. function-permission-level

    Sets the permission level that functions from datapacks run with.

    Default 2

    server.properties: management and RCON

  209. management-server-allowed-origins

    Sets which web origins may connect to the management server from a browser.

    Default (empty)

    server.properties: management and RCON

  210. management-server-enabled

    Controls whether the server management protocol, a JSON-RPC API over WebSocket, is turned on.

    Default false (Off)

    server.properties: management and RCON

  211. management-server-host

    Sets the address the management server listens on.

    Default localhost

    server.properties: management and RCON

  212. management-server-port

    Sets the port the management server listens on.

    Default 0

    server.properties: management and RCON

  213. management-server-secret

    Sets the secret token clients must send to use the management server.

    Default (empty)

    server.properties: management and RCON

  214. management-server-tls-enabled

    Controls whether the management server uses TLS encryption.

    Default true (On)

    server.properties: management and RCON

  215. management-server-tls-keystore

    Sets the path to the keystore file with the TLS certificate for the management server.

    Default (empty)

    server.properties: management and RCON

  216. management-server-tls-keystore-password

    Sets the password for the management server's TLS keystore.

    Default (empty)

    server.properties: management and RCON

  217. max-tick-time

    Sets how long, in milliseconds, one server tick may take before the watchdog stops the server.

    Default 60000

    server.properties: management and RCON

  218. op-permission-level

    Sets the default permission level given to players made operator with /op.

    Default 4

    server.properties: management and RCON

  219. rcon.password

    Sets the password RCON clients must send to connect.

    Default (empty)

    server.properties: management and RCON

  220. rcon.port

    Sets the TCP port RCON listens on.

    Default 25575

    server.properties: management and RCON

  221. status-heartbeat-interval

    Sets how often, in seconds, the management server sends status heartbeat notifications to connected clients.

    Default 0

    server.properties: management and RCON

Questions

How do I run Minecraft commands on my server?

On a SLASHPLAY server, type it in the Console tab without the leading slash; in game, operators type it in chat with the slash.

How do I keep a setting after a restart?

Settings typed in the console last until the server restarts. Put them in server.properties, one per line, and they apply every time the server starts.

Where does this list come from?

It is the game's own list: the command tree from the server's data generator, plus /gamerule and server.properties on a SLASHPLAY Minecraft server. The descriptions and examples on the written pages are by SLASHPLAY.

Try them on
your own server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.