mirror of
https://github.com/runelite/plugin-hub.git
synced 2025-12-23 14:39:11 -05:00
* Create Obelisk-Protection This commit implements a RuneLite plugin that protects players from accidentally using their POH Wilderness Obelisk when carrying valuable items. Key features include: - Wealth-based protection system that calculates risk excluding 3 most valuable items - Configurable wealth threshold (default 1M GP) - Ground markers indicating when protection is active - Customizable marker colors - Removes dangerous menu options when protection is active Core files: - ObeliskProtectionPlugin.java: Main plugin logic - ObeliskProtectionConfig.java: Configuration interface - ObeliskProtectionGroundOverlay.java: Ground marker rendering - README.md: Plugin documentation * Rename Obelisk-Protection to obelisk-protection * Update obelisk-protection * Update obelisk-protection - Fixed "Protection Active" text appearing outside POH - Added isInPOH() check to verify POH obelisk presence - updated how the overlay is being displayed. now shows it only while obelisk is being moused over - fixed how stackable items were being handled for wealth calculation and potentially losing it in the wilderness * Update obelisk-protection Changed how I am checking house region * Update obelisk-protection Add event handlers for GameObjectSpawned and GameObjectDespawned to track when the POH obelisk appears or disappears Store the obelisk GameObject in a field instead of searching for it every time Remove the inefficient findObelisk() method that was searching every tile Update onMenuEntryAdded to use the tracked obelisk instead of searching for it
3 lines
110 B
Plaintext
3 lines
110 B
Plaintext
repository=https://github.com/Car-Role/Obelisk-Protection.git
|
|
commit=cb3a530f01adbff26d3f4fc6258802aeb85f0f83
|