Difference between revisions of "Commands"
Jump to navigation
Jump to search
(Created page with "'''Commands''' are something that is typed into the server lobby chat to use some functionality. Introduced in version 1.1. Changing code allows to add new command...") |
STK FabianF (talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''Commands''' are something that is typed into the server lobby chat to use some functionality. Introduced in version [[STK 1.1|1.1]]. Changing code allows to add new commands and thus enhance functionality without changing client interface, which is convenient and used for example on [[Frankfurt servers]]. | '''Commands''' are something that is typed into the server lobby chat to use some functionality. Introduced in version [[STK 1.1|1.1]]. Changing code allows to add new commands and thus enhance functionality without changing client interface, which is convenient and used for example on [[Frankfurt servers]]. | ||
+ | |||
+ | If you want to tell someone about a command, you can insert a space before it, so it doesn't get interpreted (like <code>_/command</code>). | ||
== List of standard commands == | == List of standard commands == | ||
* <code>/music volume</code> - change the music volume, volume can be between 0 and 10. | * <code>/music volume</code> - change the music volume, volume can be between 0 and 10. | ||
− | * <code>/kick username</code> - kick a player. Requires you to be | + | * <code>/kick username</code> - kick a player. Requires you to be a crowned player (marked with a crown 👑 in the server lobby, there can be no crowned players). You can do this with user interface, though. Of course, the specified user should be present on the server. |
* <code>/installaddon addon_id</code> - installs an add-on with specified identifier from STK official site. Note that addon_id is not add-on's name and can be much worse to type, for example, <code>hacienda--edit-_1</code>. | * <code>/installaddon addon_id</code> - installs an add-on with specified identifier from STK official site. Note that addon_id is not add-on's name and can be much worse to type, for example, <code>hacienda--edit-_1</code>. | ||
* <code>/installaddon http(s)://any_link.zip</code> - installs add-ons available on the Web in some zip archive. Be careful with those as they are not official, and archives can contain literally anything. | * <code>/installaddon http(s)://any_link.zip</code> - installs add-ons available on the Web in some zip archive. Be careful with those as they are not official, and archives can contain literally anything. | ||
Line 12: | Line 14: | ||
* <code>/serverhasaddon addon_id</code> - check whether this server has a certain add-on. | * <code>/serverhasaddon addon_id</code> - check whether this server has a certain add-on. | ||
* <code>/playeraddonscore username</code> - print the percentage of server add-ons that are installed for a certain player, by category. This can, for example, help determining who has no add-ons. | * <code>/playeraddonscore username</code> - print the percentage of server add-ons that are installed for a certain player, by category. This can, for example, help determining who has no add-ons. | ||
+ | * <code>/spectate [0/1]</code> - enables auto spectating with <code>/spectate 1</code> and disables it with <code>/spectate 0</code>. |
Latest revision as of 14:52, 16 December 2020
Commands are something that is typed into the server lobby chat to use some functionality. Introduced in version 1.1. Changing code allows to add new commands and thus enhance functionality without changing client interface, which is convenient and used for example on Frankfurt servers.
If you want to tell someone about a command, you can insert a space before it, so it doesn't get interpreted (like _/command
).
List of standard commands
/music volume
- change the music volume, volume can be between 0 and 10./kick username
- kick a player. Requires you to be a crowned player (marked with a crown 👑 in the server lobby, there can be no crowned players). You can do this with user interface, though. Of course, the specified user should be present on the server./installaddon addon_id
- installs an add-on with specified identifier from STK official site. Note that addon_id is not add-on's name and can be much worse to type, for example,hacienda--edit-_1
./installaddon http(s)://any_link.zip
- installs add-ons available on the Web in some zip archive. Be careful with those as they are not official, and archives can contain literally anything./uninstalladdon addon_id
- uninstalls add-on by identifier. For unofficial add-ons, this is the only way to delete them without touching the filesystem./liststkaddon [option] string
,/listlocaladdon [option] string
,/listserveraddon [option] string
- search add-ons in STK official site, locally or on a current server by a string that is a substring of its identifier (which is still not name). Option can be either empty or -track, -arena, or -kart which means searching among certain add-ons category./playerhasaddon addon_id username
- check whether a player has a certain add-on./serverhasaddon addon_id
- check whether this server has a certain add-on./playeraddonscore username
- print the percentage of server add-ons that are installed for a certain player, by category. This can, for example, help determining who has no add-ons./spectate [0/1]
- enables auto spectating with/spectate 1
and disables it with/spectate 0
.