Plugin not clearing data fileFixed

Hi, the plugin seems to not wipe the data file in certain circumstances. I'm not exactly certain what the circumstances are surrounding this bug. Until I can provide more information would it be possible to add a console command to clear the lock/data file please?

Hi there,

This issue happened again last night/today. The long time between the bug and it being reported are probably because my server is pretty low pop.

I myself ran the excavator at about 8 o'clock yesterday and I put in 43 diesel. I collected the resources before my lock time expired and left. The server went down for a reboot overnight (in case thats helpful) and then a player today at around 5pm reported that the plugin stated that the excavator was in use and had 1 fuel left. The only way I was able to correct the issue was to unload the plugin, remove the data file and then reload the plugin.

I link below to a copy of the bugged data file (within the zip file) before I erased it as well as my config for ExcavatorLock (ExcavatorLock.json) and finally my config for GatherManager since that is the only other plugin that has any configuration/effect on the excavator as far as I am aware.

Hope this helps. Please let me know if you need anything else.

https://cdn.discordapp.com/attachments/955891295111495690/955891454587305994/ExcavatorLock_Files.zip

I think i found the cause for this problem, I uploaded a new version of the plugin to fix this.
Just in case, i also added a command to reset the status of the excavator. admin command can be used in game or in remote console
Thanks for reporting this issue.

Locked automatically