Permissions/roles overlappingBug
If a user has default and vip roles at same time it's overlapping the limits, for example
  "TPR": {
    "Cooldown": 600,
    "Countdown": 15,
    "DailyLimit": 5,
    "VIPDailyLimits": {
      "nteleportation.vip": 0
    },
    "VIPCooldowns": {
      "nteleportation.vip": 5
    },
    "VIPCountdowns": {
      "nteleportation.vip": 5
    },
    "RequestDuration": 30,
    "OffsetTPRTarget": true,
    "BlockTPAOnCeiling": true,
    "UsableOutOfBuildingBlocked": false,
    "UsableIntoBuildingBlocked": false,
    "CupOwnerAllowOnBuildingBlocked": true,
    "AllowCraft": false,
    "Pay": 0,
    "Bypass": 0
  },​

Plugin need to take upper limit.

Xanela oxide roles: default, vip (vip role has nteleportation.vip perm.)

Xanela Daily TPR limit: 5 instead of 0 (unlimited) but it need to be 0. I don't want to remove default roles from vips one by one.

Changed in 1.2.0
nivex
Changed in 1.2.0

Thank you.

nivex
Changed in 1.2.0

Did you remove update?

 

Yes, and there's still an issue with how this was implemented to start with. I'll see what I can do.
nivex
Yes, and there's still an issue with how this was implemented to start with. I'll see what I can do.

Do i need to install previous version? I was using 1.2.0 one.

nivex
Yes, and there's still an issue with how this was implemented to start with. I'll see what I can do.

Still same.

If a player is in default group and has vip perm for example, it's taking the default one, not upper one. I am gonna write my example config and make some points for you.

  "TPR": {
    "Allow TPB": true,
    "Cooldown": 600,
    "Countdown": 15,
    "Daily Limit": 5,
    "VIP Daily Limits": {
      "nteleportation.vip": 15,
      "nteleportation.discord": 0
    },
    "VIP Cooldowns": {
      "nteleportation.vip": 5,
      "nteleportation.discord": 10
    },
    "VIP Countdowns": {
      "nteleportation.vip": 5,
      "nteleportation.discord": 10
    },
    "Request Duration": 30,
    "Offset TPR Target": true,
    "Block TPA On Ceiling": true,
    "Usable Out Of Building Blocked": false,
    "Usable Into Building Blocked": false,
    "Allow Cupboard Owner When Building Blocked": true,
    "Allow Crafting": false,
    "Pay": 0,
    "Bypass": 0
  },

Player
Group: Default
So he has 5 /tpr limits with 600 seconds cooldowns and 15 seconds countdowns.

Player 2
Group: Default, Discord (Discord group has nteleportation.discord perm.)
So he has 5 /tpr limits with 600 seconds cooldowns and 15 seconds countdowns. But need to have 0 limits with 10 seconds cooldown and 10 countdowns.

Player 3
Group: Default, Discord (Discord group has nteleportation.discord perm.) and VIP (VIP group has nteleportation.vip perm.)
So he has 5 /tpr limits with 600 seconds cooldowns and 15 seconds countdowns. But need to have 0 (unlimited) limits (because he has Discord perm as well from Discord group) with 5 seconds cooldown and 5 countdowns (because he has VIP perm as well from VIP group and VIP has lower cooldowns and countdowns).

Still same in 1.2.2? I just had someone say it works, ugh.
nivex
Still same in 1.2.2? I just had someone say it works, ugh.

Sadly, yes.


 
https://pastebin.com/CC7VN6G8

Just tested the above pastebin link version and it appears to work correctly, please verify

  "Home": {
    "Homes Limit": 3,
    "VIP Homes Limits": {
      "nteleportation.vip": 8
    },
    "Cooldown": 600,
    "Countdown": 15,
    "Daily Limit": 5,
    "VIP Daily Limits": {
      "nteleportation.vip": 15,
      "nteleportation.discord": 0
    },
    "VIP Cooldowns": {
      "nteleportation.vip": 60,
      "nteleportation.discord": 120
    },
    "VIP Countdowns": {
      "nteleportation.vip": 5,
      "nteleportation.discord": 10
    },
    "Location Radius": 1,
    "Force On Top Of Foundation": false,
    "Check Foundation For Owner": true,
    "Use Friends": true,
    "Use Clans": true,
    "Use Teams": true,
    "Usable Out Of Building Blocked": true,
    "Usable Into Building Blocked": true,
    "Allow Cupboard Owner When Building Blocked": true,
    "Allow Iceberg": true,
    "Allow Cave": true,
    "Allow Crafting": false,
    "Allow Above Foundation": true,
    "Check If Home Is Valid On Listhomes": false,
    "Pay": 0,
    "Bypass": 0
  },​

My cooldown is 60 seconds, with unlimited uses, a 5 second countdown and 8 homes can be set.

Oh my god, it's working now. Idk but seems like there was a problem with previous one, or mine was just bugged.

nivex
https://pastebin.com/CC7VN6G8

Just tested the above pastebin link version and it appears to work correctly, please verify

  "Home": {
    "Homes Limit": 3,
    "VIP Homes Limits": {
      "nteleportation.vip": 8
    },
    "Cooldown": 600,
    "Countdown": 15,
    "Daily Limit": 5,
    "VIP Daily Limits": {
      "nteleportation.vip": 15,
      "nteleportation.discord": 0
    },
    "VIP Cooldowns": {
      "nteleportation.vip": 60,
      "nteleportation.discord": 120
    },
    "VIP Countdowns": {
      "nteleportation.vip": 5,
      "nteleportation.discord": 10
    },
    "Location Radius": 1,
    "Force On Top Of Foundation": false,
    "Check Foundation For Owner": true,
    "Use Friends": true,
    "Use Clans": true,
    "Use Teams": true,
    "Usable Out Of Building Blocked": true,
    "Usable Into Building Blocked": true,
    "Allow Cupboard Owner When Building Blocked": true,
    "Allow Iceberg": true,
    "Allow Cave": true,
    "Allow Crafting": false,
    "Allow Above Foundation": true,
    "Check If Home Is Valid On Listhomes": false,
    "Pay": 0,
    "Bypass": 0
  },​

My cooldown is 60 seconds, with unlimited uses, a 5 second countdown and 8 homes can be set.