Closed GreatOrator closed 7 years ago
Yeah, I'll get that fixed.
Further investigation has indicated that the issue is with the JEI addon showing the client's version of the loot tables, the game will use the server version of the loot tables, so changing the configs does nothing.
Normally I would agree, but I have people on a server that has the correct config but the client is using an older config (have not pushed out a pack update yet) and they are still getting the items from the old config
That is not possible, I have tested behavior for both configs, the server-side bag data is used for determine what items a bag will give. Now, if the bag has been opened, the inventory is saved and will persist, even if the configs are changed.
I did not believe it either so tested it locally by changing my config then connecting to the server. I would not have reported it if I did not replicate it.
I cannot duplicate the behavior locally with a test server and client, so clearly something else is the issue. I need to know the pack you're using and the server and client config sets that are confirmed to cause the issue.
tolkiencraft III on curse, and the current download has the "broken" configs. For the server change the config to blacklist the silver and gold coins listed in the main lootbag config (on the client they are not)
Okay, this is exactly what I did:
tolkientweaks:silver_coin:0
tolkientweaks:gold_coin:0
to the Global Blacklist and removed the respective Global Whitelist entries for those coins.minecraft:stone:0:1:1:800
What I think is that your server config still has the gold and silver coins added to the global whitelist, which supersedes the blacklist.
Ahhhh, ok, that makes sense then. So you do not need the global whitelist then? I thought that was used to define drops to add to the bags in general then the blacklist in the bag config determined what would actually drop from them.
How it works priority-wise is that the bag whitelist>bag blacklist>general whitelist>general blacklist>ChestGenHook source, with the general lists controlled per bag by the range of general loot weighting allowed.
Ok, so then you suggest using the bag white list over the bag blacklist and those over the global?
The wiki made it sound like you had to add them to the global whitelist before you could set them to not be included in the bag...or at least the way I interpreted it.
If so, will rework the way I am adding the items to the bags.
So the intended purpose of each of the four lists are:
So, unless Tolkien tweaks adds the coins to any of the vanilla loot tables, they won't show up in the bags unless you whitelist them somewhere.
Thank you! That explains it so well! So individual bag whitelist sounds to be the best way not the general whitelist. Either way problem and mystery solved.
So found out by accident that players can edit the configs to drop whatever they want and it is used rather than what may be on a server.
For example, server blacklists diamond but the client side config says drop 64, the bags will still drop diamonds despite the server config
Any chance you can put a check in place to sync the server side and ignore the local?