[ 'App\Listeners\ResetInvalidTextureForPlayer', ], 'App\Events\TextureDeleting' => [ 'App\Listeners\TextureRemoved', ], 'App\Events\PluginWasEnabled' => [ 'App\Listeners\CopyPluginAssets', 'App\Listeners\GeneratePluginTranslations', ], 'plugin.versionChanged' => [ 'App\Listeners\CopyPluginAssets', 'App\Listeners\GeneratePluginTranslations', ], 'App\Events\PluginBootFailed' => [ 'App\Listeners\NotifyFailedPlugin', ], 'App\Events\RenderingHeader' => [ 'App\Listeners\SerializeGlobals', ], ]; /** * Register any other events for your application. * * @return void */ public function boot() { parent::boot(); if (option('enable_notfound_cache')) { Event::subscribe(Listeners\CachePlayerExists::class); } } }