Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
This package has been marked as deprecated, and it's suggested another
alternative is used.
SyncUpgrades
Syncs upgrades between all players in a game. [Client -> Host -> All] or [Host -> All].
| Last updated | 9 months ago |
| Total downloads | 245738 |
| Total rating | 16 |
| Categories | Misc Upgrades Server-side |
| Dependency string | TGO-SyncUpgrades-2.2.6 |
| Dependants | 64 other packages depend on this package |
This mod requires the following mods to function
README
Sync Upgrades
- Only needed on the host!
- Supports modded upgrades!
- If any player consumes an upgrade, it will be synced to all other players.
- If a player joins late, they will receive all the host upgrades.
What makes this different?
-
You may be familiar with SharedUpgrades or SyncHostUpgrades
-
This mod is a combination of both, and it is not buggy, not laggy, not inefficient, and not partially implemented.
-
The code behind this mod only runs when a player consumes an upgrade, a player joins the game, or a level is loaded.
-
This is different behavior than the other mods, which run every frame to check for upgrades.
- The before mentioned problem causes lag, fps drops, stutters, and other bugs.
-
It was programmed and designed properly.
What's the technical workflow?
- When a player consumes an upgrade, the server receives the upgrade event.
- If the player is the host, the server checks all clients and ensures they are on the same level as the host.
- If they are not on the same level, the server sends the upgrade event for that player to all clients.
- If the player is not the host, then the server upgrades the host first, which triggers the upgrade event once again (2).