Skip to content

Plot limit can be overwritten. #4339

@ch4ika

Description

@ch4ika

Server Implementation

Paper

Server Version

1.20.4

Describe the bug

The limitation can be circumvented by having the entity on a merged property where the road previously existed and walking around, so the plot cap is always recalculated and the transition to plot 1 to 2 where the road was ignored.

Fawe: 2.9.1-SNAPSHOT-659;c93ec87

To Reproduce

  1. Setup these Flags in words.yml:
    flags:
    animal-cap: 1
    mob-cap: 1
    hostile-cap: 1
    entity-cap: 1
    vehicle-cap: 1
    misc-cap: 1
  2. To reproduce the whole thing. Do you need at least 2 plots that merged.
  3. A villager should be spawned where the road used to be.
  4. Hit this Villager so that it moves around a bit as the counts are then recalculated.
  5. As soon as step 3 happens, another mob or misc can be spawned/set.
  6. The whole thing can be done permanently without limits.

Reminder: There cannot be a mob on plot 1 and 2, it must be between 1 and 2 where the road was before.

Detailed instructions can be seen in the video above.

Expected behaviour

The limitation should be maintained and not be recalculated again and again as soon as a mob runs over the merged property.
In general it should not be possible for the cap to be overwritten.

Screenshots / Videos

How to bypass cap:
https://www.youtube.com/watch?v=KCqGM4RalOE&feature=youtu.be

ArmorStands are ignored by caps and can be placed infinitely.
https://www.youtube.com/watch?v=0YuhzfdSx0I

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/756733ea33a144f7b23cf2e472a6b4dc

PlotSquared Version

7.3.4-Premium

Checklist

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Requires TestingThis is a new issue which needs to be approved before labeled with "bug"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions