Skip to content

Comments

Update Stopwatch-Timer plugin#10685

Open
pr0f3ss wants to merge 4 commits intorunelite:masterfrom
pr0f3ss:update/stopwatch-timer
Open

Update Stopwatch-Timer plugin#10685
pr0f3ss wants to merge 4 commits intorunelite:masterfrom
pr0f3ss:update/stopwatch-timer

Conversation

@pr0f3ss
Copy link
Contributor

@pr0f3ss pr0f3ss commented Feb 21, 2026

Stopwatch & Timer Plugin — UI Overhaul + New Features

This PR brings a visual redesign of the plugin panel along with several quality-of-life improvements to both the stopwatch and countdown timer.

New Features

Countdown Timer

  • Replaced the free-text mm:ss input field with separate minute and second spinners, eliminating the need for manual formatting and making input less error-prone
  • Last used timer value now persists across sessions via ConfigManager
  • Added a Birdhouse Run built-in preset (50 minutes)
  • Rearranged built-in presets: Cerberus and Birdhouse Run on the first row, Inferno 1st Set and Inferno 2nd Set on the second row

Custom Presets

  • Users can now create their own named timer presets using separate minute/second spinners
  • Custom presets persist across sessions via ConfigManager, stored as a pipe-delimited string
  • Presets are capped at 10 to keep the panel height predictable
  • Clicking a preset row loads it into the timer; each preset has an individual delete button
  • The add-preset form uses a two-line layout: name field on the first line, time inputs and add button on the second

Soundplayer Update

  • Replaced custom SoundPlayer implementation using javax.sound with RuneLite's native AudioPlayer API

UI Changes

  • Refreshed dark theme with consistent colours and hover states throughout
  • Timer and countdown displays increased in size for better readability
  • Stopwatch buttons now take their natural height instead of stretching to fill the panel
  • Section dividers added for Built-in Presets and Custom Presets
  • Panel background kept transparent to respect the default RuneLite theme
  • All fonts use RuneLite's built-in FontManager

Config

  • Added lastTimerMin, lastTimerSec, and customPresets config keys (all hidden = true, managed by the plugin)
  • Removed the old lastTimerValue string key in favour of the split min/sec keys

@runelite-github-app
Copy link

runelite-github-app bot commented Feb 21, 2026

@runelite-github-app
Copy link

runelite-github-app bot commented Feb 21, 2026

Internal use only: Reviewer details Maintainer details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant