Odezva pluginů/Kontrola lagů

Dneska vám prinášam menší návodik ako si môžete kontrolovať váš server bez pluginov.

Nastavenie
Pripojíte sa na váš FTP server... v koreňovej zložke (tam kde je craftbukkit,server.properties,mapy...) si nájdete súbor **bukkit.yml** otvoríte ho (najlepšie v notepad++ alebo pspad).

Nájdete si tam toto:

```
plugin-profiling: false

```

prepíšte to na:

```
 plugin-profiling: true

```

Uložíte reštartujete server... pripojíte sa a napíšte tento príkaz: **/timings merged**

Týmto
 príkazom sa vám v FTP vytvorí zložka "timings" kde nájdete súbor
timings.txt. V tomto súbore nájdete výpis pluginov, ktoré majú dlhú
odozvu (ako dlho im trvala nejaká reakcia/akcia)

Napríklad:

```
AutoMessage v2.4.0

    Total time 0 (0s)

WorldEdit v5.5.9-SNAPSHOT:2969-b3f2c10,master

    PluginEnableEvent Time: 657066 Count: 14 Avg: 46933

    PlayerCommandPreprocessEvent Time: 495594 Count: 8 Avg: 61949

    PlayerQuitEvent Time: 2727721 Count: 1 Avg: 2727721

    Total time 3880381 (0s)

PluginManager v1.2.1

    PluginEnableEvent Time: 110490 Count: 13 Avg: 8499

    Total time 110490 (0s)

Multiverse-Core v2.5-b678

    WorldLoadEvent Time: 28349273 Count: 1 Avg: 28349273

    PluginEnableEvent Time: 88766 Count: 12 Avg: 7397

    PluginEnableEvent Time: 74379 Count: 12 Avg: 6198

    PluginEnableEvent Time: 171949 Count: 12 Avg: 14329

    PlayerQuitEvent Time: 33663 Count: 1 Avg: 33663

    PlayerTeleportEvent Time: 407382 Count: 6 Avg: 67897

    PlayerJoinEvent Time: 788020 Count: 2 Avg: 394010

    CreatureSpawnEvent Time: 134177693 Count: 4898 Avg: 27394

    ThunderChangeEvent Time: 409760 Count: 9 Avg: 45528

    WeatherChangeEvent Time: 267281 Count: 7 Avg: 38183

    Total time 164768166 (0s)

PlayerHeads v3.8-jenkins-PlayerHeads-1-48-ged24b6b

    PlayerJoinEvent Time: 1603348 Count: 2 Avg: 801674

    Total time 1603348 (0s)

PermissionsEx v1.20.4

    PlayerQuitEvent Time: 47073 Count: 1 Avg: 47073

    PlayerQuitEvent Time: 72425 Count: 1 Avg: 72425

    PlayerQuitEvent Time: 1439151 Count: 1 Avg: 1439151

    PlayerJoinEvent Time: 27324985 Count: 2 Avg: 13662492

    PlayerLoginEvent Time: 9243913 Count: 2 Avg: 4621956

    PlayerLoginEvent Time: 42312364 Count: 2 Avg: 21156182

    PlayerLoginEvent Time: 10685 Count: 2 Avg: 5342

    Total time 80450596 (0s)

NametagEdit v2.1

    PlayerJoinEvent Time: 12269297 Count: 2 Avg: 6134648

    Total time 12269297 (0s)

Frame_Protector v1.2

    EntityDamageByBlockEvent Time: 606159 Count: 507 Avg: 1195

    Total time 606159 (0s)

WorldGuard v5.9

    ChunkLoadEvent Time: 3418655 Count: 1053 Avg: 3246

    PluginEnableEvent Time: 104412 Count: 7 Avg: 14916

    PlayerCommandPreprocessEvent Time: 439232 Count: 8 Avg: 54904

    PlayerQuitEvent Time: 2809927 Count: 1 Avg: 2809927

    PlayerMoveEvent Time: 23765586 Count: 642 Avg: 37018

    PlayerTeleportEvent Time: 5758553 Count: 6 Avg: 959758

    PlayerJoinEvent Time: 649942 Count: 2 Avg: 324971

    CreatureSpawnEvent Time: 6069248 Count: 4898 Avg: 1239

    ThunderChangeEvent Time: 137939 Count: 9 Avg: 15326

    WeatherChangeEvent Time: 67119 Count: 7 Avg: 9588

    PlayerLoginEvent Time: 57969 Count: 2 Avg: 28984

    EntityDamageByBlockEvent Time: 34178916 Count: 507 Avg: 67414

    PlayerItemHeldEvent Time: 32686 Count: 1 Avg: 32686

    BlockSpreadEvent Time: 2313139 Count: 28 Avg: 82612

    BlockFromToEvent Time: 224387581 Count: 25100 Avg: 8939

    BlockFadeEvent Time: 8927530 Count: 149 Avg: 59916

    BlockPhysicsEvent Time: 48870645 Count: 28428 Avg: 1719

    BlockIgniteEvent Time: 84160 Count: 6 Avg: 14026

    EntityCombustEvent (and sub-classes) Time: 3928142 Count: 394 Avg: 9969

    EntityChangeBlockEvent Time: 4407653 Count: 1001 Avg: 4403

    Total time 370409034 (0s)

Essentials v2.13.1

    PluginEnableEvent Time: 2595164 Count: 6 Avg: 432527

    PlayerCommandPreprocessEvent Time: 542247 Count: 8 Avg: 67780

    PlayerQuitEvent Time: 4087737 Count: 1 Avg: 4087737

    PlayerMoveEvent Time: 9062755 Count: 642 Avg: 14116

    PlayerTeleportEvent Time: 17486093 Count: 6 Avg: 2914348

    PlayerJoinEvent Time: 586248 Count: 2 Avg: 293124

    PlayerLoginEvent Time: 807087 Count: 2 Avg: 403543

    PlayerLoginEvent Time: 8241 Count: 2 Avg: 4120

    EntityDamageByBlockEvent Time: 19746020 Count: 507 Avg: 38946

    EntityDamageByBlockEvent Time: 812902 Count: 507 Avg: 1603

    BlockIgniteEvent Time: 217624 Count: 6 Avg: 36270

    EntityCombustEvent (and sub-classes) Time: 8250291 Count: 394 Avg: 20939

    EntityChangeBlockEvent Time: 8942053 Count: 1001 Avg: 8933

    InventoryCloseEvent Time: 101200 Count: 1 Avg: 101200

    Total time 73245662 (0s)

UltrabansLite v3.1.4

    PlayerJoinEvent Time: 7140637 Count: 2 Avg: 3570318

    PlayerLoginEvent Time: 86603 Count: 2 Avg: 43301

    Total time 7227240 (0s)

EssentialsSpawn v2.13.1

    PlayerJoinEvent Time: 617607 Count: 2 Avg: 308803

    Total time 617607 (0s)

CreativeGates v1.4

    Total time 0 (0s)

EssentialsChat v2.13.1

    Total time 0 (0s)

MoreSounds v1.5.1

    PlayerCommandPreprocessEvent Time: 476667 Count: 8 Avg: 59583

    PlayerQuitEvent Time: 28356 Count: 1 Avg: 28356

    PlayerTeleportEvent Time: 2095656 Count: 6 Avg: 349276

    PlayerJoinEvent Time: 105390 Count: 2 Avg: 52695

    EntityDamageByBlockEvent Time: 753866 Count: 507 Avg: 1486

    PlayerItemHeldEvent Time: 1750294 Count: 1 Avg: 1750294

    Total time 5210229 (0s)

```

Keď ste si tento súbor (timings.txt) otvorili skopírujte celý obsah súboru (ctrl+a) otvoríte si túto stránku ➜  http://aikar.co/timings.php vložíte to tam a máte to

Teraz si celú zložku môžete vymazať.