Skip to content

Per group limit stones #469

@AntianJapo

Description

@AntianJapo

Hi, i want to know if there is an option to make a group limit protection to do like "upgradable stones".
(I am resuming the consultation of a previous person.)

On this, i want to make people just use 1 ps of an upgradable group.
EXAMPLE;

they start with an 8xRadius protection, but still can upgrade it trading with "ShopKeepers" or npc w/"BeautyQuest"

  • Normal Protections: (Limit 1)
    Small -> Medium
    Medium -> Big
    Big -> Giant
    Giant -> Extreme

  • VipsProtection:
    SmallVip (limit 2)
    MediumVip (limit 1)
    BigVip (Limit 1)

And i found a protectionstones who have that function.
Here the function on the other plug;

Group Limits
To use Group Limits do the following:

  1. Set Region.LIMIT to -2

  2. Set your group block placement limits, there are nine groups. The defaults are below.

Group:

LIMIT1: 0

LIMIT2: 1

LIMIT3: 3

LIMIT4: 7

LIMIT5: -1

LIMIT6: 0

LIMIT7: 0

LIMIT8: 0

LIMIT9: 0

Just like the Region.LIMIT setting: -1 means unlimited blocks, 0 means no blocks can be placed.

  1. Set your group block type limits, there are nine groups that work with with the limit groups above. The defaults are below.

BLOCKS1: COAL_ORE LAPIS_ORE DIAMOND_ORE

BLOCKS2: COAL_ORE LAPIS_ORE DIAMOND_ORE

BLOCKS3: COAL_ORE LAPIS_ORE DIAMOND_ORE

BLOCKS4: COAL_ORE LAPIS_ORE DIAMOND_ORE

BLOCKS5: COAL_ORE LAPIS_ORE DIAMOND_ORE

BLOCKS6: COAL_ORE LAPIS_ORE DIAMOND_ORE

BLOCKS7: COAL_ORE LAPIS_ORE DIAMOND_ORE

BLOCKS8: COAL_ORE LAPIS_ORE DIAMOND_ORE

BLOCKS9: COAL_ORE LAPIS_ORE DIAMOND_ORE

The blocks listed in the blocks must have a space between them if there is more than one. They must also appear in the Blocks Section of the config.yml. The Limit Number is the total PS/World Guard Regions the player in this group can own, the blocks are the only blocks that the player in this group can place.

Hopefull you understand, have a good day!

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