Skip to content

refactor: list all argument types for commands#307

Merged
oskarscot merged 29 commits intoHytaleModding:mainfrom
jacobwojoski:main
Jan 22, 2026
Merged

refactor: list all argument types for commands#307
oskarscot merged 29 commits intoHytaleModding:mainfrom
jacobwojoski:main

Conversation

@jacobwojoski
Copy link
Copy Markdown
Contributor

Add command argument types and details for required and optional arguments.

Pull Request

Description

Update the AddingArguments section to include the different methods that are possible to add different arg types.

Type of Change

  • Documentation fix (typo, grammar, clarification)
  • New documentation (guide, tutorial, page)
  • Bug fix
  • New feature
  • Other

Screenshots

image

Checklist

  • Tested locally with bun run dev
  • Ran bun audit (no critical vulnerabilities)
  • Checked spelling and grammar
  • Verified all links work
  • Followed Contributing Guidelines

Thank you for contributing!

Add command argument types and details for required and optional arguments.
@jacobwojoski jacobwojoski changed the title [Feature] Add full list of methods that commands can use fix: Add full list of methods that commands can use Jan 21, 2026
Copy link
Copy Markdown
Contributor

@oskarscot oskarscot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide actual examples for these args

@oskarscot oskarscot changed the title fix: Add full list of methods that commands can use refactor: list all argument types for commands 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.
@jacobwojoski
Copy link
Copy Markdown
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.
@oskarscot oskarscot merged commit 93fe346 into HytaleModding:main Jan 22, 2026
@oskarscot
Copy link
Copy Markdown
Contributor

Approved by ItsNeil17 on discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants