Target selectors, explained
- @p — nearest player to the command's origin.
- @a — every player currently online.
- @s — the entity running the command (only works from a command block or as a player typing in chat).
- @e — every entity, including mobs and items. Use carefully — this can affect a lot at once.
- @r — one random player.
You can also target a specific player by typing their exact username instead of a selector.
Common uses
The give and enchant generators are the fastest way to gear up a creative-mode test world or set up an admin kit. The summon generator is handy for spawning bosses or event mobs at a fixed set of coordinates, and the effect generator is the quickest way to build a spawn-platform beacon effect or an event buff without touching a command block's raw NBT.