Skip to content

Comments

Add Drop It plugin#10706

Open
BionicHusky wants to merge 8 commits intorunelite:masterfrom
BionicHusky:master
Open

Add Drop It plugin#10706
BionicHusky wants to merge 8 commits intorunelite:masterfrom
BionicHusky:master

Conversation

@BionicHusky
Copy link

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.

@runelite-github-app
Copy link

runelite-github-app bot commented Feb 23, 2026

@pajlada
Copy link
Contributor

pajlada commented Feb 23, 2026

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

@runelite-github-app
Copy link

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

@BionicHusky
Copy link
Author

@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!

@pajlada
Copy link
Contributor

pajlada commented Feb 23, 2026

Looks good @BionicHusky - no further action required from you now until someone can take a more thorough review of your plugin.

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.

2 participants