Custom PlaceholderAPI Expansion: Create a plugin that provides average ping placeholders for specific worlds. Dynamic Placeholders: Generate placeholders in the format %avg_<worldname>% (e.g., %avg_smp1%, %avg_smp2%, etc.). Averaging Logic: For a given world, the plugin must calculate the sum of all online players' pings in that world and divide it by the player count. Null Handling: If no players are online in a specific world, the placeholder should return "0" or "N/A" to avoid errors. Optimized Performance: Use a cached task or an efficient loop to calculate averages, ensuring it doesn't lag the main server thread.