Skip to content

Conversation

@BlastSlimey
Copy link

What this PR does

Adds an optional argument to the ModExtensions.RegisterConsoleCommand() function that determines whether the command name should be prefixed with the mod's assembly name.

Why?

In some cases, adding a rather long assembly name to the command name is rather inconvenient, especially when the mod requires the user to frequently use its commands.

Disclaimer

Since this was a very quick 6 lines edit done in the web browser, I did not test this in the slightest.

@Raphdf201 Raphdf201 merged commit 8a7ce28 into Raphdf201:master Dec 13, 2025
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