Open Unixkitty opened 3 years ago
Banned trinkets should be removed when players log in. Is this not working?
Also if a trinket is banned you don't have to also put it in the non-random list.
Nope... nothing gets removed from player data, the config only seems to prevent the banned trinkets from being awarded?
The second part was more for testing (still not working? What if I added it there too?)
I can't seem to reproduce... Works fine for me on a dedicated server. It also removes the item from players still in the game or if they log back in and prevents unlocking without even restarting the server too.
https://user-images.githubusercontent.com/630920/130322425-16628160-2abc-41c1-9178-ff30b0117d25.mp4
Interesting, that's exactly how I assumed it would work based on the config comments and whatnot...
Could it be a mod conflict? There doesn't seem to be anything relevant in the log surrounding losttrinket's messages.
Unfortunately I am unable to pinpoint a possible conflict at this time. Here is the modlist:
I can't say just by looking at the mod list and it'd be too much work to download each mod and try reproduce...
Maybe you could try doing the following steps and letting us know how it goes? Also sending the server log and client log of when you try to do this too.
Minecraft 1.16.5 Forge 36.2.2 Lost Trinkets 0.1.27
Config: general_common.toml.txt
Description: Blacklisting trinkets doesn't seem to remove them from players, as stated it should in the config file. For context, on the first two screenshots only the server's config was modified, the client's had default settings. The server's debug.log appropriately lists the banned trinkets however:
For example with the Magical Feathers trinket, I can still fly and use it as shown on the screenshot:
And on this screenshot other blacklisted trinkets can be seen and used in my unlocked trinket list:
It would seem applying the config to the client is also limited only to making the client append text to trinket items such as "Disabled", (I still have all the disabled trinkets and can still use them):
Log snippet from client:
Expected behavior: Blacklisting trinkets works as advertised.