Skip to content

please add a playerlimit for picking up and claiming #94

Description

@SLINIcraftet204

Problem

On our survival server, some players travel through large parts of the world and pick up every villager they find. They store the villagers in their inventories and shulker boxes, transport them back to their base and then repeat the process.

This allows individual players or groups to collect dozens of villagers and remove nearly all naturally generated villagers from other parts of the world.

The existing pickup cooldown is not sufficient for this use case. A long cooldown also negatively affects normal players while only slowing down the players who are collecting villagers in large quantities.

Requested feature

It would be useful to have two separate configurable per-player limits:

  • Maximum number of picked-up villagers a player may carry at the same time.
  • Maximum number of villagers a player may have claimed in total.

The carrying limit should include villagers stored inside shulker boxes in the player's inventory. Otherwise, the limit could easily be bypassed.

When a player reaches a limit, the pickup or claim action should be cancelled and a configurable message should be displayed.

Example configuration

limits:
  max-carried-villagers-per-player: 5
  max-claimed-villagers-per-player: 20

(Edited towards a more detailed description)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions