Default Minecraft commands(Legacy)




Summary
Default Minecraft commands are built-in functions accessed through the chat window or console, enabling players to manipulate the game world in various ways. These commands allow players to quickly and easily perform tasks that would otherwise be time-consuming or difficult. Players can use commands to modify the game environment, change the weather, spawn mobs or entities, and even create custom game modes. 

Note Some commands require OP permission.
Learn how to grant OP permissions here.


Default Minecraft Commands

Command
Description
/advancement Gives, removes, or checks player advancements.
/attribute Queries, adds, removes or sets an entity attribute.
/ban Adds player to banlist.
/ban-ip Adds IP address to banlist.
/banlist Displays banlist.
/bossbar Creates and modifies bossbars.
/clear Clears items from player inventory.
/clone Copies blocks from one place to another.
/damage Applies damage to the specified entities.
/data Gets, merges, modifies and removes block entity and entity NBT data.
/datapack Controls loaded data packs.
/debug Starts or stops a debugging session.
/defaultgamemode Sets the default game mode.
/deop Revokes operator status from a player.
/difficulty Sets the difficulty level.
/effect Adds or removes status effects.
/enchant Adds an enchantment to a player's selected item.
/execute Executes another command.
/experience An alias of /xp. Adds or removes player experience.
/fill Fills a region with a specific block.
/fillbiome Fills a region with a specific biome.
/forceload Forces chunks to constantly be loaded or not.
/function Runs a function.
/gamemode Sets a player's game mode.
/gamerule Sets or queries a game rule value.
/give Gives an item to a player.
/help Provides help for commands.
/item Manipulates items in inventories.
/jfr Starts or stops a JFR profiling.
/kick Kicks a player off a server.
/kill Kills entities (players, mobs, items, etc.).
/list Lists players on the server.
/locate Locates closest structure, biome, or point of interest.
/loot Drops items from an inventory slot onto the ground.
/me Displays a message about the sender.
/msg An alias of /tell and /w. Displays a private message to other players.
/op Grants operator status to a player.
/pardon Removes entries from the banlist.
/pardon-ip Removes entries from the banlist.
/particle Creates particles.
/perf Captures info and metrics about the game for 10 seconds.
/place Used to place a configured feature, jigsaw, template, or structure at a given location.
/playsound Plays a sound.
/publish Opens single-player world to local network.
/recipe Gives or takes player recipes.
/reload Reloads loot tables, advancements, and functions from disk.
/return Control execution flow inside functions and change their return value.
/ride Used to make entities ride other entities, stop entities from riding, make rides evict their riders, or summon rides or riders.
/save-all Saves the server to disk.
/save-off Disables automatic server saves.
/save-on Enables automatic server saves.
/say Displays a message to multiple players.
/schedule Delays the execution of a function.
/scoreboard Manages scoreboard objectives and players.
/seed Displays the world seed.
/setblock Changes a block to another block.
/setidletimeout Sets the time before idle players are kicked.
/setworldspawn Sets the world spawn.
/spawnpoint Sets the spawn point for a player.
/spectate Make one player in spectator mode spectate an entity.
/spreadplayers Teleports entities to random locations.
/stop Stops a server.
/stopsound Stops a sound.
/summon Summons an entity.
/tag Controls entity tags.
/team Controls teams.
/teammsg An alias of /tm. Specifies the message to send to team.
/teleport An alias of /tp. Teleports entities.
/tell An alias of /msg and /w. Displays a private message to other players.
/tellraw Displays a JSON message to players.
/time Changes or queries the world's game time.
/title Manages screen titles.
/tm An alias of /teammsg. Specifies the message to send to team.
/tp An alias of /teleport. Teleports entities.
/trigger Sets a trigger to be activated.
/w An alias of /tell and /msg. Displays a private message to other players.
/weather Sets the weather.
/whitelist Manages server whitelist.
/worldborder Manages the world border.
/xp An alias of /experience‌. Adds or removes player experience.

Default Bukkit Commands

Command
Description Permission
/version Gives the version number of CraftBukkit which is installed on the server. bukkit.command.version
/plugins Lists all installed plugins on the server. bukkit.command.plugins
/help Shows a list of server or plugin commands in the console or in-game bukkit.command.help
/reload Stops and restarts all plugins on the server bukkit.command.reload
/timings [reset|merged|separate] Records timings for all plugin events. bukkit.command.timings

Default Spigot/Paper Commands

Command
Description Permission
/restart Attempt to perform a server restart. The restart-script value must be properly defined in spigot.yml for this to work. bukkit.command.restart
/tps Show TPS (ticks per second) averages of the server from the last 1, 5, and 15 minutes. bukkit.command.tps
/timings on Turn on server benchmark timings without requiring a restart. bukkit.command.timings
/timings off Turn off server benchmark timings without requiring a restart. bukkit.command.timings
/timings merged Write server benchmark timings to disk. A text file named timingsX.txt will be stored in the /timings/ directory, where X increases in single increments each time. bukkit.command.timings
/timings separate Produce timings reports for active plugins in separate text files for each one. bukkit.command.timings
/timings paste Server benchmark timings will be pasted to Ubuntu Paste, which can then be viewed in a proper and improved format via Aikar's Timings Viewer. bukkit.command.timings
/timings reset Reset previous data gathered by the server benchmark timings. bukkit.command.timings

Default SpongeForge Commands

Command
Description Permission
/sponge audit Forces loading of unloaded classes to enable mixin debugging. sponge.command.audit
/sponge blockinfo Shows the type and some additional information about the block the player is looking at. sponge.command.blockinfo
/sponge chunks Prints out the chunk data for a world, a dimension, or globally. sponge.command.chunks
/sponge config Alters a global, world, or a dimension config. sponge.command.config
/sponge entityinfo Shows the type and some additional information about the entity the player is looking at. sponge.command.entityinfo
/sponge heap Dumps the JVM heap. sponge.command.heap
/sponge metrics Gets or sets whether metric (also known as server stats) collection is enabled for a given plugin. sponge.command.metrics
/sponge mods Lists currently installed forge mods. (SpongeForge only) sponge.command.mods
/sponge plugins list Lists currently installed Sponge plugins. sponge.command.plugins
/sponge plugins refresh Asks plugins to perform their own reload procedures. sponge.command.plugins.refresh
/sponge reload Reloads the global, world, or dimension config. sponge.command.reload
/sponge save Saves the global, world, or dimension config. sponge.command.save
/sponge tps Display ticks per second for each world. sponge.command.tps
/sponge version Prints the Sponge/SpongeAPI versions to the console. sponge.command.version
/sponge which Prints which plugin provided the command, it’s aliases and alternatives. sponge.command.which
/sponge:callback Internally used for callback actions on Components (such as pagination). Not intended to be invoked by hand.  
/sponge:help View information on commands used on the server. sponge.command.help


Was this answer helpful?

0
« Back