Opis

From GT New Horizons
Revision as of 22:21, 8 August 2023 by Boubou19 (talk | contribs) (Tracking Tab)
WIP!
This page is a Work In Progress. You can help out by adding more information to the page.


Opis is a powerful tool made by ProfMobius to track down lag induced by entities or Tile Entities. You can download it here if you don't have it in your mod folder already. By default Opis comes preinstalled on current versions of GTNH.

Opis Interface

Summon the Opis window with the following command:

  • /opis

Summary Tab

This is the default tab. On this tab you can see various information, such as the tick time overall, network data between the client and server (upload rate, download rate, ping, ...) as well as the amount of forced chunks and loaded chunks. To trigger a profiling session, click on the button named "run Opis".

Generating a profile will slows down seriously the server during the process. Once it's finished, the game window will freeze, the time for the game to process all the data. Once it's done, everything goes back to normal, and you can visit the Tracking tab or Server timing tab to learn more about lag on the server.

Tracking Tab

In the tracking tab, you will be able to see in real time various data once you'll have initialised a run. They will be sorted in 4 categories:

  • Players tab
  • Entities tab
  • Tile Entities tab
  • Dimensions tab

Players tab

In this tab, you'll see all the players online, the dimension they are in, as well as their coordinates in the dimension. You can also teleport yourself to them or pull them to you.

Entities tab

In this tab, you'll be able to see the loaded entities, and you'll also be able to kill them all. Be careful with this option, this can cause unintended side effects for the players, like losing their nametagged mobs.

Tile Entities tab

In this tab, you'll be able to see how many tile entities there are in your world loaded for each type of tile entity.

Dimensions tab

In this tab, you'll be able to see the load caused by entities and tile entities in each dim. It should be noted that it's only entities and tile entities load, not the total load by dimension (for instance, AE2 can do some additional load that Opis cannot see). The purge buttons will ask you to trash any mob in the dimension, any item on the ground, as well as purging chunks to only let force loaded chunks. Keep in mind that it's not a proper way of unloading a chunk, so you may cause unintended behaviors sometimes by doing this. In the screenshot below, you can see that an empty dim is taking some load even if the dim is not loaded, this is why it is recommanded for public or semi-public servers to limit the amount of personal dims, as the cumulated load is not neglectible.

Server Timing Tab

Client Timing Tab

Network Tab

Debug Tab