Jump to content

How this plugin works

Closed 1.0.0

xlr8tednergy
xlr8tednergy

Posted

I know it should be self-explanatory, but this plugin doesnt appear to remove any abandoned building blocks... i placed 2 blocks in the middle of nowhere for like... 2 hours.. and this plugin didnt remove them, maybe i need some clarification on how to work this plugin.

MACHIN3

Posted

5 hours ago, xlr8tednergy said:

I know it should be self-explanatory, but this plugin doesnt appear to remove any abandoned building blocks... i placed 2 blocks in the middle of nowhere for like... 2 hours.. and this plugin didnt remove them, maybe i need some clarification on how to work this plugin.

enable the debug mode and make sure the timers are set. Debug mode will post messages in console when the plugin does anything and possibly tell any issues.

 

Quote

[Chat Commands]
            * /cleanserver - Runs a clean check and removes items
            * /clean <setting> <value> - changes the settings to the value you enter
                Settings:
                    * Save - saves settings, no value needed
                    * help - show all commands in chat - no value needed
                    * tcrange - requires # value - sets the TC range for safe items
                    * check - requires # value - sets the time in mins when items will be scanned and removed
                    * timer - requires # value - sets the time for how long items can be placed before deleted on next scan
                    * delay - requires # value - sets the delay time when corpse are removed
                    * corpse - requires on/off value - turns on/off corpse removal
                    * item - requires add/remove value and item ShortPrefab name - adds or removes item from the excluded list
                    * animals - requires value on/off - turns on/off animal corpse removal
                    * droploot - requires value on/off - turns on/off loot drop when corpse are removed
                    * debug - requires value on/off - turns on/off debug mode for troubleshooting

 

MACHIN3

Posted

Changed Status from Pending to Work in Progress

xlr8tednergy

Posted

 

This is a completely abandoned structure.   It has been for about 15 hours now... i ran the /cleanserver command manually... it didnt even touch any of this.

Maybe i'm not sure how this plugin works.

 

image.png.23e760235388f99106189b3fc358cee3.pngScreenshot2025-03-16024802.png.b50d655b9af2a80ad2af8d9454fc585e.png

 

MACHIN3

Posted (edited)

4 hours ago, xlr8tednergy said:

 

This is a completely abandoned structure.   It has been for about 15 hours now... i ran the /cleanserver command manually... it didnt even touch any of this.

Maybe i'm not sure how this plugin works.

 

image.png.23e760235388f99106189b3fc358cee3.pngScreenshot2025-03-16024802.png.b50d655b9af2a80ad2af8d9454fc585e.png

 

Can you copy your config and paste it so I can see what your settings are.  There are 3 options you should check, 

 

    "checktimer": 10.0,
    "buildingtimer": 1,
    "tcrange": 20.0,

 

 

* tcrange -  sets the TC range for safe items
* checktimer - sets the time in mins when items will be scanned and removed
* buildingtimer -  sets the time for how long items can be placed before deleted on next scan


Also note that the plugin only tracks structures that are placed when the plugin is loaded. Any structure built before this plugin is loaded or while the plugin is unloaded it will not be able to record those structures or assign a time limit.

Edited by MACHIN3
xlr8tednergy

Posted

I believe that could be the issue, this was before the plugin was installed.

{
  "Settings": {
    "checktimer": 30.0,
    "buildingtimer": 60,
    "tcrange": 25.0,
    "removecorpse": true,
    "droploot": false,
    "removeanimalcorpse": false,
    "removaldelay": 30.0,
    "debug": true,
    "excludeitems": ""
  }
}

This is my Config file.

MACHIN3

Posted

18 minutes ago, xlr8tednergy said:

I believe that could be the issue, this was before the plugin was installed.

{
  "Settings": {
    "checktimer": 30.0,
    "buildingtimer": 60,
    "tcrange": 25.0,
    "removecorpse": true,
    "droploot": false,
    "removeanimalcorpse": false,
    "removaldelay": 30.0,
    "debug": true,
    "excludeitems": ""
  }
}

This is my Config file.

 

OK so how it works is:

Each building piece that is placed is recorded with the ID and time stamp with the exact time so the plugin knows what building pieces are there and when that building piece was placed. If it was placed before this plugin was loaded it was not able to record that building and will be skipped. All buildings from then on will be recorded.

From there you have 2 timers.

First the check timer, your settings show 30.0 so every 30 mins the plugin will do a scan of all buildings that it recorded. Then it will check the timestamp of each building to see if the timestamp has past the building timer. In your settings you have 60 as the building timer so if the timestamp is less than 60 mins then it will skip that building piece until the next server scan 30 mins later.
 

xlr8tednergy

Posted

Does it ignore the building if it has a TC on it.. so it doesnt just.. delete peoples structures?

MACHIN3

Posted

1 hour ago, xlr8tednergy said:

Does it ignore the building if it has a TC on it.. so it doesnt just.. delete peoples structures?

yes, the "tcrange": 25.0, setting is what controls how close they must be to a TC before it is removed

MACHIN3

Posted

Changed Status from Work in Progress to Closed

1.7m

Downloads

Total number of downloads.

7.8k

Customers

Total customers served.

117.6k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.