mirror of
https://github.com/runelite/plugin-hub.git
synced 2026-05-16 12:41:16 -04: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
110 B
110 B