Skip to content

2. Developer Mode

Burak edited this page Jan 7, 2025 · 2 revisions

Launching Storm 2 in Dev Mode

Upon compiling your plugins to JAR files, you may test your plugins by launching Storm 2 in developer mode. Follow below steps to do so.

  1. Right click and copy the absolute path to your plugins project image

  2. Create a .bat or .sh file on your desktop image

  3. Edit the file in Notepad and add the following lines:

set PLUGIN_DEVELOPMENT_PATH=<the path you just copied>
C:\Users\<your username>\AppData\Local\RuneLite\RuneLite.exe --debug

I like to add the --debug flag in order to see detailed logs when developing. It is not necessary however. Your .bat or .sh file should look like this:

image

Save the file and close Notepad.

  1. Double click the file you just created to launch RuneLite (Storm 2) in Dev Mode.

  2. Click the Plugins tab to view your plugins. image

  3. If you made changes to your plugin code and would like to refresh it in the client, make sure to build your project again in IntelliJ, and press the Hotswap button next to the plugin name. This will hotswap your plugin and reload it with your latest changes.

image

Clone this wiki locally