TorchAPI.com is powered by Qonzer! Check them out for the ultimate game server hosting experience.
This plugin performs a cleanup similar to that run on the Splitsie Scrapyard Server.
Unlike Essential Cleanup, Sclean works on grid groups, a grid group is a grid with subgrids and connected grids and subgrids. For example, a base with a four-wheeled rover docked via connectors would be one grid group consisting of six grids. The grids are the base, rover body and four wheels. With Essentials Cleanup if any grid in the group fails a condition, the whole group fails. An example would be "!cleanup list hastype Beacon" for a rover with a Beacon would not be returned, as the wheels do not have Beacons the whole rover fails the condition. With Sclean if any grid in a group satisfies one of the requirements then the whole grid group is kept. This means Sclean can find all grids with Beacons.
In Sclean the requirements are hard coded partly for efficiency but mainly because the Scrapyard Scenario has very specific rules. The requirements for a grid to be kept are:
Plus:
Sclean only does what Essentials Cleanup can't do, you still need to use Cleanup to remove floating objects and reset voxels
Show which grids/groups would be deleted.
!sclean list
Show all grids/groups.
!sclean list all
Delete grids/groups.
!sclean delete
Show the current configuration.
!sclean info
For the latest commands see Github or use !longhelp
The source code is on GitHub
Ways to support the author directly