Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission to buy specific region #129

Open
eduardopilati opened this issue Oct 31, 2022 · 1 comment
Open

Permission to buy specific region #129

eduardopilati opened this issue Oct 31, 2022 · 1 comment

Comments

@eduardopilati
Copy link

eduardopilati commented Oct 31, 2022

My regionkind:

RegionKinds:
    culto:
        item: RED_BED
        displayName: Culto
        displayInLimits: true
        displayInRegionfinder: true
        lore:
        - Default lore
        displayInGUI: true
        activateRegionKindPermissions: true

My limit:

Limits:
    culto:
        total: -1
        regionkinds:
            culto: 1

My region:

      casaculto3:
          sold: true
          paybackPercentage: 0
          isHotel: false
          lastreset: 0
          lastLogin: 1667242909421
          maxMembers: -1
          regiontype: sellregion
          autoprice: culto
          signs:
          - world;4864.0;70.0;-217.0;GROUND;WEST
          kind: culto
          flagGroup: Default
          inactivityReset: true
          entityLimitGroup: Default
          autorestore: false
          allowedSubregions: 0
          userrestorable: false
          boughtExtraTotalEntitys: 0
          isprotectionofcontinuance: false
          boughtExtraEntitys: []

the player has permissions:

arm.member.* true
arm.limit.* false

and still you can buy the region, is there any extra configuration for this limit to work?

@D-Claw103
Copy link

D-Claw103 commented Nov 13, 2022

Based on limit name, the permission should be arm.limit.culto and would be true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants