What are the admin commands on Minecraft Java?

How to use Minecraft server commands

You need to become an admin (OP Player) in order to enter admin commands – How to do it?

You can activate the command both in the game console and in the console of your server.
To use the command in the game console, type “/” followed by the command and press Enter.
Otherwise, type the command into your server’s console without the “/” to run it.
Also remember that commands can only be used in worlds where cheats are enabled.

For most commands, you will also need to select the targets that will be the recipients of the cheats.
Instead of entering full recipient names, you can use these target selection abbreviations:

  • @p = the player nearest to you
  • @r = a random player
  • @a = all players
  • @e = all entities
  • @s = yourself/the entity executing the command

The most useful admin commands in Minecraft

  1. /help
    This command displays a list of all console commands or tells you how to use a particular command.
    Example: /help [command]
  2. /tp
    The “tp” command teleports the specified object to the specified destination. This is an abbreviation for the same command “teleport”.
    Example:
    /tp {destination}
    /tp {location} [rotation]
    /tp {targets} {destination}
    /tp {targets} {entity}
  3. /weather
    The “weather” command sets the weather.
    Example: /weather {clear|rain|thunder} [duration]
  4. /give
    The “give” command gives the item to the player.
    Example: /give {player} {item} [count]
  5. /summon
    The “summon” command calls the specified Minecraft entity or mob at the specified location.
    Example: /summon {entity} [position] [NBT data tag]
  6. /kill
    The “kill” command instantly kills the specified entity or entities.
    Example: /kill {targets}
  7. /locate
    The “locate” command finds the nearest structure of the specified type. Useful for finding structures like Minecraft Villages.
    Example:/locate {structureType}
  8. /enchant
    The “enchant” command enchants a player’s item.
    Example: /enchant {player} {enchantment ID} [level]
  9. /xp
    The “xp” command adds, sets, removes, or checks a player’s experience. Short for /experience.
    Example:
    /xp [add|set] {players} {amount} [points|levels]
    /xp query {player} {points|levels}
  10. /gamerule keepInventory true
    After entering the command, you will no longer lose your items upon death. To cancel the command, type “false” instead of “true”.

A complete list of all commands can be found at the link.

Rate this article
Share this article
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
In this article