In Game Commands - trethore/MQS GitHub Wiki
While the GUI is great for general management, My QOL Scripts (MQS) also provides a comprehensive set of chat commands for quick and direct control. All MQS commands are client-side, meaning they won't be sent to the server and won't be seen by other players.
All MQS commands start with /mqs
. The general structure is:
/mqs <sub-command> [arguments...]
The base command with no arguments.
- Action: Opens the main script management GUI.
-
Alias:
/mqs screen allscripts
- Action: Checks for new versions of the MQS mod itself on GitHub. If an update is found, it will display the changelog and begin downloading the new version. The update will be applied the next time you restart Minecraft.
- Note: This command cannot be used in a development environment.
These commands allow you to manage your scripts directly from chat. They are especially useful for keybinds or automated systems.
- Action: Prints a list of all available scripts and their current status (enabled/disabled) directly into your chat.
- Action: Enables a script.
-
Argument:
-
script_id
: The ID of the script you want to enable. The ID is the script's filename and its module name, joined by a colon (e.g.,my-script.js:My Cool Script
). You can use tab-completion to see a list of disabled scripts.
-
-
Example:
/mqs script enable "auto-sprint.js:Auto Sprint"
- Action: Disables a currently running script.
-
Argument:
-
script_id
: The ID of the script to disable. Tab-completion will suggest currently running scripts.
-
- Action: A shortcut for disabling and then immediately re-enabling a script. This is useful for reloading a script after you've saved changes to its file.
-
Argument:
-
script_id
: The ID of the script to reload.
-
- Action: Rescans the scripts folder and disables all currently running scripts. This is useful if you have added or removed script files and want to start fresh.
- Action: Rescans the scripts folder and then attempts to re-enable all scripts that were running before the refresh. This is the same action performed by the "Refresh" button in the GUI.
- Action: Manually saves the configuration for a specific running script.
-
Argument:
-
script_id
: The ID of the script whose config you want to save.
-
- Action: Saves the configurations for all currently running scripts. This is done automatically when you close the game, but can be triggered manually if needed.
These commands provide direct access to the various MQS screens.
-
/mqs screen allscripts
- Opens the main script list GUI. -
/mqs screen moreoptions
- Opens the "More Options" screen. -
/mqs screen keybinds
- Opens the keybind configuration screen. -
/mqs screen settings
- Opens the MQS settings screen. -
/mqs screen console
- Opens the MQS console interface.
For even more advanced control, check out the MQS Console, which has its own set of commands.
➡️ Next Step: The MQS Console