Skip to content

RuneLite-style sidebar library for TRiBot scripts — runtime tracking, skill XP, loot grid with item icons

Notifications You must be signed in to change notification settings

SkrrtNick/tribot-echo-sidebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

EchoSidebar

A utility for TRiBot using the Tribot echo sidebar in scripts.

Features

  • Runtime Tracker — live elapsed time display
  • Skill Tracker — auto-detects XP gains across all skills, shows XP/hr
  • Loot Grid — item icons in a compact grid with OSRS-style quantity overlays and GP total
  • Themes — Dark, Light, and OSRS built-in themes
  • Kotlin DSL — declarative sidebar builder

Quick Start

val sidebar = echoSidebar("My Script") {
    theme = EchoTheme.DARK
    runtime()
    skillTracker()
    lootTracker()
    section("Status") {
        row("State") { currentState }
    }
}
sidebar.open()

// In your main loop:
sidebar.addLoot(itemId = 554, quantity = 50) // Fire rune
sidebar.update()

Installation

Copy the src/scripts/echosidebar/ directory into your TRiBot script project's source tree.

Components

Runtime Tracker

Displays elapsed script runtime in H:MM:SS format.

Skill Tracker

Tracks XP gains across skills. Call skillTracker() with no arguments to auto-detect all skills, or pass specific skills:

skillTracker(Skill.MINING, Skill.SMITHING)

Loot Tracker

Displays collected items as a grid of 36x32 icons fetched from RuneLite's cache. Prices come from the TRiBot SDK's Pricing API.

Quantity overlay text follows OSRS conventions:

  • Yellow for < 100K
  • White for 100K-9.99M
  • Green for 10M+

Custom Sections

Add arbitrary label/value rows:

section("Banking") {
    row("Trips") { tripCount.toString() }
    row("GP/hr") { formatNumber(gpPerHour) }
}

Themes

Theme Description
EchoTheme.DARK Dark background, teal accents
EchoTheme.LIGHT Light background, muted accents
EchoTheme.OSRS Old School-styled brown/gold

About

RuneLite-style sidebar library for TRiBot scripts — runtime tracking, skill XP, loot grid with item icons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages