LeavePartyAddon

Simplifies leaving groups with a movable button that appears in instances. Customize its position, get auto-sized text, and send greeting/farewell messages. Easily move the button with right-click and lock/unlock with shift-right-click.

File Details

v1.1.2

  • R
  • Sep 13, 2024
  • 154.95 KB
  • 99
  • 11.0.5
  • Retail

File Name

LeavePartyAddon.zip

Supported Versions

  • 11.0.5

Changelog v1.1.2 (2024-09-13)

  • Added: Improved functionality to distinguish between standard groups and instance groups, sending messages to the appropriate chat type.
  • Added: Greeting text will not be posted again upon entering a group and using /reloadui.
  • Fixed: Chat filter now activates only when in a group and deactivates 5 seconds after leaving a group. Added a check for an existing active filter.
  • Added: Chat filter to block specific system messages related to group status, such as "You are not in a group," to maintain a cleaner chat experience.
  • Enhanced: Optimized the addon for normal groups, including Mythic dungeons, and made it usable for these types of groups.
  • Initial Release: Basic functionality for leaving a party and sending messages.
  • Added: Greeting and farewell messages based on localization (German, French, English).
  • Added: Button for leaving the party with customizable tooltip and position-saving features.
  • Added: System to handle the button visibility based on the player's group status.
  • Added: Slash command /lpa for button management (show, hide, status, help).

Changelog v1.1.0:

New Features:

  • Added French Translations

Changelog v1.0.3:

  • Position Settings Optimization: SaveButtonPosition(): Updated to save only the relevant position elements (point, relativePoint, xOfs, yOfs). The relativeTo value is now set to UIParent as a default to reduce the size of the saved data.
  • RestoreButtonPosition(): Revised to ensure only the relevant information is used. The relativeTo value is checked and set to UIParent if necessary.
  • Command Handling Enhancements:
  • Added functionality to the /lpa command to provide feedback on the button’s lock status.
  • /lpa status: Displays whether the button is currently locked or unlocked.
  • /lpa help: Displays a help message with usage instructions for the /lpa command.
  • Bug Fixes:
  • Fixed issues with restoring the button position by removing additional, unnecessary data from the saved position.
  • Ensured that the /lpa command displays accurate information and help messages.

Changelog v1.0.2:

  • Fixed an issue where the "Leave Party" button's position was not properly saved across sessions.
  • Button position is now consistently restored after reloading the UI (/reload command).
  • Debug messages removed for a cleaner user experience.