Fixed players without permission being able to use
/lootin test [loot-table] command
Fixed an issue where players couldn't open loot containers that were already open by another player. Now, as per previous behavior, only one player can view a loot container at a time.
Enabled Back Elytra Disappearing effect when taken out by player,which was disabled temporarily, since it was previously causing players to be kicked out of server in minecraft version 1.21.7
Temporarily disabled the effect of Elytra in end city item frames visually disappearing to those players who have already taken them (for minecraft version
1.21.7 only)
Temporarily Fixed NoSuchMethod Error when opening any Lootin container
Update for Minecraft version
1.21.7
- Update for Minecraft version 1.21.6
Fixed chest items losing their data when tried placing them besides lootin chests
Fixed
delete-items-on-break option not working properly
- Update for minecraft version 1.21.5
- Fixed CustomStructures loot not reseting with different seed
- Fixed an issue where loot containers were removed when mushrooms were grown using bonemeal.
- Fixed an issue where loot containers were removed when blocks like beds or respawn anchors exploded.
Fixed Lootin not being able to run on only spigot 1.21.3
- Temporarily disabled hopper checks for lootin containers
- Shifted the config option black-list-structures from config.yml to worlds.yml, this way structures can be blacklisted on individual world basis
ADD THIS OPTION TO worlds.yml MANUALLY WHEN UPDATING FROM OLD TO NEW VERSION
- Added Auto Replenish Feature
After a configured amount of time, loot containers will automatically refresh for individual players. This feature is disabled by default and can be enabled in the worlds.yml file, along with other related customizations.
It is important to note that the refresh time and the number of refills are tracked separately for each player.
Custom loot containers created with the /lootin set command can be disabled from auto-refreshing through the world configuration. However, after this update, you will need to reset these containers again using the command.
- Sculk Sensors: Sculk sensors now trigger when a loot container is opened or closed.
- /lootin info: The /lootin info command now displays the number of refills and the time remaining until the next refill when hovering over a player's name.
- reset-seed-on-fill option is moved to worlds.yml file and it is enabled by default
- Fixed a duplication issue with hoppers
- Fixed a IllegalArgumentException with the new data storage
- Fixed double container opening sound
- Change in Data Storage Method
Previously, loot data of a container for individual players was stored in the container itself (i.e, within the world).
However, after this version the data will be converted(if required), compressed and stored in Lootin/data folder. This conversion will happen when a player closes a Lootin container.
- Added commands /lootin info and /lootin clear
Disabled new structure listener indefinitely
- Added prevent-filling-containers option, when enabled, players won't be able to put items in lootin containers, except for those players with the permission lootin.preventfilling.bypass.
- Fixed trapped_chest not working when /lootin set command is used
Fixed containers being empty with non vanilla loot tables
Changes to
blacklist-structures option
This option will now work on datapack generated loot tables too
Make sure to update your blacklist structure list according to the new update
List of all vanilla loot tables can be found here
Old Method
Code (YAML):
black-list-structures
:
- 'DESERT_PYRAMID'
- 'ANCIENT_CITY'
New Method
Code (YAML):
black-list-structures
:
- 'minecraft:chests/desert_pyramid'
- 'minecraft:chests/ancient_city'
Fixed reset-seed option not working with
BetterStrcutures plugin
- added reset-seed-on-fill option in config(disabled by default)
when enabled loot will be different for every player opening the same loot chest
- added worldguard flag lootin-container-access (value is set to true/allow by default for all regions, can be changed with config option "default-worldguard-flag-value")
if value is set to false/deny for a region, player will not be able to access lootin chests
- fixed hoppers being used on untouched loot chests
- changes to how items are saved in lootin containers
- added debug-mode in config (disabled by default)
- fixed /lootin set command not working for double chests
Update for
1.20.3 and
1.20.4
Improved Structure Generation Listener (only applicable for 1.20.2 and after)
Fixed elytra item frames not displaying elytras in 1.20.2
Fixed per player elytra not working in 1.20.1
Updated ACF version(Command Library used)
Fixed a error with ProtocolLib on versions 1.19.3 & 1.19.4 when a elytra is removed from item frame on a end ship
Updated for minecraft version 1.19.3
- Fixed IllegalStateException when opening newly generated containers
- Fixed chests and minecarts not being marked as lootin containers if never opened
- temporarily removed 1.16 and 1.17 support
Added
BetterStructures support
Note: already generated structures before this update will not work
Fixed a async task error to get the elytra item frame via ProtocolLib
Fixed new loot containers not working
Thanks to
@Lauriichan for fix
- Fixed chest dupe
- Protocollib lib is no longer required for double container sound fix
Thanks to
@Lauriichan for commits
- added trapped chest as a lootin container
- changes to ChunkLoad listener, for other plugins using vanilla loottable to work with lootin
Fixed a NPE when opening lootin chest
Fixed a ClassCastException with protocolLib on opening a loot chest
- fixed double open and close chest sounds being played for lootin chests (requires protocollib)
- a typo in default message
- added bypass-grief-plugins option
default to true
- fixed vanilla mineshaft minecarts not working as lootin containers
added /lootin set CHEST|BARREL|MINECART command
- /lootin rwggive command replaced with /lootin rwg loottable command
- added elytra item frame support to your rwg schematics via /lootin rwg elytra command
Fixed NPE in PacketListener
added missed permission check for rwggive command
- made it so after taking out elytra from item frame, it will disappear visaully for player [requires ProtocolLib]
- Added Realistic World Generator Structure support
- Added /lootin rwggive command
added per player elytra item frame option
check out the new option in config.yml
Code (YAML):
# Note: does not work with already looted end ships
# if set to true, the elytra present in item frame in end city ships will be per player
# these item frames are special and cant be broken, players with lootin.breakelytraitemframe.bypass permission and a stick in main hand can only break them
per-player-elytra-item-frame
: true
![[IMG]](/proxy/image?url=https%3A%2F%2Fimgur.com%2FBf53fa8.gif)
Fixed a ClassCastException on opening a double chest
- Fixed Barrels not working properly as a loot container
- Barrels will also support purpur's barrel row option
Fixed a ChunkLoadEvent error, where checks where made when chunk was unloaded
Fixed the inventory titles not working
Fixed a dupe bug when you create double chest from lootchests [reported by
@VS.GOME ]
- Added back PlaceHolderAPI support to inventory titles and messages
- Added back compability for CustomStructures and OhTheDungeon
- Added bstats
- Entire code base was rewritten
- Note OTD or Custom Structures users: i have not yet added otd structure support to v2.0,so dont update if you use OTD or Custom Structures
- Fixed ClassCastExceptions when player tries to use minecart-hopper under loot chest
- config.yml can now autoupdate with each update
Lootin will now support Oh The Dungeon Structures
Fixed PlaceHolderAPI as softdepend, the plugin can function without it
fixed disabled worlds option not working for custom structures plugin
Custom Structures support
config option: blacklist-custom-structures the list of structures where lootin will not alter chests
Reset your config.yml if you already have lootin installed
- added placeholderAPI support
- changed the messages tree
- fixed chest not making noise while open and close
- removed the 5 tick delay that happens when player opens a lootin chest
added notifier for terra lootin addon
- Now lootin minecarts too will not explode if prevent-explosion option is set to true
- Added terra structure support which requires TerraLootinAddon to function
- new config option blacklist-terra-structures ,the chests in these structures will be ignored as lootin chests
Config Changes
prevent-explosion:
if set to true lootin chests will not explode via creeper or tnt
blacklist-structures:
list of structures where lootin will not modify loot chests
new permission:
lootin.breakchest.bypass
players without this permission cant break loot chest even while sneaking and they will be displayed with configurable permission deny message
requested by
mistermsk
new config option:
blockbreak-without-permission-message
the message that will be shown when a player without breakchest.bypass perm tries to break a loot chest even while sneaking
now you can change what title will be shown when player opens a loot chest
weather its single,double or minecart
fixed the inventory title of double chest