OSRS Plugin API
    Preparing search index...

    Function getPluginDirectory

    • Gets the filesystem directory of the currently executing plugin.

      Returns string

      The filesystem directory of the currently executing plugin.

      -- For this example the plugin "GetPluginDirectory" is ran on a windows computer
      -- Prints: C:\Users\<User ID>\AppData\Local\Jagex\Old School
      Runescape\Plugins\GetPluginDirectory
      osrs.print(osrs.getPluginDirectory());