GeorgH93 / Minepacks

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

Notify player when shrinking backpack (dropping items) #262

Open daniel-skopek opened 1 year ago

daniel-skopek commented 1 year ago

If a player has a larger backpack than a regular player and then their backpack shrinks, the items in the backpack will be dropped on the ground. It would be beneficial to add a warning when opening the backpack, before dropping items, stating that the items in the backpack will be dropped. The player would need to confirm by typing the command again (e.g., "backpack") to proceed with dropping items.

Alternatively, another option would be to gradually transfer the items from the backpack into the player's inventory when opening it, allowing the player to retrieve them. However, if the player has excess items in the backpack, they would not be able to open it until they reduce the number of items.