Skip to content

Running Plugin From Source

Matthew Thornton edited this page Apr 28, 2021 · 7 revisions

Download & Install the Java SDK

Visit this page from Oracle to find the Java Standard Development Kit installation instructions for your operating system:

Java SDK Installation Instructions

Install the Intellij IDEA IDE

The Community Edition is more than sufficient for our purposes. It is free to download and use. Click Here to Download Intellij IDEA Community Edition

Clone The Plugin Repo

Go ahead and open Intellij IDEA. Select Get From VCS (version control system) in the top-right corner of the welcome screen.

intellij idea welcome screen

Make sure that your version control software is set to Git. Paste our GitHub repository's URL (https://github.com/Bot-detector/bot-detector) into the URL field, and if desired select a custom directory for the files to be placed into. Cloning Git Repo in Intellij IDEA

Launching RuneLite With the Plugin

On the left side of the Intellij window, select the Project tab if it is not already highlighted. Use the file tree explorer to navigate to (folder names are in bold) src -> test -> java -> com.botdetector where you will see a file named BotDetectorPluginTest.java. Right-click on this file and select Run 'BotDetectorPluginTest.main()'. Provided that you have RuneLite installed on your system you should see your client launch.

Launching RuneLite from Intellij

After doing this once you may simply click the green arrow icon in the top-right corner of the window to launch the client, or alternatively you can use the keyboard shortcut Shift+F10.