I kind of gave up on this, but players are bothered by it and I haven't found a solution. The last time I tested, resetting the config seemed to help the situation, but I can't seem to figure out what in the config causes the issue. I'm going to dive into this again soon, but curious if you found anything.
Question: If all the data is stored in the .cs file, what's the significance of the .db file? I can see player data in both. I'm curious about what would happen if I wiped the .db file to see if there were any issues in it and not the .cs file. Would data be retained?
All my player data is stored (as normal) in the data json file , I never change the .cs file unless dev suggests an edit.
Here is an excerpt
"76561198********": {
"WCL": 160,
"WCP": 2813732,
"ML": 200,
"MP": 9914919,
"SL": 185,
"SP": 3765586,
"AL": 164,
"AP": 2942429,
"CL": 20,
"CP": 4107078,
"LD": 1592213901,
"LLD": 1592747602,
"XPM": 100,
"CUI": true,
"ONOFF": true
},
here is my config
{
"CUI": {
"Bounds": {
"HeightLower": "0.023",
"HeightUpper": "0.19",
"WidthLeft": "0.64",
"WidthRight": "0.828"
},
"BoundsBackground": "0.1 0.1 0.1 0.1",
"cuiEnabled": true,
"FontColor": "0.74 0.76 0.78 1",
"FontSizeBar": 13,
"FontSizeLevel": 13,
"FontSizePercent": 11,
"TextShadowEnabled": true,
"XpBarBackground": "0.2 0.2 0.2 0.2",
"XpBarColors": {
"A": "0 0.8 0 0.5",
"C": "0.2 0.72 0.5 0.5",
"M": "0.1 0.5 0.8 0.5",
"S": "0.8 0.1 0 0.5",
"WC": "0.8 0.4 0 0.5"
}
},
"Functions": {
"CollectibleEntitys": {
"corn-collectable": true,
"diesel_collectable": true,
"halloween-bone-collectable": true,
"halloween-metal-collectable": true,
"halloween-stone-collectable": true,
"halloween-sulfur-collectible": true,
"halloween-wood-collectable": true,
"hemp-collectable": true,
"metal-collectable": true,
"mushroom-cluster-5": true,
"mushroom-cluster-6": true,
"potato-collectable": true,
"pumpkin-collectable": true,
"stone-collectable": true,
"sulfur-collectable": true,
"wood-collectable": true
},
"enableCollectiblePickup": true,
"enableCropGather": true,
"enableDispenserGather": true
},
"Generic": {
"enableLevelupBroadcast": false,
"enablePermission": false,
"excludeChainsawOnGather": false,
"excludeJackhammerOnGather": false,
"exludeWeaponsOnGather": false,
"gameProtocol": 1955,
"penaltyMinutes": 12,
"penaltyOnDeath": true,
"permissionName": "zlevelsremastered.use",
"permissionNameXP": "zlevelsremastered.noxploss",
"playerCuiDefaultEnabled": true,
"playerPluginDefaultEnabled": true,
"pluginPrefix": "<color=orange>ZLevels</color>:",
"wipeDataOnNewSave": false
},
"NightBonus": {
"broadcastEnabledBonus": true,
"enableNightBonus": true,
"logEnabledBonusConsole": false,
"PointsPerHitAtNight": {
"A": 100,
"M": 100,
"S": 100,
"WC": 100
},
"PowerToolPerHit": {
"M": 0,
"WC": 0
},
"ResourcePerLevelMultiplierAtNight": {
"A": 2.0,
"M": 2.0,
"S": 2.0,
"WC": 2.0
}
},
"Settings": {
"CraftingDetails": {
"PercentFasterPerLevel": 15,
"TimeSpent": 1,
"XPPerTimeSpent": 1000
},
"DefaultResourceMultiplier": {
"A": 15,
"M": 15,
"S": 15,
"WC": 15
},
"LevelCaps": {
"A": 200,
"C": 20,
"M": 200,
"S": 200,
"WC": 200
},
"PercentLostOnDeath": {
"A": 10,
"C": 2,
"M": 25,
"S": 25,
"WC": 25
},
"PointsPerHit": {
"A": 80,
"M": 80,
"S": 80,
"WC": 80
},
"ResourcePerLevelMultiplier": {
"A": 15.0,
"M": 15.0,
"S": 15.0,
"WC": 15.0
},
"SkillColors": {
"A": "#ADD8E6",
"C": "#CCFF99",
"M": "#DDDDDD",
"S": "#FFDDDD",
"WC": "#FFDDAA"
}
}
}