How to Use Default Minecraft Commands on Your Server

The built-in commands every operator has, without any plugins

The built-in commands every operator has, without any plugins

What are Default Commands?

Default commands come with Minecraft itself and need no plugins. They cover moderation, giving items, teleporting, and much more. Most need operator permissions.


Useful Commands

Moderation

Command Description
/ban PlayerName Bans a player.
/kick PlayerName Kicks a player from the server.
/op PlayerName Gives operator status.
/deop PlayerName Removes operator status.
/whitelist add PlayerName Adds a player to the whitelist.
/list Shows who is online.

Giving Items and Effects

Command Description
/give PlayerName item 1 Gives a player an item.
/clear PlayerName Clears a player's inventory.
/effect give PlayerName speed 10 2 Applies an effect.
/enchant Enchants the item you hold.

Teleporting

Command Description
/tp PlayerName Teleports a player to you.
/spawnpoint PlayerName Sets a spawn point.
/setworldspawn Sets the world spawn.

World and Time

Command Description
/time set day Sets the time.
/weather clear Sets the weather.
/gamerule keepInventory true Keeps items on death.
/seed Shows the world seed.

Server Management

Command Description
/save-all Saves the world to disk.
/reload Reloads data packs and configs.
/stop Stops the server.
/difficulty normal Sets difficulty.

How to Run Commands

image1


Important Considerations


Conclusion

Default commands give you full control over your server without plugins. Learn a handful and you can handle most daily server tasks.


Similarly, if you are having any type of issue or problem with your server at MCServerHost you can always get in touch with us by joining our Discord server or writing to us at support@mcserverhost.com.

Related guides

All community guides