Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Inventory nesting exploit #7

Open

Description

Paper on 1.21.8, plugin version 1.2.5

Picking up an animal with an inventory (donkeys, mules, or llamas that have been given a chest) allows a player to carry that animal's inventory as an item, acting as a discount shulker box. I assume this is intended behavior, however it's also possible to place these animals inside the inventories of other animals, allowing you to chain-nest inventories for functionally infinite inventory space at the price of breeding the animals in question.

This additionally raises a potential concern over how this behavior could harm servers; high volume or nested NBT data can result in 'area banning'. This isn't an issue for Paper servers, but would be for Spigot and Fabric. Wiki link
I'm not sure how much NBT information is created when picking up one of these mobs, but it feels worth bringing up as a related worry.

I've configured the plugin not to allow players to pick up donkeys, mules, or llamas, but an official solution like specifically disabling the pickup of animals with inventories or disabling the nesting behavior (what vanilla shulker boxes do) would be much better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /