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.0.3

  • R
  • Sep 6, 2024
  • 154.44 KB
  • 12
  • 11.0.2
  • Retail

File Name

LeavePartyAddon.zip

Supported Versions

  • 11.0.2

Changelog v1.0.3:

 

1. 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.

 

 

 

 

2. 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.

 

 

3. 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.

 

Position Settings Optimization: Aimed at improving data management efficiency by simplifying the saved position elements and ensuring that only necessary information is used for restoration.

Command Handling Enhancements: Added clear and functional commands for better user interaction and management of the button’s state.