Advertisement
Guest User

Untitled

a guest
Jun 21st, 2021
604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.32 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <PlayerDecayConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  3.   <DefaultDecayStyle>Instant</DefaultDecayStyle> <!-- Style of the decay, only Instant and Gradual are supported. -->
  4.   <DefaultCycleTime>-1</DefaultCycleTime> <!-- The time (in seconds) before the check and damage of the player decays to occur. -->
  5.   <SendDiscordWebhookOnCycle>false</SendDiscordWebhookOnCycle> <!-- If a webhook should be sent when the cycle time is reached. -->
  6.   <DiscordWebhookUrl>https://discordapp.com/api/webhooks/XXXXX/YYYYYYY</DiscordWebhookUrl>
  7.   <DiscordWebhookColorInteger>7829368</DiscordWebhookColorInteger> <!-- A number that represents a color. See: https://www.mathsisfun.com/hexadecimal-decimal-colors.html -->
  8.   <ShowCustomLoginMessage>true</ShowCustomLoginMessage> <!-- If a custom message should be shown to the player when they join. Said message will include details of if anything happened decay wise whilst they were offline. -->
  9.   <ShowCustomLoginMessageOnlyIfCycled>true</ShowCustomLoginMessageOnlyIfCycled> <!-- Forces the above enabled message to only send if a cycle has happened. -->
  10.   <DefaultInstantSettings> <!-- Settings to modify instant decays. -->
  11.     <TimerStyle>Stop</TimerStyle> <!-- The style that the timer should replicate. Possible values are: Stop, Reset, None -->
  12.     <StorageDropsContentsOnDecay>true</StorageDropsContentsOnDecay> <!-- Enables/disables the dropping of items from lockers if a locker is decayed. -->
  13.     <GroupStatusMatters>false</GroupStatusMatters> <!-- If decays should reset themselves if the player's group is still online. -->
  14.   </DefaultInstantSettings>
  15.   <DefaultGradualSettings> <!-- Settings to modify gradual decays. -->
  16.     <DecayDamage>15</DecayDamage> <!-- The amount of damage (as raw damage values) to deal. -->
  17.     <DamageIsPercent>false</DamageIsPercent> <!-- If the above damage value should be considered a percentage of total health rather than a raw value. -->
  18.     <DamageOverrides> <!-- A list of overrides to this default damage. -->
  19.       <DamageOverride>
  20.         <Damage>5</Damage>
  21.         <DamageIsPercent>false</DamageIsPercent>
  22.         <Items> <!-- A list of all the items that override the damage with the specific damage values above. -->
  23.           <ItemId>371</ItemId>
  24.         </Items>
  25.       </DamageOverride>
  26.     </DamageOverrides>
  27.   </DefaultGradualSettings>
  28.   <CustomDecays> <!-- A list of custom override settings per player. -->
  29.     <CustomPlayerDecay>
  30.       <DecayStyle>Instant</DecayStyle>
  31.       <Permission>decay.vip</Permission> <!-- The permission for this custom configuration to apply. -->
  32.       <CycleTime>172800</CycleTime>
  33.       <SendDiscordWebhookOnCycle>false</SendDiscordWebhookOnCycle>
  34.       <DiscordWebhookUrl />
  35.       <DiscordWebhookColorInteger>0</DiscordWebhookColorInteger>
  36.       <ShowCustomLoginMessage>true</ShowCustomLoginMessage>
  37.       <ShowCustomLoginMessageOnlyIfCycled>true</ShowCustomLoginMessageOnlyIfCycled>
  38.       <InstantDecaySettings>
  39.         <TimerStyle>Stop</TimerStyle>
  40.         <StorageDropsContentsOnDecay>false</StorageDropsContentsOnDecay>
  41.         <GroupStatusMatters>true</GroupStatusMatters>
  42.       </InstantDecaySettings>
  43.       <GradualDecaySettings>
  44.         <DecayDamage>5</DecayDamage>
  45.         <DamageIsPercent>false</DamageIsPercent>
  46.         <DamageOverrides />
  47.       </GradualDecaySettings>
  48.     </CustomPlayerDecay>
  49.     <CustomPlayerDecay>
  50.       <DecayStyle>Gradual</DecayStyle>
  51.       <Permission>decay.admin</Permission>
  52.       <CycleTime>-1</CycleTime>
  53.       <SendDiscordWebhookOnCycle>false</SendDiscordWebhookOnCycle>
  54.       <DiscordWebhookUrl />
  55.       <DiscordWebhookColorInteger>0</DiscordWebhookColorInteger>
  56.       <ShowCustomLoginMessage>false</ShowCustomLoginMessage>
  57.       <ShowCustomLoginMessageOnlyIfCycled>false</ShowCustomLoginMessageOnlyIfCycled>
  58.       <InstantDecaySettings>
  59.         <TimerStyle>Reset</TimerStyle>
  60.         <StorageDropsContentsOnDecay>false</StorageDropsContentsOnDecay>
  61.         <GroupStatusMatters>false</GroupStatusMatters>
  62.       </InstantDecaySettings>
  63.       <GradualDecaySettings>
  64.         <DecayDamage>0</DecayDamage>
  65.         <DamageIsPercent>false</DamageIsPercent>
  66.         <DamageOverrides />
  67.       </GradualDecaySettings>
  68.     </CustomPlayerDecay>
  69.   </CustomDecays>
  70. </PlayerDecayConfiguration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement