[Feature] Easy mod config
parcel31u opened this issue ยท 5 comments
An optional config to allow for players to always keep their hotbar and armor on death, only placing their main inventory in a grave.
Finally getting around to adding this feature (maybe). I'll work on it later this afternoon.
I started working on this feature, but it isn't complete yet. I have it so you can blacklist certain slots in the vanilla inventory which will have them spill into the world instead of being captured by the grave. I will add another config to allow all items not kept in graves to be kept on the player instead as well as adding blacklists for all modded inventories (Baubles, Thut's Wearables, etc)
Thank you I was just about to request this :) Make sure you write a custom perm to prevent issues your mod may encounter with other mods; something like "tmg_ckeepInventory = true" should work.
That way no other perms can mess with this custom blacklist and whitelist. This will definitely help with players who want to have a fear of death without monotony. This will also help with mods that provide a single guide book or item that can never be re-obtained.
Might be kinda cool if you could specify which slots exactly you want to keep. That way, as a modpack author you could have the player keep the top-right inventory slot, or just the armour, or just the boots, etc.
I'm finally back from my honeymoon, so I'll be looking into this soon. The current method I have for saving inventory/writing the backups doesn't easily allow for this feature, but I rewrite isn't the most terrible thing that can happen. I'll let you know if this is feasible sometime in the near future! ๐