Logic Base Guardian
Author:
Downloads: 11,541
File Size: 142.4 KB
Created:
Updated:
Mod ID: 1230817
Categories:

Logic Base Guardian

Protects structures from a routine structure purge

Commissioned by Logic Ark

At server startup, a cleanup process runs to help maintain a well-organized game world. During this process, any structures located outside designated flag zones, used to mark bases, will be automatically removed. This ensures that all player builds remain within intended boundaries and helps keep the environment optimized and fair for everyone.

Configs

[LogicBaseGuardian]
ItemsIgnoreDestruction=
DiscordWebhookDelaySeconds=0
TimeOutsideFlagsBeforeDestroySeconds=604800.0
DiscordWebhookUrl=
DebugMode=False
DisableFlags=True
FlagSizeSmall=3000
FlagSizeLarge=9000
FlagSizeAdminMax=30000
MaxSmallFlagsPerTribe=2
MaxLargeFlagsPerTribe=1
MaxTotalFlagsPerTribe=-1
FlagSizeShop=9000
MaxShopFlagsPerTribe=1
NoDamageOnAdminFlags=False

Explained:

ItemsIgnoreDestruction=item_class_code,item_class_code
DiscordWebhookDelaySeconds=Delay in seconds after purge, BEFORE webhook message sent. Largely unnecessary.
TimeOutsideFlagsBeforeDestroySeconds=Amount of time in seconds that a structure is allowed to exist BEFORE it will be purged(on next cycle).
DiscordWebhookUrl=Webhook url for purge details. Wrap in quotes. ie: "SOME_URL_HERE"
DebugMode: If true will log tons of data.
DisableFlags=If true, no purge will occur. Default: True
FlagSizeSmall=Size of small flags
FlagSizeLarge=Size of large flags
FlagSizeAdminMax=Max size of admin flags
MaxSmallFlagsPerTribe=Max amount of small flags per tribe
MaxLargeFlagsPerTribe=Max amount of large flags per tribe
MaxTotalFlagsPerTribe=Max amount TOTAL of all flags. -1 is infinite
NoDamageOnAdminFlags=If true, admin flags do not take damage. Default: false
FlagSizeShop=Size of shop flags
MaxShopFlagsPerTribe=Max amount of shop flags per tribe

Notes

ItemsIgnoreDestruction: While the purge will not destroy these classes directly, if they are say Smithy's and on top of foundations, the foundation being destroy could cause them to be destroyed indirectly.
MaxTotalFlagsPerTribe: This is a max total amount(small + large + shop), regardless of the max small/large/shop setting.

Admin

EngramEntry_LogicBaseGuardian_Large_C
EngramEntry_LogicBaseGuardian_Small_C

cheat giveitem "/LogicBaseGuardian/Structures/Admin/PrimalItem_LogicBaseGuardian_Admin.PrimalItem_LogicBaseGuardian_Admin" 1 0 0
cheat giveitem "/LogicBaseGuardian/Structures/Large/PrimalItem_LogicBaseGuardian_Large.PrimalItem_LogicBaseGuardian_Large" 1 0 0
cheat giveitem "/LogicBaseGuardian/Structures/Shop/PrimalItem_LogicBaseGuardian_Shop.PrimalItem_LogicBaseGuardian_Shop" 1 0 0
cheat giveitem "/LogicBaseGuardian/Structures/Small/PrimalItem_LogicBaseGuardian_Small.PrimalItem_LogicBaseGuardian_Small" 1 0 0

Custom Welcome/Rules Message

Accessible via the radial menu, always.
Admins can configure it to only display the message to users when under certain level requirements.

Text Formatting:
<h1>Biggest</>
<h2>Bigger</>
<h3>Big</>
<h4>Less Big</>
<h5>Slightly Big</>
<strong>Bold</>
<em>CAPS</>
<u>Underline</>
<RichColor color="r,g,b,a">Red, Green, Blue, Alpha, from 0.0 to 1.0</>

Join My Discord

Donate Donate