JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser verwenden.
Script: Autoclean
Aufrufe
Aufrufe: 381
Letzte Aktualisierung
Letzte Aktualisierung: 05. Dez. 2024
Code:
<?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">
<_enableRanks>false</_enableRanks>
<_defaultRank>Default</_defaultRank>
<_overridePerms>false</_overridePerms>
<_enableHomes>false</_enableHomes>
<AutoCommands>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Name>Scheduled Restart 0</Name>
<Interval>23:00:00</Interval>
<Steps>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!admin runauto "Restart Timer"</Command>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Name>Scheduled Restart 6</Name>
<Interval>05:00:00</Interval>
<Steps>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!admin runauto "Restart Timer"</Command>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Name>Scheduled Restart 12</Name>
<Interval>11:00:00</Interval>
<Steps>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!admin runauto "Restart Timer"</Command>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Name>Scheduled Restart 18</Name>
<Interval>17:00:00</Interval>
<Steps>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!admin runauto "Restart Timer"</Command>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Scheduled</CommandTrigger>
<Name>Scheduled Restart 24</Name>
<Interval>23:00:00</Interval>
<Steps>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!admin runauto "Restart Timer"</Command>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Disabled</CommandTrigger>
<Name>Restart Manual</Name>
<Steps>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!restart 60</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:25</Delay>
<Command>!admin runauto "Restart Procedure"</Command>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Disabled</CommandTrigger>
<Name>Restart Timer</Name>
<Steps>
<CommandStep>
<Delay>00:30:00</Delay>
<Command>!say Restart in 1 hour!</Command>
</CommandStep>
<CommandStep>
<Delay>00:15:00</Delay>
<Command>!say Restart in 30 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:10:00</Delay>
<Command>!say Restart in 15 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:04:00</Delay>
<Command>!say Restart in 5 minutes!</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:05</Delay>
<Command>!restart 60</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:25</Delay>
<Command>!admin runauto "Restart Procedure"</Command>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Disabled</CommandTrigger>
<Name>Restart Procedure</Name>
<Steps>
<CommandStep>
<Delay>00:00:03</Delay>
<Command>!say Cleaning up the server...</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!say Deleting nobody grids and grids without beacon...</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!cleanup delete ownedby nobody playerdistancegreaterthan 1000</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!cleanup delete notype beacon playerdistancegreaterthan 1000</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:03</Delay>
<Command>!cleanup delete hasownertype npc hasgridtype ship playerdistancegreaterthan 1000</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!say Turning off projectors and ship tools...</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!blocks off type LargeBlockConsole</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!blocks off type Projector</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!blocks off type ShipWelder</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!blocks off type ShipGrinder</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:03</Delay>
<Command>!blocks off type Drill</Command>
</CommandStep>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!say Awaiting restart...</Command>
</CommandStep>
</Steps>
</AutoCommand>
<AutoCommand>
<CommandTrigger>Vote</CommandTrigger>
<Name>restart</Name>
<Interval>00:02:30</Interval>
<TriggerRatio>0.51</TriggerRatio>
<TriggerCount>0</TriggerCount>
<Steps>
<CommandStep>
<Delay>00:00:00</Delay>
<Command>!admin runauto "Restart Manual"</Command>
</CommandStep>
</Steps>
</AutoCommand>
</AutoCommands>
<InfoCommands />
<EnableRanks>false</EnableRanks>
<DefaultRank>Default</DefaultRank>
<OverrideVanillaPerms>false</OverrideVanillaPerms>
<EnableHomes>false</EnableHomes>
<MotdUrl />
<NewUserMotdUrl>true</NewUserMotdUrl>
<StopShipsOnStart>true</StopShipsOnStart>
<UtilityShowPosition>true</UtilityShowPosition>
<MarkerShowPosition>true</MarkerShowPosition>
<BackpackLimit>1</BackpackLimit>
<KnownSteamIds />
<CutGameTags>false</CutGameTags>
</EssentialsConfig>