1. Forum
    1. Dashboard
    2. Unresolved Threads
  2. Filebase
  3. Wiki
  4. Website
  • Login
  • Register
  • Search
Tools & Utilities
  • Everywhere
  • Tools & Utilities
  • Articles
  • Pages
  • Files
  • Forum
  • More Options
  1. Official Eco Forums
  2. Filebase
  3. Server Mods
  4. Tools & Utilities

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

  • (1)
    • Minimum: 10.0.X
  • nid
  • September 29, 2020 at 10:57 AM
  • 17k Downloads
  • 4 Comments
  • Download
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.
  • Overview
  • Versions 18
  • Comments 4
  • Reviews 1

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.

NIDTOOLBOX' DOWNLOAD LOCATION CHANGED TO -> https://eco.mod.io <-

! UP TO DATE DOCUMENTATION ONLY UNDER THE ABOVE ADDRESS !

I had to limit the amout of places I need to update the texts whenever I add or remove commands and update individual modules, sorry!


1573-nidtoolbox-design01-nid-64-png

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 https://discord.nidaren.net/ 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 tailings and 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.
  • Clean server module can follow set time zone of your choosing, see nid-core module to see how to set own time zone.
  • Allows removal of tailings, rubble on per type basis.
  • Allows removal of tailings in specific radius or in target storage.
  • Easy to use and very light on the server.

Settings files:

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

Code
{
   "Info1": "NidToolbox Light: Server Cleaner Settings.",
  "Info2": "------------------------------------------",
  "CleanPeriodically": false,
  "CleanEveryMinutes": 1440.0,
  "CleanAtScheduledTime": false,
  "ScheduledTime": [
    "10:00",
    "18:00"
  ],
  "CleanMiningRubble": true,
  "CleanTreeDebris": true,
  "CleanFallenTrees": true,
  "CleanStumps": false,
  "CleanTailingsNotContained": false,
  "CleanTailingsInStorages": false,
  "CleanWetTailingsNotContained": false,
  "CleanWetTailingsInStorages": false,
  "ReportInConsole": true,
  "ReportInLog": true,
  "BlackListed": false
}
Display More

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.

Requirements:

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.

/debris-report

Code
/debris-report

/tailings-report 1711-rcon-png

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

/tailings-report

Code
/tailings-report


/clear-tailings 1711-rcon-png

With no arguments given it will remove all tailings on the server. It has four optional arguments, explained below

/clear-tailings bool clearTailingBlocks, bool clearTailingsInStorages, bool clearWetTilingsBlocks, bool clearWetTilingsInStorages

/clear-tailings

Code
/clear-tailings

/clear-tailingsRadius 1712-non-rcon-png

Will remove tailings in set radius around player. Has three optional arguments, by default set to true: includeContained - will include tailings in containers, clearTailings - will clear regular tailings, clearWetTailings - will clear wet tailings.

/clear-tailingsRadius int radius, bool includeContained, bool clearTailings , bool clearWetTailings

Code
/clear-tailingsRadius 8
Code
/clear-tailingsRadius 8, true, true, true


/clear-tailingsObject 1712-non-rcon-png

Will remove tailings in a target object's storage (chest, stockpile, vehicle etc).

You must look at the target object. Has two optional arguments, by default set to true: clearTailings - will clear regular tailings, clearWetTailings - will clear wet tailings.

/clear-tailingsObject bool clearTailings , bool clearWetTailings

Code
/clear-tailingsObject 
Code
/clear-tailingsObject true, true


/clear-alldebris 1711-rcon-png

Removes all kinds of debris.

Code
/clear-alldebris

/clear-debrisRadius 1712-non-rcon-png

Will remove debris in set radius around player. Has four optional arguments, by default set to true: clearRubble - will clear mining rubble, clearTreeDebris - will clear tree branches, clearFallenTrees - will fallen trees, clearStumps - will clear stumps.

/clear-debrisRadius int radius, bool clearRubble, bool clearTreeDebris, bool clearFallenTrees , bool clearStumps

Code
/clear-debrisRadius  8
Code
/clear-debrisRadius 8, true, true, true, true


/clear-rubble 1711-rcon-png


Removes mining rubble present on the server.

Code
/clear-rubble

/clear-treedebris 1711-rcon-png


Removes tree debris - fallen branches.

Code
/clear-treedebris


/clear-fallenTrees 1711-rcon-png

Removes fallen trees and stumps.

Code
/clear-FallenTrees


/clear-TimerWhen 1711-rcon-png

Check when next periodic clean will happen.

Code
/clear-TimerWhen


/clear-SchedWhen 1711-rcon-png

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

Code
/clear-SchedWhen


/clear-periodic 1711-rcon-png

Enables or disables periodic server clean.

Code
/clear-periodic true/false


/clear-scheduled 1711-rcon-png

Enables or disabled specific hours clean.

Code
/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, bool clearTailingsNotContained, bool clearWetTailingsNotContained, bool clearTailingsInStorages, bool clearWetTailingsInStorages

Code
/clear-config true, true, true, true, true, true


/clear-logger 1711-rcon-png

Configures reporting in console and log.

/clear-logger bool reportInConsole, bool reportInLog

Code
/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

Code
/clear-addHour 14:34


/clear-DelHour 1711-rcon-png

Remove specific hour to scheduled cleaner.

/clear-DelHour string time

Code
/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

Code
/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).

Code
/clear-Reload

