MyWarp

MyWarp

220k Downloads

MyWarp v2.6.5 - limits

kirich1368 opened this issue ยท 5 comments

commented

Please tell me how to issue limits in permissionsex ?

3

commented

It seems there's a problem with indentation starting at grand, it is on the same level as configured-limits while it should be within. Then you add the node mywarp.limit.grand for example.

commented

q220 is correct, the indentation is wrong.

Also you might want to check this page which contains information about limits in 2.6.5.

commented

I enter the command: /warp pcreate 1, writes:
11

Group vip have the right mywarp.limit.vip

config:

https://pastebin.com/bkyKPUJR

commented

The indentation is still wrong, it needs to look like this:

limits:
  enabled: true
  configured-limits:
    default:
      totalLimit: 0
      publicLimit: 0
      privateLimit: 0
    grand:
      totalLimit: 5
      publicLimit: 2
      privateLimit: 3
    premium:
      totalLimit: 3
      publicLimit: 1
      privateLimit: 2
    vip:
      totalLimit: 1
      publicLimit: 0
      privateLimit: 1

(This was one of the reasons why I changed the formatting in MyWarp 3: It is hard to tell if the there are enough spaces in front of each limit declaration.)

commented

thanks a lot