Lets you run commands on certain events, currently only supports "inventory-full"
[!] Changed default "default-detection-radius" to 1. This should fix drops from auto-farms (like cactus farms) being picked up randomly. If you're updating and experience this issue, set "default-detection-radius" to 1 in your config.yml
Works like auto-condense, but for smelting. Supports all cooking recipes, both builtin and added through plugins
Granting experience for auto-smelting is toggleable
Players can toggle it on/off using /d2i autosmelt
The setting "force-auto-smelt" in config.yml is a global option, it works like this:
Players will always need the permission "drop2inventory.autosmelt" to use auto-smelt
If the global option is set to true, players will have auto-smelt enabled and cannot disable it
If the global option is set to false, players will have auto-smelt disabled by default and can toggle it themselves using /d2i autosmelt
[+] Improved Auto-condense
Players can toggle it on/off using /d2i autocondense
The current setting "auto-condense" in config.yml was renamed to "force-autosmelt" and is now a global option, it works like this:
Players will always need the permission "drop2inventory.autocondense" to use auto-condense
If the global option is set to true, players will have auto-condense enabled and cannot disable it
If the global option is set to false, players will have auto-condense disabled by default and can toggle it themselves using /d2i autosmelt
Blocks to be condensed can now be configured using condense.yml. By default it includes all "revertible" vanilla recipes, e.g. iron_ingot -> iron_block, but not quartz -> quartz_block
[+] Auto-smelt and Auto-condense work fine together. For example if you mine a gold_ore, it will be smelted into a gold_ingot, and then condensed into a gold_block in case you already had 8 gold_ingots in your inventory
[+] Add "enabled by default" for both autosmelt and autocondense
[+]"inventory-full" message can now be shown as title or actionbar
[!]Fixed some plugins not being able to prohibit auto-pickup
[!]Fixed "coins" items from "Coins" plugin being picked up
Note: The "disabled-materials" list will be added in the next release.
Added config option "collect-fishing-drops" to enable/disable collection of fishing drops. Disabled by default because enabling this will get rid of the "fish flying towards player" animation
Fixed players with no permission for drop2inventory.use but still having Drop2Inventory enabled being able to collect drops for a second after right-clicking a block
Added compatibility for plugins that try to prevent players picking up items by setting the item's pickup delay to arbitrary long times (e.g. QuickShop)
Added config option "save-playerdata". It works like this:
Code (YAML):
# When set to true, Drop2Inventory remembers every player's setting after the rejoined. # If you set this to false, players will always have the default settings after joining again, # regardless of whether they had enabled or disabled Drop2Inventory before. save-playerdata: true
Added safety net for badly coded plugins illegally implementing the player interface, not even considering behaving according to
@NotNull annotations...
It will print a warning though, so you can ask the authors of those plugins to stop doing that, and use proper implementations instead
Added support for plugins that listen to totally outdated events
E.g. SuperiorSkyblock2, even in 1.17, listens to the PlayerPickupItemEvent, which has been deprecated and replaced more than 4 years ago(!) by the EntityPickupItemEvent
Drop2Inventory Plus was completely rewritten and now uses totoally different mechanics to collect drops. It should be compatible with basically EVERY plugin
If somehow some drops still aren't detected, let me know on my discord at https://discord.jeff-media.de and I'll fix it ASAP!
- Drop2Inventory can now call fake EntityPickupItemEvents to check if other plugins want to cancel a drop picked up by the legacy drop detection
- Fixed exception when other plugins somehow cause a EntityDamageEvent without giving a DamageCause