Code Monkey home page Code Monkey logo

runelite-watchdog's Introduction

Guard_dog_resize

Watchdog

Plugin Hub Discord

ko-fi

Create custom alerts triggered by

  • Game Messages (supports glob pattern or regex)
  • Player Chat Messages (supports glob pattern or regex)
  • Stat Drain/Change
  • Sound Fired (trigger on a sound effect playing)
  • Notifications (supports glob pattern or regex. allows you to hook into existing notifications, even if you have the alerts off in Runelite. For example low prayer, idle, tempoross, etc)
  • Inventory Changes
  • Object/Item/NPC Spawned
  • XP Drop
  • Location

with any amount of unique notification types like

  • Game Message
  • Screen Flash
  • Custom Sound
  • In-Game Sound Effect
  • Text to Speech (Now supports using Eleven Labs)
  • Tray Notification
  • Overhead Text
  • Overlay
  • Dismiss Overlay
  • Screen Marker
  • Request Focus
  • RuneLite Notification (to trigger things like RL Tray Notifications)

You can set defaults for the notifications in the plugin config

For more information on trigger and notification types, see the wiki.

NOTE: Alerts will not fire in boss areas.

Recommended RuneLite Notification Settings

image

Request Focus should be set to Off otherwise you will get some wrong behaviors with your background notifications.

Examples

Attack Drained Example Harvest Example

Alert Hub

Add alerts other users have shared directly from the panel! You can check out the alert hub branch to learn how to upload your own.

image

Capture Groups

Capture groups can make your alerts dynamic by changing the output depending on what triggered the alert.

Any trigger with a text input can use {} to create a capture group around the text inside it. You can then use the captured text in your alert output by writing $1. Multiple brackets can be read sequentially with $2, $3 etc. This is useful when using glob glob, since the text that was globbed can now be captured with {*}.

Say you have a Notification Fired Alert with the Message set to Your {*} is ready to harvest in {*}. You could then have a TTS notification set to Go get your $1 in $2! which would make it say something like Go get your Ranarr in Ardougne!.

Another useful output is as the file name for a sound notification. With the above example, we could set the alert to play $1.wav, which would actually play other files in the same folder such as ranarr.wav and torstol.wav. To set this up, you have to include and select a dummy file $1.wav in the folder with the files you wish to use, even though the file itself will not be played.

With regex enabled, you instead use parenthesis () to surround the text you wish to capture.

Attribution

This project uses the JACo MP3 Player to play mp3 files. Its source can be found here and is licensed under LGPL which you can find here or otherwise here.

runelite-watchdog's People

Contributors

adamk33n3r avatar bram91 avatar cheesycracks avatar creativetechguy avatar jleavell avatar pajlada avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.