Is the plugin working?

Hello,

I've setup the plugin like that:

0 to 30 min => no protection

30 min to 1h => 100% protection

1h to 24h => 100% protection

24h to 48h => 50% protection

after 48h => 0% protection

The problem is, after 1h the protection is not working.

here my config:

{
  "AbsoluteTimeScale": {},
  "DamageScale": {
    "1": 0,
    "24": 0.5,
    "48": 1
  },
  "Activities": [
    "input",
    "loot",
    "respawn",
    "chat",
    "wakeup"
  ],
  "AfkMinutes": 5,
  "ClanFirstOffline": false,
  "ClanShare": false,
  "CooldownMinutes": 30,
  "InterimDamage": 0.0,
  "MinMembers": 1,
  "MinutesSinceLastAttackToProtect": 10,
  "PlaySound": false,
  "Prefabs": [
    "door.hinged",
    "door.double.hinged",
    "window.bars",
    "floor.ladder.hatch",
    "floor.frame",
    "wall.frame",
    "shutter",
    "wall.external",
    "gates.external",
    "box",
    "locker"
  ],
  "ProtectBaseWhenAway": false,
  "ServerTimeOffset": 0,
  "ShowMessage": true,
  "SoundFile": "assets/prefabs/weapon mods/silencers/effects/silencer_attach.fx.prefab",
  "DamageScaleKeys": [
    1,
    24,
    48
  ]
}

Can i get some help please?

8eGRSWwHAvo8FGE.png

This player is Offline since 1h now but the plugin consider the player Online after 1hour
From 30min to 1h the plugin was working well, saying Offline.

where they afk for the first hour?

LL5s0czgzN5xPRo.png shady14u

where they afk for the first hour?

This player is totaly offline from the server and he is sleeping offline on his base.



Merged post

Also there is a bug with the "AbsoluteTimeScale". In your doc you said "to disable absolute time damage scale, just set it to the following value:
 "AbsoluteTimeScale": {},
 
I've exactly that on my config file and yet at 3am the bases had 90% protection (while in my config this value is empty). I opened the plugin file and i see that you have set a protection of 90% from 3h to 3h59. (0.1)
 
OQlg9umQ8oXOQJG.png
 
So it seems the setting on the plugin file takes precedence over the setting in my config file. Maybe the general problem comes from there.

Can you help me please?