Difference between revisions of "Command list"
(/sudo was removed a while ago) |
m (→Non-admin commands: fix the rainbow color) |
||
Line 72: | Line 72: | ||
| /prompt || || yes || yes || Type your next command or message in a pop-up prompt. | | /prompt || || yes || yes || Type your next command or message in a pop-up prompt. | ||
|- | |- | ||
− | | /rainbow || '''content''' || no || no || <span style="color:#ff0000">R</span><span style="color:#ff8b00">A</span><span style="color:#e8ff00">I</span><span style="color: | + | | /rainbow || '''content''' || no || no || <span style="color:#ff0000">R</span><span style="color:#ff8b00">A</span><span style="color:#e8ff00">I</span><span style="color:#5dff00">N</span><span style="color:#00ff2e">B</span><span style="color:#00ffb9">O</span><span style="color:#00b9ff">W</span> |
|- | |- | ||
− | | /rainbowme|| '''content''' || no || no || Same as /me, but <span style="color:#ff0000">R</span><span style="color:#ff8b00">A</span><span style="color:#e8ff00">I</span><span style="color: | + | | /rainbowme|| '''content''' || no || no || Same as /me, but <span style="color:#ff0000">R</span><span style="color:#ff8b00">A</span><span style="color:#e8ff00">I</span><span style="color:#5dff00">N</span><span style="color:#00ff2e">B</span><span style="color:#00ffb9">O</span><span style="color:#00b9ff">W</span> |
|- | |- | ||
| /set <br /> /s || '''''setting''''' <br /> '''no''setting''''' <br /> '''''setting''=''value''''' <br /> '''''setting''?''' <br /> '''''setting''=?'''<br />|| yes || yes || Manipulate and query [[client settings|client settings]]. Syntax borrowed from Vim. | | /set <br /> /s || '''''setting''''' <br /> '''no''setting''''' <br /> '''''setting''=''value''''' <br /> '''''setting''?''' <br /> '''''setting''=?'''<br />|| yes || yes || Manipulate and query [[client settings|client settings]]. Syntax borrowed from Vim. | ||
Line 91: | Line 91: | ||
|} | |} | ||
− | |||
== Admin commands == | == Admin commands == |
Revision as of 10:06, 1 August 2024
This page contains a list of in-game commands. This list is not necessarily up to date. To see a reliable list of available commands, run the /help command in-game or look at the source code and this list of files.
Also see a separate list of server console commands.
Non-admin commands
These are commands that can be ran by anyone. The table contains:
- the name of each command,
- a description of its arguments,
- whether the command is client-side (client-side commands don't interact with the AAGRINDER server) and
- whether the command is available on the login screen (in the your name: prompt)
- a short description.
Note: some client-side commands can be run on the login screen as well (by typing them instead of the username). A list can be found here, or by running /help on the login screen. Notably, you can run /set nom to disable the login screen music.
Multiple commands in the same row represent multiple aliases for the same command.
Arguments written in bold are mandatory. Where arguments are written in multiple lines, that represents different configurations the arguments are allowed to have for the same command.
Command | Arguments | Client -side |
Login screen |
Description |
---|---|---|---|---|
/? /h /help |
no | yes | List all available commands. | |
/about | no | no | Display links to source code. | |
/clear | yes | yes | Clear the chatbox. | |
/color | color | no | no | Change player color (visible to all). |
/copyall /ca |
yes | yes | Copy the entire chatbox to your system clipboard. | |
/copylast /cl |
yes | yes | Copy the last chatbox line to your system clipboard. | |
/credits | yes | no | Play the credits. | |
/di | count | no | no | dididididi |
/friend | add/remove name | no | no | Create, accept or reject a friend request or remove a friend. |
/home | no | no | Teleport to your home. | |
/layout | name | yes | yes | Change keyboard layout. |
/log | yes | no | Display a debug log in browser console (requires debug client). | |
/map | yes | yes | Remap a key to another key (custom key binding). | |
/unmap | yes | yes | Unmap a key (remove a binding). | |
/unmapallkeys | yes | yes | Unmap all keys that can be unmapped (equivalent to /layout emptylayout). | |
/mute | yes | yes | Disables music and notification sounds. | |
/unmute | yes | yes | Enables music and notification sounds. | |
/me | content | no | no | Displays the message as self-action rather than chat message. |
/passwd /password |
no | no | Change your password. | |
/ping | content | no | no | Send something to the server and get it back. |
/players /p |
no | no | Display a list of online players. | |
/pop | yes | no | Pop? | |
/pos | yes | no | Display your coordinates and other information. | |
/prompt | yes | yes | Type your next command or message in a pop-up prompt. | |
/rainbow | content | no | no | RAINBOW |
/rainbowme | content | no | no | Same as /me, but RAINBOW |
/set /s |
setting nosetting setting=value setting? setting=? |
yes | yes | Manipulate and query client settings. Syntax borrowed from Vim. |
/resetallsettings | yes | yes | Reset all client settings (clears localstorage) | |
/sethome | no | no | Set your home to your current position. | |
/source | yes | yes | Display a link to source code. | |
/spawn | no | no | Respawn (teleport to spawn area). | |
/bye /exit /quit /leave /logout /signout |
yes | no | Disconnect from the AAGRINDER server. | |
/whisper /w |
player_name content | no | no | Whisper to another player. |
Admin commands
Commands that only admins can run.
Note that coordinates can be specified either in absolute form or in relative form. Relative coordinates are specified with a ~ and are calculated relative to your player's position. See following example:
/summon ghost ~-10 ~10
Command | Arguments | Client -side |
Description |
---|---|---|---|
/claim | add x1 y1 x2 y2 account remove x1 y1 account |
no | Add or remove a claimed area for an account |
/clearinventory | player | no | Remove all items from a player's inventory |
/clone | x1 y1 x2 y2 xtarget ytarget | no | Clone an area of terrain |
/detectors | no | Display coordinates of naturally spawned detectors | |
/drainhunger | player | no | Set a player's energy level to zero |
/fill | x1 y1 x2 y2 block | no | Fill an area with a specific block |
/gamemode /mode /g /m |
0-2 player | no | Change a player's game mode |
/ghosts | no | Display coordinates of ghosts | |
/give | player amount item | no | Give a player some amount (default 1) of some item |
/loaded | no | Display a list of all loaded chunks | |
/save | no | Request the AAGRINDER server to immediately save the world | |
/seed | no | Display the world seed | |
/setblock | x1 y1 block | no | Set a specific block |
/setworldspawn | x y | no | Set the spawn point to a specific position (default: your positon) |
/summon | creature x y | no | Summon a creature at a specific position (default: your positon) |
/teleport /tp /t |
targetplayer player targetplayer x y player x y |
no | Teleport yourself or another player to a specific position or another player's position |
/tickspeed | multiplier | no | Set server tick speed. Higher multiplier is faster. Default: 1 |
/setblock | x y block | no | Set a specified block at a specific position (default: your position) |
/warps | no | Display coordinates of loaded warps |