User Tools

Site Tools


tutorial:commands

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
tutorial:commands [2020/11/25 08:07] – Move static imports up and some rewords i509vcbtutorial:commands [2020/11/25 08:20] – [Advanced concepts] i509vcb
Line 1: Line 1:
 +Licensing: The code in this article is licensed under the "Creative Commons Zero v1.0 Universal" license. The license grants you the rights to use the code examples shown in this article in your own mods.
 +
 ====== Creating Commands ====== ====== Creating Commands ======
  
Line 220: Line 222:
 | [[tutorials:commands:requirements|Requirements]]               | Only allow users to execute commands in certain scenarios.                      | | [[tutorials:commands:requirements|Requirements]]               | Only allow users to execute commands in certain scenarios.                      |
 | [[tutorials:commands:exceptions  |Exceptions]]                 | Fail execution of a command with a descriptive message and in certain contexts. |                                                                   | [[tutorials:commands:exceptions  |Exceptions]]                 | Fail execution of a command with a descriptive message and in certain contexts. |                                                                  
-| [[tutorials:commands:suggestions |Suggestions]]                | Suggesting input to be sent to the client.                                      |+| [[tutorials:commands:suggestions |Suggestions]]                | Suggesting command input for the client.                                        |
 | [[tutorials:commands:redirects_aliases|Redirects (Aliases)]]   | Allow use of aliases to execute commands.                                       | | [[tutorials:commands:redirects_aliases|Redirects (Aliases)]]   | Allow use of aliases to execute commands.                                       |
 | [[tutorials:commands:redirects_chaining|Redirects (Chaining)]] | Allow commands to have repeating elements and flags.                            | | [[tutorials:commands:redirects_chaining|Redirects (Chaining)]] | Allow commands to have repeating elements and flags.                            |
-| [[tutorials:commands:argument_types|Custom Argument Types]]    | Parse your own arguments and return your own types                            |+| [[tutorials:commands:argument_types|Custom Argument Types]]    | Parse your own arguments into your own objects                                |
  
 **TODO:** Sections are being moved to sub categories and will be added to their respective articles as they are migrated. **TODO:** Sections are being moved to sub categories and will be added to their respective articles as they are migrated.
Line 265: Line 267:
  
 **__Currently this article is being migrated, so things may be a mess. Below is are the parts of the article that are yet to be migrated to the new format.__** **__Currently this article is being migrated, so things may be a mess. Below is are the parts of the article that are yet to be migrated to the new format.__**
 +
 +Licensing from below onwards is available under the "CC Attribution-Noncommercial-Share Alike 4.0 International" license. This is the current license of the other wiki articles.
  
 ===== Requirements ===== ===== Requirements =====
tutorial/commands.txt · Last modified: 2024/02/23 14:22 by allen1210