replugged

    Function getExports

    • Get the exports of a plugin.

      Parameters

      • id: string

        Plugin ID

      Returns undefined | PluginExports

      Exports of the plugin.

      This is primarily intended to shorten plaintext patches that need to access exported functions or variables from their respective plugins. Instead of writing replugged.plugins.plugins.get("id.here").exports, developers can write replugged.plugins.getExports("id.here").

    MMNEPVFCICPMFPCPTTAAATR