NidToolbox: Clean Server module - Mining rubble, tree debris removal and reporting 1.7.0

Due to human (non-bot) spam the first contribution of a user has to be reviewed and activated manually, all further contributions do not require this.
As long as a user does not have at least one reviewed and activated contribution, the user is unable to edit his profile, set a avatar, title picture or a signature.

Set of server clean and maintenance commands, allowing for removal of mining rubble, tree debris, stumps etc. Generates report detailing rubble present on the server.


Clean Server module

for NidToolbox Light

requries nid-core module available here


NEW - if you would like to have your server logo appear in the notifications area in messages that come from NidToolbox. Please join my Discord and post them in #server-logos channel.

Reporting, maintenance and cleaning little service for your world.

Support is provided as well as suggestions are accepted on my Discord here

Clean Server module functionality:

  • Generates detailed report about different kind of rubble present on your server, so you can assess the situation and impact on performance quickly.
  • Set up automatic cleaning, either periodic - every X minutes, or at specific hours. Needs to be enabled.
  • Allows removal of rubble on per type basis.
  • Easy to use and very light on system.

Settings files:

Config files are located at Configs\Mods\NidToolbox\ServerCleaner.json

CleanPeriodically - enables or disables the periodic (timer based) cleanup. It uses CleanEveryMinutes setting.

CleanEveryMinutes - sets minutes value that is used when CleanPeriodically is set to enabled.

CleanAtScheduledTime - enables or disables automatic cleanup at scheduled hours. Uses ScheduledTime list of hours.

ScheduledTime - list of hours in 24h clock format (example: 15:15) that are used when CleanAtScheduledTime is enabled.

CleanMiningRubble - when enabled, automatic cleaner will remove mining rubble.

CleanTreeDebris - when enabled, automatic cleaner will remove tree debris.

CleanFallenTrees - when enabled, automatic cleaner will remove fallen trees and stumps.

ReportInConsole - automatic cleaner info is posted to console, when this setting is enabled.

ReportInLog - automatic cleaner info is logged, when this setting is enabled.


As any module of NidToolbox set, it requires nid-core module, available in the main forum thread: here

How to install:

  1. Unpack .zip archive
  2. Copy nid-cleanserver.dll to Mods\NidToolbox\Modules

Available commands:

/help CleanServer

Displays information about all commands contained within this module.

/debris-report 1711-rcon-png

Prepares a detailed report about different kind of rubble on the server.



/clear-alldebris 1711-rcon-png

Removes all kinds of debris.


/clear-rubble 1711-rcon-png

Removes mining rubble present on the server.


/clear-treedebris 1711-rcon-png

Removes tree debris - fallen branches.


/clear-fallenTrees 1711-rcon-png

Removes fallen trees and stumps.


/clear-TimerWhen 1711-rcon-png

Check when next periodic clean will happen.


/clear-SchedWhen 1711-rcon-png

Lists all hours for scheduled cleaner and time left to trigger.


/clear-periodic 1711-rcon-png

Enables or disables periodic server clean.

/clear-periodic true/false

/clear-scheduled 1711-rcon-png

Enables or disabled specific hours clean.

/clear-scheduled true/false

/clear-config 1711-rcon-png

Select what should be removed by automatic cleaners - if enabled.

/clear-config bool clearTreeDebris, bool clearMiningRubble

/clear-config true, true

/clear-logger 1711-rcon-png

Configures reporting in console and log.

/clear-logger bool reportInConsole, bool reportInLog

/clear-logger true, true

/clear-addHour 1711-rcon-png

Add specific hour to scheduled cleaner. Accepts strings of 5 characters long separated with colon, in 24h format example: 14:34

/clear-addHour string time

/clear-addHour 14:34

/clear-DelHour 1711-rcon-png

Remove specific hour to scheduled cleaner.

/clear-DelHour string time

/clear-DelHour 14:34

/clear-SetTimer 1711-rcon-png

Set timer for periodic clean - in minutes. When Periodic clean is enabled, this will run the cleaner every X minutes set in here.

/clear-SetTimer float timer

/clear-SetTimer 1440

/clear-Reload 1711-rcon-png

Reloads module configuration from the file. Please take into account that reloading the config file also resets your clean timer (periodic clean task).



  • Version 1.7.0

    Compatibility with Eco 9.7

  • Version 1.6.2

    Fixes error output in RCON for clear-TimerWhen command.

  • Version 1.6.1

    Changed commands to be RCON aware.

    Fixed several typos and spelling mistakes.

  • Version 1.6.0

    * Updated module to Eco version 9.6.0

    * Updated to net6.

    * REQUIRES: EM-Framework 3.3.0-beta2 or higher.

  • Version 1.5.3

    • clear-SchedWhen and clear-TimerWhen will organize the list of events from the closest in time to the most distant.
    • Adds now required TimeSpan TimeLeft to INidSchedulable which this module uses.
    • Requires nid-Core version 1.5.5
  • Version 1.5.2

    • Added ability to clean Tree Debris (branches) and Fallen Trees separately.
    • Added new command to Clear Fallen Trees.
    • Added new command to display time remaining till next periodic clean.
    • Added new command to display all hours and time left until their next execution in Scheduled Cleaner.
  • Version 1.5.1

    • Added ability to clean server automatically, either at specific intervals or specified hours.
  • Version 1.5.0

    * (RC.2) Module output filename updated to match namespace.

    * Module updated to Eco 9.5.0

    * REQUIRES: EM-Framework 3.2.0-RC.3 or higher.

  • Version 1.1.2

    Version 1.1.2

    • Compatibility patch with EM Framework 3.1.0
    • Requires EM Framework 3.1.0
  • Version 1.1

    Version 1.1

    • Added command clear-alldebris, this command will clear both mining rubble and tree debris.
    • Migrated project to Net5.
    • Compatibility patch with Eco game version 9.4.
  • Downloaded it and the sever has been up a hour. I do the report and it says gathering report then nothing happens

    • This has been solved on Discord - server installation was corrupted.

  • So this mod required "NidToolbox Light" ?

    • Hello My Friend, thank you for your interest.

      Yes - it Clean Server is one of the modules to NidToolbox Light. It is fully modular project so you can mix and match the components you like. The only required module is nid-core rest is optional. Nid Core can be downloaded in main thread of NidToolbox Light.

      I made a description clearer on this.