refactor: list all argument types for commands#307
Merged
oskarscot merged 29 commits intoHytaleModding:mainfrom Jan 22, 2026
Merged
refactor: list all argument types for commands#307oskarscot merged 29 commits intoHytaleModding:mainfrom
oskarscot merged 29 commits intoHytaleModding:mainfrom
Conversation
Add command argument types and details for required and optional arguments.
Add full list of command arguments
Added jacobwojoski to the contributors and made op level overview section
Expanded the documentation on subcommands to include command collections and provided a code example.
Added example for command variants using addUsageVariant.
Correct the constructor name in the example code for clarity.
oskarscot
suggested changes
Jan 22, 2026
Removed unused argument types from the documentation.
Updated the documentation to clarify command argument types and added an example section.
Added information on using the /perm command for permissions.
Clarified explanations and fixed typos in the documentation for command types, including AbstractAsyncCommand and AbstractPlayerCommand. Enhanced readability and corrected terminology for command arguments.
Added details about command arguments and variants.
Big update to command tab to include a lot of new information.
Contributor
Author
|
Okay, I added a ton of updates this time along with lots of examples. I linked to TroubleDev's video at the bottom as that's where most of this info was taken from. I don't know if thats the best way to set it up. I did test everything in my local game though. |
Expanded explanation of the AbstractTargetEntityCommand class and provided a code example for executing commands on targeted entities. Clarified the example layout for command collections.
Contributor
|
Approved by ItsNeil17 on discord |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add command argument types and details for required and optional arguments.
Pull Request
Description
Update the
AddingArgumentssection to include the different methods that are possible to add different arg types.Type of Change
Screenshots
Checklist
bun run devbun audit(no critical vulnerabilities)Thank you for contributing!