Jump to content

Almost there

Not a Bug 0.5.5

MrLiquid

Posted

Thank you for your recent changes, however I have found the following, 

In the attached log file and Config file you will see my MOD "Prosauce" testing it. Prosauce has the groups MOD and VOTED and DEFAULT (everyone has this one). in the config there is 5 different VIP groups I've added. I have arranged them in order from Lowest to highest priority.

 

However, upon our test, Prosauce had to wait the 5 min cooldown, plus his minicopter did not take damage, out of the 3 groups he is from only MOD has allow damage to false and VOTED has the cooldown. MOD group has no cooldown. so my guess is, the plugin is not giving the correct "weight" to each VIP group

 

assuming ZERO is lowest group in weight

0 default (all players have default)

1 voted (everyone can vote to earn this level of mini to half cooldown and or fuel costs if below this level)

2 VIP tier1 (voted here has no bearing because these tiers above, already have settings that supersede voted) 

3 VIP Tier2&3 (tier 2&3 would be above tier 1, voted and default)

4 Mod/Staff (staff/mod levels settings would be above all except admin)

5 Admin ( if the MINI group existed it's settings would outrank all lower groups)

 

I have included the log from console, plus my config file, I have arranged the VIP groups as mentioned above.

 

I hope this is very clear and if you have any questions, feel free

IDEALMyMiniCopter.json oxide_2023-05-12.txt

RFC1920

Posted (edited)

The way it should actually work at this point:

1. Each vip setting is associated with an oxide permission.

2. Users should only receive ONE permission for vip settings, whether by user or group.

3. The first match from top to bottom will win - there is no weighting.

Edited by RFC1920
MrLiquid

Posted

from what I understand of what you said is,

 

Top to Bottom means they are assigned Default, which every player gets .. and all other groups dont matter? so I need to reorganise my VIP groups?

RFC1920

Posted (edited)

I mean that as written you should only have a player in one VIP group at a time.

If they have any matching VIP setting it will override default.  But, it will only match the first one it finds and then skip the rest.

Edited by RFC1920
MrLiquid

Posted

I think I understand you, thank you for clearing that up😃

RFC1920

Posted

Changed Status from Pending to Not a Bug

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.