Commands
Main Command: /oj
This command is used to manage JavaScript scripts within the OpenJS plugin.
Subcommands
Help:
Usage:
/oj help
Description: Displays the usage and description of available subcommands.
Version:
Usage:
/oj version
Description: Displays the version of this plugin.
Reload:
Usage:
/oj reload
or/oj reload <script>
Description: Reloads all scripts and the config file. If a script name is specified, reloads only that script.
Load:
Usage:
/oj load <script>
Description: Loads the specified script. The script must not be disabled.
Enable:
Usage:
/oj enable <script>
Description: Enables and loads the specified script.
Disable:
Usage:
/oj disable <script>
Description: Disables and unloads the specified script.
List:
Usage:
/oj list
or/oj list enabled
,/oj list disabled
,/oj list not_loaded
Description: Lists all scripts. Optionally, lists only enabled, disabled, or not loaded scripts.
Permissions:
openjs.use
Allows using all OpenJS commands
That's actually it 😅
Last updated