Tutorials
Configuring and managing your server

Vanilla Minecraft Commands

Minecraft commands are an important part of gameplay, allowing players to perform various actions, from teleporting to generating items. In this tutorial, we will cover the basics of Minecraft commands and how to use them.

Understanding Minecraft Commands Minecraft commands are typed into the chat or console, and they allow players to perform various actions, such as teleporting, giving items, and more. Each command begins with a forward slash (/), followed by the command name and any additional arguments.

Minecraft commands are case-insensitive, which means that you can use uppercase or lowercase letters interchangeably. However, some commands have specific capitalization rules, so it's important to follow them to avoid any errors.

There are two types of Minecraft commands: server commands and client commands. Server commands can only be used by players with operator status on a server, while client commands can be used by any player in singleplayer or multiplayer mode.


Basic Minecraft Commands

Here are some of the basic Minecraft commands and what they do:

/help - Displays a list of available commands.
/gamemode - Changes the player's game mode.
/teleport - Teleports the player to a specific location.
/give - Gives the player an item or block.
/time - Changes the time of day in the game.
/weather - Changes the weather conditions in the game.
/spawnpoint - Sets the player's spawn point.
/kill - Kills the player or a specified entity.
/summon - Summons an entity.


Using Minecraft Commands

To use a Minecraft command, simply type it into the chat or console and press Enter. Here's an example of how to use the /teleport command:

/teleport [player] [x] [y] [z]

In this example, [player] is the name of the player you want to teleport, and [x], [y], and [z] are the coordinates of the location where you want to teleport them.

Here's another example of how to use the /give command:

/give [player] [item] [quantity]

In this example, [player] is the name of the player you want to give the item to, [item] is the name or ID of the item you want to give, and [quantity] is the number of items you want to give.

It's important to note that some commands require specific permissions to use. For example, the /gamemode command can only be used by players with operator status on a server.


Vanilla Minecraft Commands List

CommandDescriptionExample
/helpShows a full list of commands available on the server, or gives you information about a specific command/help weather
/give [amount]Gives a player any item in the game, leave the [amount] field blank to give a full stack of the item/give iVestri iron_pickaxe 1
/weatherChanges the weather in the world. There are four types of weather available in the game: rain, thunder, snow, and clear/weather clear
/gamemode [player]Changes your gamemode, or you can add a player's name to change their gamemode instead. There are four gamemodes available in the game: Survival, creative, spectator, and adventure/gamemode creative
/summonImmediately summons an object to your location/summon villager
/tp [username]Teleports you or another player to the coordinates. You can also use it to teleport players to each other/tp iVestri smattox
/time setAllows you to set the time of day on the server. You can use values like Day or Night, or you can set a specific time in ticks/time set day
/xp [player]Gives xp to yourself, or to a certain player/xp 1000 iVestri
/locatebiomeTells you where the nearest biome of your choice is/locatebiome plains
/msgSends a private message to another player/msg iVestri hello!
/opsDisplays a full list of opped players/ops
/perfRuns a short debug function for 10 seconds. It will create files for you in your server's debug folder that will give a detailed overview of what is happening on your server. This is particularly useful for diagnosing lag/perf
/save-allCauses the server to create an automated backup. You are limited to two automated backups at a time, so previous ones will be overwritten. You can view your backup from the backups tab of your server control panel/save-all
/stopCauses your server to start shutting down/stop
/restartShuts down your server and causes it to restart after a few minutes/restart
/worldborderA series of commands that allows you to create and set a border in your world/worldboard add 100
/whitelistAllows you to enable/disable the whitelist and control the players on it/whitelist add Daltondorf
/gamerule valueAllows you to change the base rules of your world/gamerule doDaylightCycle false
/banAdds the username to your server's ban list. This will prevent that user from joining again/ban notch
/ban-ipAdds the IP address of the player to your server ban list. This is useful if you suspect a person you are banning has multiple Minecraft accounts/ban-ip notch
/pardonRemoves someone from the ban list/pardon iVestri
/banlistShows a full list of players you have banned/banlist
/clear [username]Removes all of the items from your inventory. If you add a player's username it will remove their inventory instead/clear iVestri
/datapack [pack]Allows you to control the datapacks you have on your server.


Conclusion

Minecraft commands are a powerful tool that can enhance your gameplay experience. Whether you're playing in singleplayer or multiplayer mode, knowing how to use commands can help you accomplish your goals more quickly and efficiently. Keep in mind that not all commands are available in all game modes or on all servers, so be sure to check the server rules and game mode before using any commands.