- Thread Author
- #1
Hey guys, i have a very base level knowledge of all of this, and im just trying to play around and learn, figured runemate would be the best platform to try. I have literally spent HOURS trying to set up Intellij properly so i can deploy a very basic bot script, but i just keep running into erros (like i said im a noob)
Can some legend please explain how I set up intellij properly? What ive tried so far:
Making sure im using Java 8
importing what i 'think' is the runemate sdk into my project (file name is just java.exe located in my bin folder, within temp)
and writing out the dependencies for the build kit as well as a simple script that just cuts some logs and banks them.
this is my build kit code:
plugins {
kotlin("jvm") version "1.8.20"
id("org.jetbrains.compose") version "1.4.0"
}
repositories {
mavenCentral()
maven {
url = uri("https://repo.runemate.com/releases")
credentials {
password = "rmp_yTaPqgL0YKlfiZODeVAEmwvAZRBU8N2rWmkU"
}
}
}
dependencies {
implementation("com.runemate.game.api:runemate-api:1.0.0")
implementation("com.runemate.game.api:runemate-framework:1.0.0")
}
group = "com.mycompany"
version = "1.0-SNAPSHOT"
tasks.withType<JavaCompile> {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
and this is my build code:
import com.runemate.game.api.script.framework.task.TaskScript;
import com.runemate.game.api.script.framework.task.TaskScriptManifest;
import com.runemate.game.api.script.framework.task.Task;
import com.runemate.game.api.script.framework.tree.TreeTask;
import com.runemate.game.api.script.framework.tree.TreeTaskNode;
import com.runemate.game.api.script.framework.tree.TreeTaskScript;
import com.runemate.game.api.script.framework.tree.TreeTask;
import com.runemate.game.api.client.input.Mouse;
import com.runemate.game.api.script.framework.frameworkbot;
@TaskScriptManifest(name = "MyWoodcuttingBot", desc = "Cuts wood and banks it at Draynor village.", version = 1.0)
public class MyWoodcuttingBot extends TaskScript {
@Override
public void onStart() {
System.out.println("Starting the Woodcutting Bot!");
}
@Override
public void onStop() {
System.out.println("Stopping the Woodcutting Bot!");
}
@Override
public TreeTask<?> getRootTask() {
return new WoodcuttingTask();
}
public class WoodcuttingTask extends TreeTask {
@Override
public boolean validate() {
return true;
}
@Override
public void execute() {
// Perform the action (e.g., cutting a willow tree)
System.out.println("Cutting willow trees!");
}
}
// Additional tasks for banking and equipment checks can go here
}
ive tried to get chatgpt to help me but i feel like maybe AI has made it worse lol. Like i said im a complete noob, but this stuff really interests me and im keen to give it a red hot crack. any help would be absolutely awesome. Ill attach a photo of my folder layout also. TIA

Can some legend please explain how I set up intellij properly? What ive tried so far:
Making sure im using Java 8
importing what i 'think' is the runemate sdk into my project (file name is just java.exe located in my bin folder, within temp)
and writing out the dependencies for the build kit as well as a simple script that just cuts some logs and banks them.
this is my build kit code:
plugins {
kotlin("jvm") version "1.8.20"
id("org.jetbrains.compose") version "1.4.0"
}
repositories {
mavenCentral()
maven {
url = uri("https://repo.runemate.com/releases")
credentials {
password = "rmp_yTaPqgL0YKlfiZODeVAEmwvAZRBU8N2rWmkU"
}
}
}
dependencies {
implementation("com.runemate.game.api:runemate-api:1.0.0")
implementation("com.runemate.game.api:runemate-framework:1.0.0")
}
group = "com.mycompany"
version = "1.0-SNAPSHOT"
tasks.withType<JavaCompile> {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}
and this is my build code:
import com.runemate.game.api.script.framework.task.TaskScript;
import com.runemate.game.api.script.framework.task.TaskScriptManifest;
import com.runemate.game.api.script.framework.task.Task;
import com.runemate.game.api.script.framework.tree.TreeTask;
import com.runemate.game.api.script.framework.tree.TreeTaskNode;
import com.runemate.game.api.script.framework.tree.TreeTaskScript;
import com.runemate.game.api.script.framework.tree.TreeTask;
import com.runemate.game.api.client.input.Mouse;
import com.runemate.game.api.script.framework.frameworkbot;
@TaskScriptManifest(name = "MyWoodcuttingBot", desc = "Cuts wood and banks it at Draynor village.", version = 1.0)
public class MyWoodcuttingBot extends TaskScript {
@Override
public void onStart() {
System.out.println("Starting the Woodcutting Bot!");
}
@Override
public void onStop() {
System.out.println("Stopping the Woodcutting Bot!");
}
@Override
public TreeTask<?> getRootTask() {
return new WoodcuttingTask();
}
public class WoodcuttingTask extends TreeTask {
@Override
public boolean validate() {
return true;
}
@Override
public void execute() {
// Perform the action (e.g., cutting a willow tree)
System.out.println("Cutting willow trees!");
}
}
// Additional tasks for banking and equipment checks can go here
}
ive tried to get chatgpt to help me but i feel like maybe AI has made it worse lol. Like i said im a complete noob, but this stuff really interests me and im keen to give it a red hot crack. any help would be absolutely awesome. Ill attach a photo of my folder layout also. TIA
