Player Commands
Commands that directly affect players, their inventory, experience, and status effects.
/clearRemoves items from a player's inventory. Can target specific items and limit how many are removed.
/effectGives or removes status effects from entities. Effects include potion effects like speed, strength, invisibility, etc.
/enchantEnchants the item held in a player's main hand. Only allows enchantments that are compatible with the held item and does not exceed the enchantment's maximum level.
/experienceAdds, sets, or queries experience points or levels for one or more players. Identical to /xp.
/gamemodeSets a player's game mode to survival, creative, adventure, or spectator.
/giveGives one or more items to one or more players. The item can include NBT data via component syntax.
/killKills entities (players, mobs, or other entities). If no target is specified, kills the executing entity.
/spawnpointSets the spawn point for one or more players. When a player dies, they respawn at their spawn point.
/spectateCauses a player in spectator mode to spectate (follow the viewpoint of) another entity. Running without arguments stops spectating.
/teleportTeleports entities to a location, another entity, or adjusts their rotation. Full form of /tp with extended facing options.
/tpTeleports entities to a specified location, to another entity, or with a specific rotation. Alias for /teleport.
/triggerModifies a scoreboard objective of type 'trigger'. This command can be used by non-operator players, making it useful for custom maps and voting systems.
/xpAdds, sets, or queries experience points or levels for one or more players. This is an alias for /experience.