Images

  • debrisreport.png
    • 727.37 kB
    • 1,088 × 553
  • Version none

    • nid
    • May 4, 2024 at 12:18 PM
    • 106 Byte
    • 781 Downloads

    Main mod page changed

  • Version 1.10.0

    • nid
    • December 17, 2023 at 12:59 PM
    • 21.1 kB
    • 1.2k Downloads

    Clean Server Module:

    * Added option to preserve stumps on cleanup.

    * Added more detailed breakdown to /debris-report.

    * /clear-FallenTrees command now has optional argument to remove stumps, default to false.

    * Fixed issue where changing the timer on periodic cleanups would also turn them on.

  • Version 1.7.4

    • nid
    • March 22, 2023 at 2:51 AM
    • 19.38 kB
    • 939 Downloads

    * Updates both modules to take advantage of newly added time zone settings to nid-Core.

    + Requires nid-Core 1.7.6!

    * IMPORTANT: Requires EM-Framework 3.4.5+

  • Version 1.7.3

    • nid
    • March 15, 2023 at 4:06 AM
    • 19.88 kB
    • 905 Downloads

    Fixed issue where tree debris would not be removed when in specific circumstances.

    Moved mining rubble getters and cleaners to use new methods available in nid-Core.

  • Version 1.7.2

    • nid
    • December 21, 2022 at 12:00 PM
    • 20.96 kB
    • 959 Downloads

    * Added ability to remove tailings in the target storage.

    * Added ability to remove tailings in set radius aroung the player.

    * Added ability to remove tree debris and mining rubble in set radius aroung the player.

    * Adds clear-tailingsRadius command, which will remove tailings in set radius around player. Has three optional arguments, by default set to true: includeContained - will include tailings in containers, clearTailings - will clear regular tailings, clearWetTailings - will clear wet tailings.

    * Adds clear-debrisRadius command, which will remove debris in set radius around player. Has four optional arguments, by default set to true: clearRubble - will clear mining rubble, clearTreeDebris - will clear tree branches, clearFallenTrees - will fallen trees, clearStumps - will clear stumps.

    * Adds clear-tailingsObject command, which will remove tailings in a target object's storage. You must look at the target object. Has two optional arguments, by default set to true: clearTailings - will clear regular tailings, clearWetTailings - will clear wet tailings.

  • Version 1.7.1

    • nid
    • December 16, 2022 at 1:56 AM
    • 19.11 kB
    • 926 Downloads
    • Adds ability to remove tailings, both by automatic cleaner and manual command.
    • Adds tailings-report command, which generates report on tailings present on the server, with division to tailing blocks in the worlds and one contained in storages and vehicles.
    • Adds clear-tailings command, which will remove all tailings when used with no arguments. Has four optional arguments clearTailingBlocks, clearTailingsInStorages, clearWetTilingsBlocks and clearWetTilingsInStorages which allow for more defined removal.
    • Modifies clear-config command to include tailing types, refer to the documentation for details.
  • Version 1.7.0

    • nid
    • November 23, 2022 at 9:12 PM
    • 16.11 kB
    • 946 Downloads

    Compatibility with Eco 9.7

  • Version 1.6.2

    • nid
    • September 23, 2022 at 5:22 AM
    • 16.12 kB
    • 977 Downloads

    Fixes error output in RCON for clear-TimerWhen command.

  • Version 1.6.1

    • nid
    • September 11, 2022 at 9:54 AM
    • 16.12 kB
    • 1.1k Downloads

    Changed commands to be RCON aware.

    Fixed several typos and spelling mistakes.

  • Version 1.6.0

    • nid
    • August 31, 2022 at 11:13 PM
    • 16.14 kB
    • 966 Downloads

    * Updated module to Eco version 9.6.0

    * Updated to net6.

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

Vapen Gamen
January 25, 2021 at 7:28 PM
  • Report Content

Downloaded it and the sever has been up a hour. I do the report and it says gathering report then nothing happens

nid
January 27, 2021 at 7:04 PM
Author
  • Report Content

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

Elspeth
September 29, 2020 at 4:46 PM
  • Report Content

So this mod required "NidToolbox Light" ?

nid
September 29, 2020 at 9:27 PM
Author
  • Report Content

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.

      • Date
      • Rating
      • none
      • 1.10.0
      • 1.7.4
      • 1.7.3
      • 1.7.2
      • 1.7.1
      • 1.7.0
      • 1.6.2
      • 1.6.1
      • 1.6.0
      • 1.5.3
      • 1.5.2
      • 1.5.1
      • 1.5.0
      • 1.1.2
      • 1.1
      • 1.0.1
      • 1.0.0
      • All Versions
  • It works perfactly !!

    • Elspeth
    • 1.0.0
    • September 29, 2020 at 5:06 PM

    Now I can clean up the tree debris and rubbles around the world !

    Thank you :):love::love::love:

More Files by nid

  • NidToolbox: Player Manager module

    nid September 29, 2020 at 2:00 AM
  • NidToolbox: IP Logger module

    nid September 29, 2020 at 2:23 AM
  • NidToolbox: Chat Logger module

    nid September 29, 2020 at 2:31 AM
  • NidToolbox: MOTD module

    nid October 13, 2020 at 1:01 AM
  • NidToolbox: Server Rules module

    nid October 18, 2020 at 7:30 PM
All Files
  1. Staff
  2. Privacy Policy
  3. Terms of Service
  4. Legal Notice
  5. Contact
Powered by WoltLab Suite™