Skip to content

BONNePlayground/VaultHuntersVaultSnapshotOptimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vault Snapshot Optimization

Vault Hunters stores all vault statistics in single file: VaultSnapshots.dat After a while this file becomes very large, and it takes longer and longer to calculate player statistics or view vault history.

This mod addresses the issue, by splitting Vault Snapshots per player file. Each player will have his own snapshots file in data/vaultSnapshots/ folder.

Once vault is finished, data from VaultSnapshots will be copied to every player data file (players where in the vault) and removed from VaultSnapshots data file. Statistics and history will target player files to get data out of them.

At the start of the server, mod will check all snapshots in VaultSnapshots.dat file, and migrate them to a correct spot if necessary. It will log message when migration starts and how many data were migrated.

About

This mod separates VaultSnapshots data file per player.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages