> For the complete documentation index, see [llms.txt](https://thepython10110.gitbook.io/better-commands/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://thepython10110.gitbook.io/better-commands/commands.md).

# Commands

The complete list of Better Commands

| Command                                                                                                                | Description                                                                                                      |
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
| `/? [<command>\|privs]`                                                                                                | Alias for the built-in `/help` command                                                                           |
| [`/ability <player> <privilege> [<value>]`](/better-commands/commands/ability.md)                                      | Gets and sets player privileges.                                                                                 |
| [`/bc <command>`](/better-commands/commands/bc.md)                                                                     | Runs any Better Command (to deal with the problem of overriding commands)                                        |
| [`/clear [<targets>] [<item>] [<maxCount>]`](/better-commands/commands/clear.md)                                       | Clears items from player inventory. Can also detect and query the amount of specified items.                     |
| [`/changesetting`](/better-commands/commands/gamerule.md)                                                              | Alias for `/gamerule`                                                                                            |
| [`/clearspawnpoint [<targets>]`](/better-commands/commands/clearspawnpoint.md)                                         | Clears respawn points set with /spawnpoint                                                                       |
| [`/damage <targets> <amount> [<damageType] [by <entity>]`](/better-commands/commands/damage.md)                        | Applies a set amount of damage to the specified entities.                                                        |
| [`/enchant <targets> <enchantment> [<level>]`](/better-commands/commands/enchant.md)                                   | Adds an enchantment to a player's selected item, subject to the same restrictions as an anvil (MCL only).        |
| [`/execute align\|as\|at\|facing\|positioned\|rotated\|run ...`](/better-commands/commands/execute.md)                 | Runs a Better Command after changing the context)                                                                |
| [`/forceenchant <targets> <enchantment> [<level>]`](/better-commands/commands/forceenchant.md)                         | Adds an enchantment to a player's selected item, regardless of whether it would normally be possible (MCL only). |
| [`/gamemode <gamemode> [<targets>]`](/better-commands/commands/gamemode.md)                                            | Sets a player's gamemode                                                                                         |
| [`/gamerule <setting> [<value>]`](/better-commands/commands/gamerule.md)                                               | Sets or queries a setting                                                                                        |
| [`/give <targets> <item>`](/better-commands/commands/give.md)                                                          | Gives items to players                                                                                           |
| [`/giveme`](/better-commands/commands/give.md)                                                                         | Alias for `/give @s`                                                                                             |
| [`/kill [<targets>]`](/better-commands/commands/kill.md)                                                               | Kills entities (or self if `<targets>` left out)                                                                 |
| [`/killme`](/better-commands/commands/kill.md)                                                                         | Alias for`/kill @s`                                                                                              |
| [`/me <action>`](/better-commands/commands/me.md)                                                                      | Sends a message about yourself; can include target  selectors if you have the `server` privilege                 |
| [`/msg <targets> <message>`](/better-commands/commands/msg.md)                                                         | Sends a private message; can include target selectors if you have the `server` privilege                         |
| [`/old <command>`](/better-commands/commands/old.md)                                                                   | Runs any command overridden by a Better Command                                                                  |
| [`/playsound <sound> (<targets>\|<pos>) [<volume>] [<pitch>] [<maxDistance>]`](/better-commands/commands/playsound.md) | Plays a sound                                                                                                    |
| [`/remove [<targets>]`](/better-commands/commands/remove.md)                                                           | Removes entities (or self if `<entity>` left out)                                                                |
| [`/ride <target> <action> <vehicle>`](/better-commands/commands/ride.md)                                               | Attaches entities to other entities.                                                                             |
| [`/say <message>`](/better-commands/commands/say.md)                                                                   | Sends a message to all connected players; can include target selectors if you have the `server` privilege        |
| [`/scoreboard objectives\|players ...`](/better-commands/commands/scoreboard.md)                                       | Manipulates the scoreboard                                                                                       |
| [`/setblock <pos> <node> [keep\|replace]`](/better-commands/commands/setblock.md)                                      | Places a node                                                                                                    |
| [`/setnode`](/better-commands/commands/setblock.md)                                                                    | Alias for `/setblock`                                                                                            |
| [`/spawnpoint [<targets>]`](/better-commands/commands/spawnpoint.md)                                                   | Sets players' respawn points                                                                                     |
| [`/stop`](/better-commands/commands/stop.md)                                                                           | Stops the server.                                                                                                |
| [`/summon <entity> [<pos>] [<rot>]`](/better-commands/commands/summon.md)                                              | Summons an entity                                                                                                |
| [`/team add\|empty\|join\|leave\|list\|modify\|remove ...`](/better-commands/commands/team.md)                         | Manipulates teams.                                                                                               |
| [`/teammsg <message>`](/better-commands/commands/teammsg.md)                                                           | Sends a message to the executor's team                                                                           |
| [`/teleport ...`](/better-commands/commands/teleport.md)                                                               | Sets entities' position and rotation (too many argument combinations).                                           |
| [`/tell`](/better-commands/commands/msg.md)                                                                            | Alias for `/msg`                                                                                                 |
| [`/tm`](/better-commands/commands/teammsg.md)                                                                          | Alias for `/teammsg`                                                                                             |
| [`/toggledownfall`](/better-commands/commands/toggledownfall.md)                                                       | Toggles rain                                                                                                     |
| [`/trigger <objective> [add\|set <value>]`](/better-commands/commands/trigger.md)                                      | Allows players to set their own scores in controlled ways.                                                       |
| [`/tp`](/better-commands/commands/teleport.md)                                                                         | Alias for `/teleport`                                                                                            |
| [`/w`](/better-commands/commands/msg.md)                                                                               | Alias for `/msg`                                                                                                 |
| [`/weather <weather> [<duration>]`](/better-commands/commands/weather.md)                                              | Sets or queries the weather.                                                                                     |

## History

| Version | Action                                                                                                                                                                                                                                                                                                                                                                             |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| v1.0    | Added every command that wasn't added later.                                                                                                                                                                                                                                                                                                                                       |
| v2.0    | <p>Added <code>/gamemode</code>, <code>/enchant</code>, <code>/forceenchant</code>, <code>/teammsg</code>, <code>/spawnpoint</code>, <code>/clearspawnpoint</code>, <code>/clear</code>, <code>/gamerule</code>, <code>/changesetting</code>, <code>/remove</code>, and <code>/damage</code></p><p>Command outputs are now shown to other players and errors are shown in red.</p> |
| v3.0    | Added `/ride`, `/stop`, `/toggledownfall`, and `/weather`                                                                                                                                                                                                                                                                                                                          |
|         |                                                                                                                                                                                                                                                                                                                                                                                    |
