Skip to content

Limit items owned #8

Description

@Federe76

Main idea: To be able to limit or even disable the pickup of some items, increasing their rarity and value (example: Elytras, Ench. Apples, Beacons). This would allow server admins to reward players with rare items and make them more special.

Some idea of how it would work:

limited items:

  • Elytra: 1
  • Enchanted Golden Apple: 2
  • Beacon: 0
  • Wither Skeleton Skull: 3

The plugin checks if the player has previously picked up those items, and prevents them from being picked up if the limit has been reached. These checks would also need to consider inventory transfers (chests, hoppers, etc.) so players can't withdraw items past the set limit.

The amount of "owned" items goes up everytime the player picks up that item, and goes down when the item is consumed in any way (gets eaten, is dropped on death, etc.)

The limits which I haven't yet decided on how to prevent:
• Placing hoppers and storing items would let players somehow get the items even when they themselves can't pick them up.
• Legal item transfers, like trading plugins.

Possible preventions for the limits:
• Limited items won't pass through hoppers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions