I am looking for some help. i have the betterloot plugin installed i went to wipe my server today and after the restart noticed as i logged in server and checked a box it was set back to vanilla. i am not to sure why this happened. The wipe before i had a similar problem where i had to restart the server. Ive legit spend 2 nearly 3 hours trying to gte my data file loaded
Loot not modified, reset to vanilla
Ran it through jsonlint.com?
Backup your loot tables file and remove it, let it reuibld it default with a reload, then put your items back in.
Latest version?
Backup your loot tables file and remove it, let it reuibld it default with a reload, then put your items back in.
Latest version?
Sounds like you blew the file away when you wiped. The plugin has try/catch JSON exception handling built in (e.g. invalid JSON is not loaded and the plugin unloads itself).
try { lootTable = getFile("LootTables");}
catch (JsonReaderException e)
{
PrintWarning($"JSON error in 'LootTables' > Line: {e.LineNumber} | {e.Path}");
Interface.GetMod().UnloadPlugin(this.Title);
return;
} Such technicals preceded by "blew the file away" lol
Make sure you edit the data file with the plugin unloaded or it will not save it and will revert to default, when you have finished edtiting it , save it , then reload plugin