public static function init() { if (self::$serverTickTimer instanceof TimingsHandler) { return; } self::$serverTickTimer = new TimingsHandler("** Full Server Tick"); self::$playerListTimer = new TimingsHandler("Player List"); self::$connectionTimer = new TimingsHandler("Connection Handler"); self::$tickablesTimer = new TimingsHandler("Tickables"); self::$schedulerTimer = new TimingsHandler("Scheduler"); self::$chunkIOTickTimer = new TimingsHandler("ChunkIOTick"); self::$timeUpdateTimer = new TimingsHandler("Time Update"); self::$serverCommandTimer = new TimingsHandler("Server Command"); self::$worldSaveTimer = new TimingsHandler("World Save"); self::$permissibleCalculationTimer = new TimingsHandler("Permissible Calculation"); self::$permissionDefaultTimer = new TimingsHandler("Default Permission Calculation"); self::$entityMoveTimer = new TimingsHandler("** entityMove"); self::$tickEntityTimer = new TimingsHandler("** tickEntity"); self::$activatedEntityTimer = new TimingsHandler("** activatedTickEntity"); self::$tickTileEntityTimer = new TimingsHandler("** tickTileEntity"); self::$timerEntityBaseTick = new TimingsHandler("** livingEntityBaseTick"); self::$timerEntityAI = new TimingsHandler("** livingEntityAI"); self::$timerEntityAICollision = new TimingsHandler("** livingEntityAICollision"); self::$timerEntityAIMove = new TimingsHandler("** livingEntityAIMove"); self::$timerEntityTickRest = new TimingsHandler("** livingEntityTickRest"); self::$processQueueTimer = new TimingsHandler("processQueue"); self::$schedulerSyncTimer = new TimingsHandler("** Scheduler - Sync Tasks", PluginManager::$pluginParentTimer); self::$playerCommandTimer = new TimingsHandler("** playerCommand"); }