0.4.3 player can lootSolved

Hello, player can loot now, excavator are not protected

I'm not friend, clan or team with him.

and for cooldown, you've set fixed my older post but not really solved:


not really solved, i've issue again with cooldown:

{
  "CoolDown before releasing excavator": 5.0,
  "Send Excavator available Message to All": true,
  "Enable engine loot after it is started to add diesel": false,
  "Use Teams": true,
  "Use Clans plugin": true,
  "CoolDown before a player or team can restart the excavator (0 is disabled)": 1.0,
  "Apply cooldown to all excavators": true,
  "Running time per fuel units (time in seconds)": 60.0,
  "Sulfur production quantity (default=3)": 8,
  "HQM production quantity (default=1)": 7,
  "Metal production quantity (default=8)": 11,
  "Stone production quantity (default=20)": 23,
  "Use Discord hook": false,
  "Discord hook url": "",
  "Debug": false,
  "Log to file": true
}​

in data file:
{
  "2705": {
    "playerid": 76561############,
    "displayName": "Tanki 10/21/2020 :'(",
    "captured": true,
    "starttime": "2021-09-20T13:32:28.1223+01:00",
    "stoptime": "2021-09-20T14:02:29.117554+01:00",
    "Name": "Alpha",
    "PlayerCooldown": {
      "76561############": "2021-09-20T14:03:29.117561+01:00",
      "76561############": "2021-09-20T14:03:29.117561+01:00"
    }
  }
}​

ingame, it said: Giant excavator currently in use by me... but cooldown is expired normaly

Your configuration file does not match the changes made in revision 0.4.3 
ex.
"Sulfur production multiplier ": 1.0,
"HQM production multiplier": 1.0,
"Metal production multiplier": 1.0,
"Stone production multiplier": 1.0,

"CoolDown before releasing excavator": 5.0,  set a 5 minute delay after the excavator stop, before any other team can loot or restart the excavator.
This time is to allow the current excavator user to loot the excavator. After that 5 minutes, anybody can loot the excavator.
other players will get the "Giant excavator currently in use" message until the 5 minute cooldown expire after the excavator stop.

the other cooldown is to prevent a single team from using the excavator continously. In your case,  with a 1 minute parameter, it is disabled. If you want to use it, set it large enough so other team have time to come and claim the excavator ( ex  larger then 15 minutes )

yes as explained above, the configuration is linked to the post:https://umod.org/community/excavator-lock/37118-cooldown-problemthe cooldown problem is not totally resolved in the old version. Ok the settings need to be increased, thanks for tip's.

in the latest version 0.4.3, the loot is no longer protected, anyone can loot ... we have tested several times ... the old version works perfectly

I am using the same config as you do and I am unable to reproduce the problem you describe, but will do more testing. In my case only the player, team member or clan member can loot when the excavator is running or until the "CoolDown before releasing excavator" expire.

make sure you did not set the admin permission as it disable protection.
 a conflict with another plugin is also possible.

permission to admin was not granted.

0.4.1 work fine for me, so i don't update...

Thanks for help

Merged post

Hello, find a bug in data file:

    "starttime": "2021-09-24T16:29:00.855664+03:00",
    "stoptime": "2021-09-24T11:46:02.385006+03:00",​
stoptime is not correctly..

started at 15h29:00, it stop at 16h29:00 so not possible stoped at 11h46 lol

The only case where you see the stop time older the start time is whe the excavator is running.

What do you see in the log file ? you should see someting like..

Excavator Alpha started at : 02:11 PM for 8 minutes, by player Bob/76561############. Mining Sulfur
Excavator stopped at : 02:19 PM​

I suspect something wrong with your server installation, oxide version,  or plugin causing problem.

maybe i've not f5 http://ftp...

I've tested again and seems be good, idk what happened... can't reproduce the problem...

Locked automatically