Function getExports

  • Get the exports of a plugin.

    Parameters

    • id: string

      Plugin ID

    Returns PluginExports | undefined

    Exports of the plugin.

    Remarks

    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").

Generated using TypeDoc