Gets the filesystem directory of the currently executing plugin.
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 SchoolRunescape\Plugins\GetPluginDirectoryosrs.print(osrs.getPluginDirectory()); Copy
-- For this example the plugin "GetPluginDirectory" is ran on a windows computer-- Prints: C:\Users\<User ID>\AppData\Local\Jagex\Old SchoolRunescape\Plugins\GetPluginDirectoryosrs.print(osrs.getPluginDirectory());
Gets the filesystem directory of the currently executing plugin.