Conversation
|
While it's fun to see you use twitch4j, I don't think you will realistically get that added as a validated dependency. Consider looking at how the Core Twitch plugin connects with Twitch, or the OSRS Live Loadout Plugin uses Twitch's EventSub API https://github.com/pepijnverburg/osrs-runelite-twitch-live-loadout-plugin |
|
This plugin requires a review from a Plugin Hub maintainer. The reviewer will request any additional changes if needed. Internal use only: Reviewer details Maintainer details |
|
@pajlada Thanks for the advice! I've removed Twitch4J and refactored the plugin to use a native OkHttpClient WebSocket connection instead. The code builds cleanly now, but it looks like the Hub Checks are waiting for a maintainer review. Let me know if you need me to adjust anything else! |
|
Looks good @BionicHusky - no further action required from you now until someone can take a more thorough review of your plugin. |
Plugin Name: Drop It
Description: A Twitch chat integration plugin designed for streamers that enforces a "drop your weapon" penalty game.
Features:
Chat Integration: Listens to a specified Twitch channel for the !dropit command. Includes a configurable "Allowed Bot Name" whitelist so streamers can link it securely to Channel Point redemptions via their stream bot without chat trolls spamming it.
The Warning (5 Seconds): When triggered, plays the Armadyl Crossbow sound effect (ID 2277) and draws a pulsing red overlay with a 5-second countdown timer.
The Penalty (60 Seconds): When the 5-second timer ends, the plugin checks the player's weapon slot. If a weapon is equipped, it draws a blackout box and a giant 🤡 emoji over the inventory interface for 60 seconds.
Dynamic Check: The penalty dynamically disappears if the player unequips the weapon, but instantly returns if they re-equip a weapon before the 60-second window expires.
Compliance:
This plugin is purely visual/audio. It only reads chat events and equipment slots, and only renders graphical overlays. It does not automate any mouse movements, clicks, or in-game actions.