promotional bannermobile promotional banner

Vault Hunters Server Config Sync

Unlisted
A small mod that sync server config files with all players
Back to Files

Vault Hunters Sync Server Config 1.5.0

File namevault_hunters_sync_server_config-1.5.0.jar
Uploader
BONNe1704BONNe1704
Uploaded
Oct 7, 2024
Downloads
1.8K
Size
26.7 KB
Mod Loaders
Forge
File ID
5792441
Type
R
Release
Supported game versions
  • 1.18.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:vault-hunters-server-config-sync-946609:5792441")

Learn more about Curse Maven

What's new

  • Reworks client config loading to solve modifier loading into registry.

The previous approach loaded configs directly changing memory field on client. This worked for most of configs, but failed for some (14) that had custom tasks on method readConfig. It prevented from using these configs with this mod, as they did not work properly.

It was addressed by changing how configs are loaded on client. Now configs from server are saved in /config/the_vault/server/ directory upon receiving it from server, and afterwards, it used Config#readConfig method to load it on client.

This allows these complex configs to work, by just a bit of performance lose due to extra file reading that is done by Config#readConfig and Gson.toFile method calls.

This mod has no additional files