Configuring cooldown tiers?
Yo, I've recently started working on my own server, I decided to add the Spawn mini plugin. When I opened the config it said on the cooldowns different tiers and I have no idea on how to work with that. Do I change to another group or do I somehow assign groups to different tiers? Please help.
You need to assign a tier to a player/group, the tier is the cooldown that is used
ok im still confused with this....  i tried 
oxide.grant group spawnmini.teir 1
nothing ??????
i liked it better the other way quick and simple, i just need to learn this one tho more options
That oxide command is wrong. Should be oxide.grant group GROUP_NAME spawnmini.tier1.
i did...
oxide.grant group default spawnmini.tier 1 
is that not right? i set tier one to 0.... 0.0 im like i just want it to go away lol
There should not be a space between "tier" and "1". It's just "tier1".

Merged post

Also, if you want no cooldown, you can just grant the spawnmini.nocd permission.
same issue for me.

-spawn is ok
-nocd is ok too
-but cooldown tier not working

to be clean and restart from scratch , i:
1-deleted plugin
2-deleted cfg
3-deleted data

-i re-installed plugin
-i edited cfg :
"PermissionCooldowns": {
    "spawnmini.tier1": 10.0,
    "spawnmini.tier2": 20.0,
    "spawnmini.tier3": 30.0​

- i reloaded the plugin to update cfg
-i gave permission : 
o.grant group admin spawnmini.mini
o.grant group admin spawnmini.tier1
 
anwser of server: 
Group 'admin' granted permission 'spawnmini.mini'
Group 'admin' granted permission 'spawnmini.tier1'

so everything smooth.

1st mini is spawning as intended.
i destroy it
and... 2nd mini spawn still have a cooldown of 1435 minutes !
I saw some people having a similar issues in the history of support threads, so I reproduced it and fixed it in a PR I submitted last night.
https://github.com/Spookywooky3/SpawnMini/pull/5

Basically the issue is that when you spawn the mini, the plugin calculates when the cooldown should be over and saves that value in the data file. So if you spawn a mini, then change the cooldown permissions, you have to wait a day until you can use your new cooldown (because 1 day is the default cooldown). This is worsened by the fact that the plugin only saves to the config file when unloaded so deleting the data file while the plugin is loaded does not fix the issue as reloading will just overwrite it again.

The fix in the PR is to change the behavior so that the plugin only saves the last time you spawned a mini in the cooldown file, then calculates whether you are beyond that dynamically when you try to spawn the mini, so it will automatically take into account your current permissions to determine your remaining cooldown. This is the preferred way to track cooldowns which I've done in other plugins. 

Until the PR is reviewed and merged by Spooks, you can workaround this issue easily by doing the following.
  1. Unload the plugin
  2. Delete the plugin's data file (located at oxide/data/SpawnMini.json)
  3. Load the plugin
  4. Grant permissions (if not previously granted)
This should work, so not sure why it didn't work in your case since it sounds like you did everything right. In my testing, this was the only issue with cooldowns and the tiering did work.
thank you for your answer WhiteThunder  but indeed, i did everything right.
unfortunatly still not working
The simplified instructions in my post should be enough to clean it. The steps you said you did look good, so not sure why that wouldn't work. My guess would be there was something else done that wasn't stated which is causing the issue since I can't reproduce the problem with those steps. I would suggest trying them again.
after some tests with white thunder (thanks to you)
it seems to works perfectly.

For some reason, the admin group was not recognized.
but when we tested with default or any vip or any test groups manually created, everything is working perfectly.