Skip to content

Конфигурация

Конфигурация

<?xml version="1.0" encoding="utf-8"?>
<WipeSchedulerConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <WipeEvery>14</WipeEvery>
  <IconUrl>https://i.imgur.com/QPUMT74.png</IconUrl>
  <WipeMessage>{color=red}{size=20}Server will be getting wiped soon!{/size}{/color}</WipeMessage>
  <MessagesInterval>300</MessagesInterval>
  <EnableWebhook>true</EnableWebhook>
  <WebhookUrl>https://discordapp.com/api/webhooks/{webhook.id}/{webhook.token}</WebhookUrl>
  <DayRemainderWebhook>
    <username>{ServerName}</username>
    <embeds>
      <Embed>
        <description>{ServerName} will be getting wiped tomorrow!</description>
        <color>16632072</color>
      </Embed>
    </embeds>
  </DayRemainderWebhook>
  <WipeWebhook>
    <username>{ServerName}</username>
    <embeds>
      <Embed>
        <description>This server on map {Map} will be wiped today {WipeDate}. After this wipe next one will be on {NextWipe}. Be sure to play after wipe! ```{IP}:{Port}```</description>
        <color>16632072</color>
      </Embed>
    </embeds>
  </WipeWebhook>
</WipeSchedulerConfiguration>

Лист перевода

<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="Wipe_Now" Value="Next will be soon today!" />
  <Translation Id="Wipe_In" Value="Next wipe will be in {0}!" />
  <Translation Id="Last_Wipe_At" Value="Last wipe was at {0}!" />
</Translations>