Every message, item name, and line of lore displayed in the GUIs is managed from here.
This file is the central text engine for CatzFly. Every message, item name, and line of lore displayed in the GUIs is managed from here. This system makes it incredibly easy to customize all text to match your server's theme or translate the plugin into different languages.
Key Concepts
1. Key-Based Structure
All text is stored using a hierarchical key system. Instead of writing text directly in other files, we reference these keys.
Example Structure:
profile-menu:# Top-level key for the menutitle:"&8» ᖾCCᴘʀᴏғɪʟᴇ"# Key for the menu's titleitems:# Section for the menu's itemssettings:# Key for a specific itemname:"&#FF5555&lsᴇᴛᴛɪɴɢs"# Key for the item's namelore:# Key for the item's lore-""-"&8▪ &7Click to configure your"-"&7 personal flight settings."
2. Placeholders
You can use placeholders to display dynamic information that changes for each player. These are automatically replaced with the correct values.
{player_name}: The player's name.
{free_flight_seconds}: The player's remaining free flight time.
{total_flight_time}: The player's total flight time.
{total_spent}: The total amount of money the player has spent on flight.
{current_page} / {total_pages}: Used in the title of paginated menus like the Effect Market.
Example with Placeholders:
3. Color Codes
All text values in this file support standard Minecraft color codes (&) and HEX color codes (&#RRGGBB) for full creative control.