Added /tpaall command
YAML:tpaall-usage: "&#e6b8aaᴜѕᴀɢᴇ: &#A5D8FF/ᴛᴘᴀᴀʟʟ" tpaall-sent: "&#e6b8aaѕᴇɴᴛ &#A5D8FFᴛᴇʟᴇᴘᴏʀᴛ ᴀʟʟ &#e6b8aaʀᴇǫᴜᴇѕᴛ ᴛᴏ &#A5D8FF%count% &#e6b8aaᴘʟᴀʏᴇʀѕ" tpaall-sent-timeout: "\n &#e6b8aaᴛʜᴇʏ ʜᴀᴠᴇ &#A5D8FF%time% &#e6b8aaѕᴇᴄᴏɴᴅѕ ᴛᴏ ᴀᴄᴄᴇᴘᴛ" tpaall-received: "&#e6b8aaʀᴇᴄᴇɪᴠᴇᴅ &#A5D8FFᴛᴇʟᴇᴘᴏʀᴛ ᴀʟʟ &#e6b8aaʀᴇǫᴜᴇѕᴛ ʙʏ &#A5D8FF%player%" tpaall-received-timeout: "\n &#e6b8aaʏᴏᴜ ʜᴀᴠᴇ &#A5D8FF%time% &#e6b8aaѕᴇᴄᴏɴᴅѕ ᴛᴏ ᴀᴄᴄᴇᴘᴛ" tpaall-no-players: "&#e6b8aaɴᴏ ᴏᴛʜᴇʀ ᴘʟᴀʏᴇʀѕ ᴏɴʟɪɴᴇ ᴛᴏ ѕᴇɴᴅ ʀᴇǫᴜᴇѕᴛѕ ᴛᴏ." tpaall-expired-sender: "&#e6b8aaʏᴏᴜʀ ᴛᴘᴀᴀʟʟ ʀᴇǫᴜᴇѕᴛ ʜᴀѕ ᴇxᴘɪʀᴇᴅ." tpaall-expired-receiver: "&#e6b8aaᴛʜᴇ ᴛᴘᴀᴀʟʟ ʀᴇǫᴜᴇѕᴛ ꜰʀᴏᴍ &#A5D8FF%player% &#e6b8aaʜᴀѕ ᴇxᴘɪʀᴇᴅ." tpaall-accepted-count: "&#A5D8FF%count% &#e6b8aaᴘʟᴀʏᴇʀѕ ᴀᴄᴄᴇᴘᴛᴇᴅ ʏᴏᴜʀ ᴛᴘᴀᴀʟʟ ʀᴇǫᴜᴇѕᴛ."
PlaceholderAPI Integration
- Added support for PlaceholderAPI with the new placeholder: %crystaltpa_tptoggle_status%
- Perfect for integrating with menu systems, GUIs, and scoreboard displays
- Shows colored "Enabled" or "Disabled" text based on a player's teleport toggle status
Persistent Player Settings
- Player TPA toggle preferences are now saved between sessions
- Data is stored efficiently in individual UUID-based JSON files
- Automatic caching system for improved performance
Customizable Status Display
- Fully customize the appearance of toggle status text in config.yml
- Separate color and text options for both enabled and disabled states
- Supports hex color codes (#RRGGBB) for perfect theme matching
Technical Improvements
- Optimized data handling with asynchronous read/write operations
- Enhanced code structure with dedicated PlayerDataManager
- Backward compatible with existing configurations
- Improved error handling for more stable operation
Upgrade Instructions
- Simply replace your existing JAR file with the new version
- config changes required
Code:messages: tptoggle-status-enabled: "�FF00Enabled" tptoggle-status-disabled: "&#FF0000Disabled"- Restart your server to apply changes
PlaceholderAPI is required for placeholder functionality (but optional for core features)
As always, thank you for using Crystal-TPA! If you encounter any issues or have suggestions for future updates, please don't hesitate to reach out in the discussion section.
Happy teleporting!
restructured whole plugin
added teleport async for optimization
Removed Check location checks
