Remove the time set to 24 hoursSuggestion
set initial timeto someting sensible....

Also either have code that checks to see is current player cooldown time matches thier band or allow admins to do a timer reset on players.

becasue if you load plugin ,and change cooldown times from 24 hours to somethingsmaller ,any player who used plugin is stuck at 24 hours.
That bug was fixed some time ago. Which version are you using?
says 283

yep

171 "Spawn Mini" (2.8.3) by SpooksAU (0.18s) - SpawnMini.cs
[Info("Spawn Mini", "SpooksAU", "2.8.3"), Description("Spawn a mini!")]\
Okay, I reworked cooldowns in v2.8.0 to fix that so it stores the time they last spawned a mini instead of the expected time it should be allowed again, then calculates whether they are on cooldown when they run the command. Either there's a bug somewhere in that, or you didnt reload the plugin after changing the config, or it's a one time issue from having recently upgraded from a pre-2.8 version where the data files still contain the projected cooldown expirations, which will resolve in the next day automatically.
also the other thing it should stop doing ir re-writing the config on exit...
i suspect a bug, becasue my config files were clean...
i was using my mini before

Merged post


also try this....
unload
delete config & data
reload

/mymini
/nomini

/mymini
"you have 23:59:54 until your cooldown ends"

{
  "AssetPrefab": "assets/content/vehicles/minicopter/minicopter.entity.prefab",
  "CanDespawnWhileOccupied": true,
  "CanFetchWhileOccupied": false,
  "CanSpawnBuildingBlocked": false,
  "FuelAmount": 0,
  "MaxNoMiniDistance": 300.0,
  "MaxSpawnDistance": 5.0,
  "OwnerAndTeamCanMount": false,
  "PermissionCooldowns": {
    "spawnmini.tier1": 600.0,
    "spawnmini.tier2": 600.0,
    "spawnmini.tier3": 600.0
  },
  "SpawnHealth": 750.0,
  "UseFixedSpawnDistance": false
}
​


I have an idea what it is........ let me check the source code



Merged post

may be this ?
  return grantedCooldownPerms.Any() ? grantedCooldownPerms.Min(entry => entry.Value) : 86400;​

really it should assume a default group.. OR get the settings of the default group for ungrouped players
and have it in the config.. as as a fixed hardcoded value....

not as some hardcoded value in the code...

All the cooldown tiers require permission to be granted. That is by design. The config option isn't called PermissionCooldowns by mistake.

The documentation is already clear on this behavior, but I don't really like it this way, so I can add another config option for the default cooldown.

At the moment you can just assign tier1 to the default group to resolve your issue.
I would just add it so the "hard coded value " pulls for teir 1.
any other way requires the  configs to be deleted & remade i think

but it is still bugged currently ..... becasue once that 23 hours is set in the users  "data" file it cannot be over ridden until it times out.
On the contrary, auto pulling tier1 would change the behavior of that setting and therefore be a backwards incompatible change. We cannot make assumptions about how server owners have set up permissions. I'm sure plenty are using the default 24 hours, and may be using tier1 for VIPs. That section is also entirely configurable, so they could have renamed those to something other than tier1.

Config changes can easily made backwards compatible. I do it in all of my plugins.

Merged post

I already stated that the 24 hours are not saved in the data file. Only the time the mini was spawned is saved. Can you paste the value from the data file?
my fault.......  I forgot what timezone i was in & the server was in

Yep agree config file chage is way to go. sorry had my head in another plugin.....
Thanks man!!!!