(Compatible with Update 4) Loot chests for every player without modifying the block and compatible with already generated worlds! You can also create, edit, delete, reset ANY loot chest! Config UI, anti-grief, random, auto reset and more!
Description
Compatible with Update 4!
Loot4Everyone revamps loot chests so every player can have their own loot and let you create, edit, delete, reset ANY loot chests!
⚠️ Warning ⚠️
If you have loot chests that are already generated, you can regenerate them with /generatelc to add them in the system. Otherwise in new generated chunks it's automatic!
Features
Configure the mod with the UI (Open it with /lootconfig)
Know when you discover for the first time a loot chest! A message appear with a sound effect and you can have information about what's inside the loot chest! Config it with the UI or /setmessagerule (true or false) and add --world (ID of the world, ex: default) when using it with a server console!
Sparkly particles when it's the first time you see a loot chest! Config it with the UI or /setparticlerule (true or false) and add --world (ID of the world, ex: default) when using it with a server console!
Loot chest griefing protection! Config it with the UI or /setbreakrule (true or false) and add --world (ID of the world, ex: default) when using it with a server console!
Random loot for every player! Config it with the UI or /setrandomrule (true or false) and add --world (ID of the world, ex: default) when using it with a server console!
Automatic reset loot system! Config it with the UI or /setautoresetlc (no args todisable or use --mode / --days / --hours / --minutes / --seconds to set the auto reset interval) and add --world (ID of the world, ex: default) when using it with a server console!
Reset loot chests! Look at a loot chest and do /resetlc to reset this chest for all players or specify the player by adding the arg --player and/or the arg --all true to reset all loot chests for the player provided with the arg or else for all players. And add --world (ID of the world, ex: default) when using it with a server console (you can only reset all chests of a player or all players)!
Loot chest maker system! Create, edit, delete ANY loot chests!
Loot chest maker
To select a loot chest or an item container, just look at it!
Use any item container to generate a loot chest! With just /generatelc you generate automatically a loot chest based on the zone! You can add the arg --droplist to specify ANY droplist that your server has access (yes this should work with modded droplists!). If you prefer to make a custom droplist add items inside of the item container and just do /generatelc to have your custom loot chest!
Edit any loot chest! You can do /editlc--droplist to change the droplist of the chest! You can also just do /editlc with custom loot chests to edit the items of your own droplist and after that just do /generatelc to confirm the changes.
Delete any loot chest with /deletelc!
Roadmap
Config loot chests to let people put items in them or not!
Have multiple players opening the loot container at once!
Enhance the performance of the data system in big worlds!
Go beyond loot containers...
This mod is fully released but game updates can break the mod, so always check the mod description before a major update of the game and never use it in a pre-release unless i say you can do it!
If you find bugs feel free to report them or help me fix them if you want!