List of content you will read in this article:
Minecraft is gaining huge popularity, day by day, amongst the masses.
If you are familiar with this game, you must as well be acquainted with the different modes of the game. You have the liberty to play the game in single-player as well as multiplayer mode.
Minecraft permits you to build your own world with ample elements. You can have your own fields, pets, and a lot more. Due to the extreme simplicity and user-friendliness, this game is reaching a wide audience day by day.
Now, there are a lot of commands that you can initialize whilst playing the game on your server. These commands help you to perform various functions that otherwise are not plausible.
In this article, we will present you with some Minecraft server commands with a detailed explanation.
Minecraft Server Commands
Here is a detailed list of all the commands that prove to be beneficial whilst you are in the game.
ban <player name> [reason]
This command helps to blacklist the name of the player you mention from the server. Therefore, the player is not able to connect with the game any further.
Additionally, remember that this ban supersedes any whitelisting too!
This command helps you to get the ban list. Use this command to avail the information about the banned IP addresses.
ban-ip <ip-address | player name>
If you wish to blacklist any IP address to reject further connections from it, then you can use this command.
kick <player name> [reason]
In case you are not comfortable with a particular player connected with you, you have the option to disconnect them from the server entirely. You can write the reason for the same if you wish to.
This command displays all the names of the currently connected players in the game.
deop <player name>
You can easily revoke the operator status of a player by using this command.
op <player name>
This command helps you to grant the operator status to the player that you mention on the server.
If you wish to disable the server writing to your old files then you can use this command. Moreover, all the changes that you make temporarily queue up.
This command forces the server to write the pending changes of your world to disk.
This command enables the server to write to the world (your world in the game) files.
whitelist <add | remove> <player name>
If you wish to add or remove a certain player from the whitelist, you can initialize this command.
whitelist <on | off>
By using this command, you can enable or disable the servers of a whitelist.
You can easily reload the entire list of player names in the document named white-list.txt from disk.
This command is generally used when the document white list.txt has been under any kind of modification outside of Minecraft.
This command displays the entire list of the players in the whitelist.
If you wish to shut down your server, use this command.
pardon <player name>
This command removes the player from the blacklist so that they can establish a connection with you again.
If you want to remove an IP address from the IP blacklist, use this command. It further allows the player who belongs to that particular IP address to build a connection with the server.
Well, this was the overall list of all the Minecraft server commands.
We will now take a look at some of the commands that can escalate your Minecraft experience too!
Additional Minecraft Commands
Take a look at the pointers:
- How can you change the game mode of a player?
- Method to teleport a player to another player?
- How can you give items to another player?
Let’s dive in!
Method to change the game mode of a player?
/gamemode <0/1> <player>
Place the name of whichever player you want to change the game mode for, in the player bracket. You can put your name too.
0 represents Survival and 1 means Creative. While you initialize the commands, no brackets are required to write 0 or 1.
Method to teleport a player to another player
/tp <player> <target>
Place the desired player name you want to teleport in the first bracket and the target in the second one.
You can write your name in the bracket as well.
How can you give items to another player?
/give <player> <block ID> <amount>
Here, place the username of the player you wish to give the items to in the first bracket as shown in the command above.
The second bracket is about the block ID. Here, you cannot write the name of the block. You must write the ID of the block.
Next up is the amount bracket. You have to insert the amount of whichever item you wish to give. The maximum number of items in one stack is 64!
Additionally, while you use this command, the items are not delivered into the inventory. They are directly dropped at your feet. Carefully stand by Lava or on an edge, as you may lose your items.
Lastly, here is a quick reminder for you!
If you are initiating a command in the game, you must use a forward slash before typing the command. This helps the client to understand that the text after it is a command and not a message.
Moreover, if you wish to use the commands from the server end, then the commands should be used without the forward slash.
Therefore, if you are a frequent player of Minecraft, then these commands would prove to be beneficial for you.
We hope that the information in the article helps to solve all your ambiguities related to the Minecraft server commands.
Keep playing! Keep exploring!