Core API package for BotWIthUs providing essential interfaces and utilities for game interaction.
- Component System: Robust interface component handling
- Interface Navigation: Tools for detecting and interacting with game interfaces
- Event Handling: System for managing game events and interface updates
- Cache Management: Access to game cache and assets
- Game State Tracking: Monitor and respond to client states
- UI Components: Interface with game UI elements
- Bot Module Framework: Create modular bot components with
@BotModuleInfo - Script Management: Script organization with
@Infoannotation - Workspace Integration: Tools for managing bot workspaces
- Logging System: Built-in logging capabilities
- Service Management: Service loader integration
- Configuration: Properties-based configuration system
- Java 22
- Gradle build tool
Add the BotWithUs repository to your build.gradle.kts:
repositories {
maven {
url = uri("https://nexus.botwithus.net/repository/maven-public/")
}
}
dependencies {
implementation("net.botwithus:api:latest.release")
}Creating a Bot Module:
@BotModuleInfo(
name = "MyModule",
author = "YourName",
description = "Module description",
version = "1.0"
)
public class MyModule implements BotModule {
@Override
public void run() {
// Module logic here
}
@Override
public boolean isVisible() {
return true;
}
@Override
public void setVisible(boolean visible) {
// Visibility logic
}
@Override
public void enable() {
// Enable logic
}
@Override
public void disable() {
// Disable logic
}
}net.botwithus.rs3: Core RS3 game integrationnet.botwithus.rs3.interfaces: Interface and component managementnet.botwithus.rs3.cache: Game cache access and managementnet.botwithus.modules: Bot module frameworknet.botwithus.scripts: Script managementnet.botwithus.ui: UI utilitiesnet.botwithus.util: Common utilities
We welcome contributions! Please ensure your code:
- Follows Java coding standards
- Includes appropriate documentation
- Includes unit tests where applicable