User Tools

Site Tools


tutorial:side

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
tutorial:side [2019/05/26 14:51] – [Logical Sides] Made logical sides more about the world state and the replication jamieswhiteshirttutorial:side [2019/05/26 15:13] – [Logical Server] Made things a little easier to understand jamieswhiteshirt
Line 62: Line 62:
  
 ==== Logical Server ==== ==== Logical Server ====
-The logical server is where most of the game logic is going on. Data packs, world updates, block entity and entity ticks, mob AI, game/world saving,  and world generation, happen on the logical server.+The logical server is where most of the game logic is executed. Data packs, world updates, block entity and entity ticks, mob AI, game/world saving,  and world generation, happen on the logical server.
  
 The logical server on the physical client is called the "Integrated Server", while the logical server on the physical server is called the "Dedicated Server" (which is also the name of the physical server itself). The logical server on the physical client is called the "Integrated Server", while the logical server on the physical server is called the "Dedicated Server" (which is also the name of the physical server itself).
  
-The logical server never runs on the thread which went through the entry point of a physical side, even on physical servers. Stillit has its thread, on which it handles its logicIt is singleton that always exists on physical servers; on the physical client, it exists one instance at a time when the player is playing a local saveand a new instance is created every time the player loads a local save+The logical server runs in its own main thread, even on physical servers, and has a few worker threadsThe lifetime of logical server depends on the physical side it is hosted on. On a physical server, a logical server exists for as long as long as the process is running. On a physical client, multiple logical servers may be created, but only one logical server may exist at a time. A new logical server is created when the player loads a local save and closed when the player closes the local save.
- +
-Most universal mods target the logical server so that they can work on physical sides.+
  
 +Most universal mods target the logical server so that they can work both in single player and multi player scenarios.
 ===== Communication===== ===== Communication=====
  
tutorial/side.txt · Last modified: 2022/04/13 04:32 by 127.0.0.1