Wurst.Wiki

The Official Wurst Client Wiki

User Tools

Site Tools


command

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
command [2020/08/29 14:45] – add Wurst 6/7 only tags (probably missed some) alexander01998command [2022/01/14 04:46] alexander01998
Line 1: Line 1:
 ====== Command ====== ====== Command ======
  
-A command in [[start|Wurst]] is a type of [[feature]] that can be triggered by sending a special [[mc>chat]] message that starts with a the ''.'' character. This message will not be sent to the server, but is instead processed by Wurst.+A command in [[start|Wurst]] is a type of [[feature]] that can be triggered by sending a special [[mc>chat]] message that starts with a the ''.'' character. This message will not be sent to the server, but is instead processed by Wurst. Wurst commands can also be run by using a previously created [[keybind]].
  
 If the [[#syntax|syntax]] is correct and no error occurs, the command will do something. Otherwise the command will return an error message that is only visible to the user who typed the command. If the [[#syntax|syntax]] is correct and no error occurs, the command will do something. Otherwise the command will return an error message that is only visible to the user who typed the command.
Line 8: Line 8:
  
 For long commands, the [[InfiniChat]] hack can be used to remove Minecraft's 256 character chat limit. For long commands, the [[InfiniChat]] hack can be used to remove Minecraft's 256 character chat limit.
 +
 +===== Syntax =====
 +
 +All Wurst commands must start with the ''.'' character. Other than that, Wurst's command syntax follows the conventions of Microsoft's command-line syntax ((https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/command-line-syntax-key)).
 +
 +  * ''text without any brackets'' must be typed exactly as shown.
 +  * ''<text in angle brackets>'' is a placeholder that must be replaced with a value.
 +  * ''[text in square brackets]'' is optional. It can either be omitted or typed without the square brackets.
 +  * ''(text|separated|by|pipes)'' is mutually exclusive. You must choose one item.
 +
 +**Example:** The [[cmd:nuker|.nuker command]] <sup>[ //[[Wurst 6]] only// ]</sup> has the following syntax:
 +
 +<code>
 +.nuker mode (normal|id|flat|smash)
 +.nuker id <block_id>
 +.nuker name <block_name>
 +</code>
 +
 +For ''.nuker mode (normal|id|flat|smash)'', ''.nuker'' must be typed exactly as shown, ''mode'' must be typed exactly as shown, and ''(normal|id|flat|smash)'' must be replaced with one of the items shown.
 +
 +  * ✔ ''.nuker mode id'' is valid input.
 +  * ✔ ''.nuker mode flat'' is also valid input.
 +  * ✘ ''.nuker flat'' is invalid.
 +  * ✘ ''.nuker flat flat'' is invalid.
 +  * ✘ ''.nuker mode (flat)'' is invalid.
 +  * ✘ ''.nuker mode (flat|flat|flat|flat)'' is invalid.
 +
 +For ''.nuker id <block_id>'', ''.nuker'' must be typed exactly as shown, ''id'' must be typed exactly as shown, and ''<id>'' must be replaced with a value (in this case: a [[mc>Java_Edition_data_value/Pre-flattening#Block_IDs|block ID]]).
 +  * ✔ ''.nuker id 1'' is valid input.
 +  * ✘ ''.nuker 1 1'' is invalid.
 +  * ✘ ''.nuker id <1>'' is invalid.
  
 ===== List of Commands ===== ===== List of Commands =====
Line 22: Line 53:
   * [[cmd:dig|.dig]]   * [[cmd:dig|.dig]]
   * [[cmd:drop|.drop]]   * [[cmd:drop|.drop]]
 +  * [[cmd:dupe|.dupe]] <sup>[ //[[Wurst 7]] only// ]</sup>
   * [[cmd:enabledhax|.enabledhax]] <sup>[ //[[Wurst 7]] only// ]</sup>   * [[cmd:enabledhax|.enabledhax]] <sup>[ //[[Wurst 7]] only// ]</sup>
   * [[cmd:enchant|.enchant]]   * [[cmd:enchant|.enchant]]
Line 50: Line 82:
   * [[cmd:search|.search]]   * [[cmd:search|.search]]
   * [[cmd:setcheckbox|.setcheckbox]]   * [[cmd:setcheckbox|.setcheckbox]]
 +  * [[cmd:setcolor|.setcolor]] <sup>[ //[[Wurst 7]] only// ]</sup>
   * [[cmd:setmode|.setmode]]   * [[cmd:setmode|.setmode]]
   * [[cmd:setslider|.setslider]]   * [[cmd:setslider|.setslider]]
Line 64: Line 97:
   * [[cmd:viewnbt|.viewnbt]]   * [[cmd:viewnbt|.viewnbt]]
   * [[cmd:wms|.wms]] <sup>[ //[[Wurst 6]] only// ]</sup>   * [[cmd:wms|.wms]] <sup>[ //[[Wurst 6]] only// ]</sup>
-  * [[cmd:xray|.xray]] <sup>[ //[[Wurst 6]] only// ]</sup>+  * [[cmd:xray|.xray]]
  
-===== Syntax =====+==== Removed Commands ====
  
-All Wurst commands must start with the ''.'' character. Other than that, Wurst's command syntax follows the conventions of Microsoft's command-line syntax ((https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/command-line-syntax-key)).+Removed commands no longer exist in current versions of Wurst.
  
-  * ''text without any brackets'' must be typed exactly as shown. +  * [[cmd:RenameForceOPEvenThoughTheNameIsTechnicallyCorrect|.RenameForceOPEvenThoughTheNameIsTechnicallyCorrect]]
-  * ''<text in angle brackets>'' is a placeholder that must be replaced with a value. +
-  * ''[text in square brackets]'' is optional. It can either be omitted or typed without the square brackets. +
-  * ''(text|separated|by|pipes)'' is mutually exclusive. You must choose one item. +
- +
-**Example:** The [[cmd:nuker|.nuker command]] <sup>[ //[[Wurst 6]] only// ]</sup> has the following syntax: +
-<code> +
-.nuker mode (normal|id|flat|smash) +
-.nuker id <block_id> +
-.nuker name <block_name> +
-</code> +
- +
-For ''.nuker mode (normal|id|flat|smash)'', ''.nuker'' must be typed exactly as shown, ''mode'' must be typed exactly as shown, and ''(normal|id|flat|smash)'' must be replaced with one of the items shown. +
- +
-  * ✔ ''.nuker mode id'' is valid input. +
-  * ✔ ''.nuker mode flat'' is also valid input. +
-  * ✘ ''.nuker flat'' is invalid. +
-  * ✘ ''.nuker flat flat'' is invalid. +
-  * ✘ ''.nuker mode (flat)'' is invalid. +
-  * ✘ ''.nuker mode (flat|flat|flat|flat)'' is invalid. +
- +
-For ''.nuker id <block_id>'', ''.nuker'' must be typed exactly as shown, ''id'' must be typed exactly as shown, and ''<id>'' must be replaced with a value (in this case: a [[mc>Java_Edition_data_value/Pre-flattening#Block_IDs|block ID]]). +
-  * ✔ ''.nuker id 1'' is valid input. +
-  * ✘ ''.nuker 1 1'' is invalid. +
-  * ✘ ''.nuker id <1>'' is invalid.+
  
command.txt · Last modified: 2022/01/19 05:29 by alexander01998