This article provides an EXAMPLE configuration for Essentials.cfg. It is provided as is, and choosing to use it is at your own risk. We advise backups before using it in the event it provides functions you do not require.

For Torch and Essentials support you should join the Torch group on Discord. https://torchapi.net/

Features of this setup.

Automated Cleanups.
Deletes grids owned by pirates, with no beacons, owned by nobody and floating objects. Deletes grids not named with the word 'grid' to ensure good sim speed and performance.
Automated commands to turn off resource intensive blocks periodically.
Automated Restarts every 4 hours.
Automated commands for advertising a discord/donate.
Will auto eject people before restart. Log out prior to prevent this.

This essentials does not use the Torch !restart command due to it not providing a restart function with our SESM panel.

To enable automated restarts you must enable our panel restart function using the cron below. You should turn auto start on as well. Guidance on setting panel crons is here How to configure auto restart for Space Engineers

0 0 0/4 * * ?

Copy the code below to your Essentials.cfg

<?xml version="1.0" encoding="utf-8"?>
<EssentialsConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoCommands>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Compare>LessThan</Compare>
<Name>Restart</Name>
<ScheduledTime>03:44:00</ScheduledTime>
<Interval>00:00:00</Interval>
<TriggerRatio>0</TriggerRatio>
<TriggerCount>0</TriggerCount>
<DayOfWeek>All</DayOfWeek>
<Steps>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 15 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 10 Minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 5 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!say Restart in 1 minute!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!say Saving Game Before Restart!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!sandbox clean</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!entities eject all</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!save</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Compare>LessThan</Compare>
<Name>Restart</Name>
<ScheduledTime>07:44:00</ScheduledTime>
<Interval>00:00:00</Interval>
<TriggerRatio>0</TriggerRatio>
<TriggerCount>0</TriggerCount>
<DayOfWeek>All</DayOfWeek>
<Steps>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 15 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 10 Minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 5 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!say Restart in 1 minute!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!say Saving Game Before Restart!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!sandbox clean</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!entities eject all</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!save</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Compare>LessThan</Compare>
<Name>Restart</Name>
<ScheduledTime>11:44:00</ScheduledTime>
<Interval>00:00:00</Interval>
<TriggerRatio>0</TriggerRatio>
<TriggerCount>0</TriggerCount>
<DayOfWeek>All</DayOfWeek>
<Steps>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 15 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 10 Minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 5 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!say Restart in 1 minute!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!say Saving Game Before Restart!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!sandbox clean</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!entities eject all</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!save</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Compare>LessThan</Compare>
<Name>Restart</Name>
<ScheduledTime>15:44:00</ScheduledTime>
<Interval>00:00:00</Interval>
<TriggerRatio>0</TriggerRatio>
<TriggerCount>0</TriggerCount>
<DayOfWeek>All</DayOfWeek>
<Steps>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 15 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 10 Minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 5 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!say Restart in 1 minute!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!say Saving Game Before Restart!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!sandbox clean</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!entities eject all</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!save</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Compare>LessThan</Compare>
<Name>Restart</Name>
<ScheduledTime>19:44:00</ScheduledTime>
<Interval>00:00:00</Interval>
<TriggerRatio>0</TriggerRatio>
<TriggerCount>0</TriggerCount>
<DayOfWeek>All</DayOfWeek>
<Steps>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 15 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 10 Minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 5 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!say Restart in 1 minute!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!say Saving Game Before Restart!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!sandbox clean</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!entities eject all</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!save</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Compare>LessThan</Compare>
<Name>Restart</Name>
<ScheduledTime>23:44:00</ScheduledTime>
<Interval>00:00:00</Interval>
<TriggerRatio>0</TriggerRatio>
<TriggerCount>0</TriggerCount>
<DayOfWeek>All</DayOfWeek>
<Steps>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 15 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 10 Minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Restart in 5 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!say Restart in 1 minute!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!say Saving Game Before Restart!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!sandbox clean</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!entities eject all</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!save</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Timed</CommandTrigger>
<Compare>LessThan</Compare>
<Name>SimBoost</Name>
<ScheduledTime>00:00:00</ScheduledTime>
<Interval>00:25:00</Interval>
<TriggerRatio>0</TriggerRatio>
<TriggerCount>0</TriggerCount>
<DayOfWeek>All</DayOfWeek>
<Steps>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!say Use "!Donate" To Help Support Us</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!say Use "!Discord" To Join Discord</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Turning off Projectors/ShipTools/Timers/BuildRepair/Production/Rotors/Pistons in 10 Minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Turning off Projectors/ShipTools/Timers/BuildRepair/Production/Rotors/Pistons in 5 Minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type Projector</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type Drill</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type ShipWelder</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type ShipGrinder</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type TimerBlock</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type SELtdNanobotBuildAndRepairSystem</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off subtype SELtdLargeNanobotBuildAndRepairSystem</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type Assembler</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type Refinery</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type MotorStator</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type MotorAdvancedStator</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type PistonBase</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!blocks off type ExtendedPistonBase</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Server Cleanup Cleanup In 15 Minutes!!! All Grids Need To Have A Beacon On Them Be Owned By You And Not Have The Word "Grid" In The Name!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Server Cleanup Cleanup In 10 Minutes!!! All Grids Need To Have A Beacon On Them Be Owned By You And Not Have The Word "Grid" In The Name!</Command>
</CommandStep>
<CommandStep>
<Delay>00:05:00</Delay>
<Command>!say Server Cleanup Cleanup In 5 Minutes!!! All Grids Need To Have A Beacon On Them Be Owned By You And Not Have The Word "Grid" In The Name!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:30</Delay>
<Command>!say Server Cleanup Cleanup In 1 Minute!!! All Grids Need To Have A Beacon On Them Be Owned By You And Not Have The Word "Grid" In The Name!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!cleanup delete notype Beacon</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!cleanup delete ownedby pirates </Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!cleanup delete ownedby nobody</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!cleanup delete name ^.*Grid.*$ </Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!cleanup delete floatingobjects</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
</CommandStep>
</Steps>
</AutoCommand>
</AutoCommands>
<InfoCommands>
<InfoCommand>
<Command>!supportus</Command>
<URL>URLGOESHERE</URL>
</InfoCommand>
<InfoCommand>
<Command>!Discord</Command>
<URL>URLGOESHERE</URL>
</InfoCommand>
<InfoCommand>
<Command>!Donate</Command>
<URL>URLGOESHERE</URL>
</InfoCommand>
</InfoCommands>
<Motd>MOTD GOES HERE</Motd>
<NewUserMotdUrl>true</NewUserMotdUrl>
<StopShipsOnStart>false</StopShipsOnStart>
<UtilityShowPosition>false</UtilityShowPosition>
<MarkerShowPosition>false</MarkerShowPosition>
<BackpackLimit>1</BackpackLimit>
<KnownSteamIds>
</KnownSteamIds>
<PackRespawn>false</PackRespawn>
<MaxPackedRespawnSize>0</MaxPackedRespawnSize>
<EnableClientTweaks>true</EnableClientTweaks>
<EnableToolbarOverride>false</EnableToolbarOverride>
<CompressionLevel>Optimal</CompressionLevel>
<AsyncJoin>false</AsyncJoin>
<PackPlanets>false</PackPlanets>
</EssentialsConfig>
Was this article helpful?
Cancel
Thank you!