GeorgH93 / Minepacks

Free and reliable backpack plugin for Bukkit/Spigot/Paper
https://www.spigotmc.org/resources/19286/
GNU General Public License v3.0
166 stars 75 forks source link

Individual Backpacks #287

Open JasdanVM opened 7 months ago

JasdanVM commented 7 months ago

Feature request

Backpacks as individual objects.

Feature description

The Backpack Shortcut would go on to be craftable, and upon creation it would be linked to a specific backpack inventory, this item would be placeable in the world, if it's dropped as an item, or on the players death, it would place itself to remove the risk of it despawning. It would also be inmune to being burned in lava and on falling into the void would be paced on a nearby block (this line could be unlocked by a Netherite Upgrade). If they worked like this, the individual backpacks would rarely simply cease to exist in the world which I suppose could be seen as an issue of adding this feature, at the same time, the automatic placement on the ground as a block could be disabled on the config. Another config that makes a lot of sense is limiting the player to only carry a filled backpack at the time.

How the feature is useful

Here comes a long explanation This would provide a more immersive and familiar to mods way to access a Backpack, and would solve the issue of what to do with its inventory when the player dies that I'm sure some server owners have, since currently there doesn't seem to be a way to retain the items in an inventory that waits for the players return, is either dropping it's content to the ground, which is problematic on a server where other players may load the chunks, and specially if there's a Grave plugin in place, or setting the Backpack to keep its inventory on player death, which makes it too similar to an Ender Chest, making it almost irrelevant if the backpack is set to have more than 3 rows. As of now, there's no progress needed to unlock the backpack, it's just free to take on player join, I personally resorted to it only accepting the BUNDLE material so the slots have to be unlocked by crafting Bundles, which kinda forces me to activate the Keep on Death since 1, it would be bothersome to have to keep crafting Bundles each time you die if you don't get there on the limiting 5 minutes, and 2, bundles are best used to store rare valuables like ores, Diamonds, Ancient Debris, etc. things you definitely don't want to lose on item's despawn.

JasdanVM commented 7 months ago

To simplify things, you could make it so the player only access the backpack's content by picking it up and opening it from the inventory, the inventory that gets opened would depend on that head's "shortcut" NBT data, or other identifier's.