Built-in server commands. Access depends on your permissions. Most require operator access. Use Tab after a command to see its arguments.
/advancement- manage advancement of players
/attribute- Queries or modifies attributes of an entity.
/ban- bans a player
/ban-ip- bans a player-ip
/banlist- Prints the banlist of players, IPs, or both at once.
/bossbar- Creates and modifies boss bars
/clear- Clear your inventory or that of target(s).
/clone- Clones blocks from one region to another.
/compute- Evaluates number providers.
/damage- Deals damage to entities
/data- Queries or modifies NBT data of entities, blocks, and storages.
/datapack- Controls loaded data packs.
/debug- Starts or stops a tick profiling session.
/defaultgamemode- Change the default gamemode.
/deop- Revokes operator status from a player.
/dialog- Manages player dialog screens.
/difficulty- Query or change the difficulty of the world.
/effect- Adds or removes the status effects of players and other entities.
/enchant- Adds an enchantment to a player's selected item, subject to the same restrictions as an anvil. Also works on any mob or entity holding a weapon/tool/armor in its main hand.
/execute- Execute a command with a modified context.
/experience- Add, set or query player experience.
/fetchprofile- Fetches a player's profile.
/fill- Fills all or parts of a region with a specific block.
/fillbiome- Changes biomes of an area.
/forceload- Constantly load chunks in the world.
/function- Runs commands found in the corresponding function files.
/gamemode- Change a player's gamemode.
/gamerule- Sets or queries a game rule value.
/give- Give items to player(s).
/item- Modifies items in block or entity inventories.
/kick- Kicks the target player from the server.
/kill- Kills all target entities.
/list- Print the list of online players.
/locate- Locates the closest structure, biome, or point of interest.
/loot- Drops the given loot table into the specified inventory or into the world.
/me- Broadcasts a narrative message about yourself.
/msg- Sends a private message to one or more players.
/op- Grants operator status to a player.
/pardon- unbans a player
/pardon-ip- unbans a ip
/particle- Creates particles in the world.
/place- Places a structure template in the world.
/playsound- Plays a sound at a position.
/plugin- Manage server plugins.
/plugins- Lists all plugins loaded on the server.
/posteffect- Adds, removes, or lists screen shaders (post-processing effects).
/pumpkin- Display information about Pumpkin.
/raid- Controls or queries village raids.
/random- Draws a random value.
/recipe- Gives or takes player recipes.
/reload- Reloads the server's datapacks.
/return- Controls execution flow in functions and sets return values.
/ride- Mounts or dismounts target entities.
/rotate- Changes the rotation of an entity.
/save-all- Saves the server to disk.
/save-off- Disables automatic server saves.
/save-on- Enables automatic server saves.
/say- Broadcast a message to all Players.
/schedule- Schedules an action or function to execute after a given duration.
/scoreboard- Manages scoreboard objectives and players.
/seed- Displays the world seed.
/setblock- Place a block.
/setidletimeout- Sets the time before idle players are kicked from the server.
/setworldspawn- Sets the world spawn point.
/spawnpoint- Sets the spawn point for a player.
/spectate- Allows a player in spectator mode to spectate a given target entity.
/spreadplayers- Teleports entities to random surface locations within an area.
/stop- Stop the server.
/stopsound- Stops a currently playing sound.
/stopwatch- Creates, queries, restarts, and removes global stopwatches.
/summon- Spawns an entity at position.
/swing- Causes entities to swing their arm.
/tag- Manages the scoreboard tags of entities.
/team- Manages teams.
/teammsg- Sends a message to your team.
/teleport- Teleports entities, including players.
/tellraw- Send raw message to players.
/test- Runs a GameTest test instance.
/tick- Controls or queries the game's ticking state.
/time- Query or modify the world time and clocks.
/title- Displays a title.
/tps- Displays the server TPS and MSPT.
/transfer- Triggers a transfer of a player to another server.
/trigger- Modifies a trigger scoreboard objective.
/waypoint- List or modify waypoints.
/weather- Changes the weather.
/whitelist- Manage server whitelists.
/worldborder- Manages the world border.