Commands

Main Command: /oj

  • This command is used to manage JavaScript scripts within the OpenJS plugin.

Subcommands

  1. Help:

    • Usage: /oj help

    • Description: Displays the usage and description of available subcommands.

  2. Version:

    • Usage: /oj version

    • Description: Displays the version of this plugin.

  3. 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.

  4. Load:

    • Usage: /oj load <script>

    • Description: Loads the specified script. The script must not be disabled.

  5. Enable:

    • Usage: /oj enable <script>

    • Description: Enables and loads the specified script.

  6. Disable:

    • Usage: /oj disable <script>

    • Description: Disables and unloads the specified script.

  7. 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:

  1. openjs.use

    • Allows using all OpenJS commands

That's actually it 😅

Last updated