Guest User

[AutoBases] Config example

a guest
Nov 18th, 2021
81
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Example Config:
  2. {
  3.  
  4.   "AccountKey": "",
  5.  
  6.   "NumOfStructuresPerBatch": 100, // Number of structures to process per second. If you
  7.  
  8.   "DestroyAllBasesOnStartup": true, // If true all auto bases (those tracked) will be destroyed. If false they will be tracked again and added to active bases
  9.  
  10.   "SaveInventoryItemsWhenCreatingTemplate": true, // If true all inventory items inside structures will be saved to template file when creating a new template. Custom stats and cryopod dinos will not be kept.
  11.  
  12.   "AutoSpawn": { // Auto spawn system. Template names here will opt-in to auto spawn
  13.  
  14.     "Raid1": 60 // TemplateName: minutes. Every X minutes a base of TemplateName will be attempted to be spawned on a free location of the ones in the template's list
  15.  
  16.   },
  17.  
  18.   "OnBaseSpawn": { // Behaviour when a base spawns
  19.  
  20.     "CheckForPlayerStructures": true, // If true plugin will check for nearby player structures, and act depending on below config options:
  21.  
  22.     "BlockSpawningIfPlayerStructuresFound": true, // If true, base won't be spawned if found any nearby player-built structure in range (range defined below)
  23.  
  24.     "RangeToCheckForStructures": 15000,
  25.  
  26.     "DestroyNearbyStructuresOnSpawn": true, // If the above option is false, and this one is true nearby player structures will be destroyed prior spawning the base
  27.  
  28.     "RangeToDestroyStructures": 15000
  29.  
  30.   },
  31.  
  32.   "ItemPresets": { // Item presets that can be added to config templates without needing to add again the same item entries. These ones go into the "ItemPresets" template config. Example: "ItemPresets":"loot1, loot2"
  33.  
  34.     "loot1": [
  35.  
  36.       {
  37.  
  38.         "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItem_WeaponMetalHatchet.PrimalItem_WeaponMetalHatchet'", // Blueprint of the item
  39.  
  40.         "Amount": 1, // Amount to give (if amount is greater than stack size, it will give multiple items still :)
  41.  
  42.         "Quality": 0, // Quality index of the item
  43.  
  44.         "IsBlueprint": false,
  45.  
  46.         "Stats": { // Custom stats
  47.  
  48.           "MinDamage": 100, // Min damage of the weapon (stat is chosen randomly between min/max)
  49.  
  50.           "MaxDamage": 200, // Max damage of the weapon
  51.  
  52.           "MinDurability": 200, // Min Durability of the item
  53.  
  54.           "MaxDurability": 1000 // Max durability of the item
  55.  
  56.         }
  57.  
  58.       },
  59.  
  60.       {
  61.  
  62.         "Blueprint": "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_ParaSaddle.PrimalItemArmor_ParaSaddle'", // Blueprint of the item
  63.  
  64.         "Amount": 1, // Amount to give (if amount is greater than stack size, it will give multiple items still :)
  65.  
  66.         "Quality": 0, // Quality index of the item
  67.  
  68.         "IsBlueprint": false,
  69.  
  70.         "Stats": { // Custom stats
  71.  
  72.           "MinArmor": 20, // Min armor of the saddle
  73.  
  74.           "MaxArmor": 100 // Max armor of the saddle
  75.  
  76.         }
  77.  
  78.       },
  79.  
  80.       {
  81.  
  82.         "Blueprint": "Blueprint'/Game/Extinction/CoreBlueprints/Weapons/PrimalItem_WeaponEmptyCryopod.PrimalItem_WeaponEmptyCryopod'", // Item bp
  83.  
  84.         "IsCryopod": true, // If it's a cryopod
  85.  
  86.         "Dino": { // Cryopod's dino info
  87.  
  88.           "Blueprint": "", // Dino bp
  89.  
  90.           "SaddleBlueprint": "", // Saddle bp (if any)
  91.  
  92.           "Level": 300, // Dino level
  93.  
  94.           "Neutered": false, // Is neutered / spayed?
  95.  
  96.           "Stats": { // Stat points of the dino. These should be (Dino Level - 1), so if dino is level 300, sum of all stats should be 299. If the sum is not correct, stats will be randomized until correct sum met
  97.  
  98.             "Health": 50,
  99.  
  100.             "Stamina": 20,
  101.  
  102.             "Oxygen": 10,
  103.  
  104.             "Food": 20,
  105.  
  106.             "Weight": 100,
  107.  
  108.             "MeleeDamageMultiplier": 50,
  109.  
  110.             "SpeedMultiplier": 40
  111.  
  112.           }
  113.  
  114.         }
  115.  
  116.       }
  117.  
  118.     ]
  119.  
  120.   },
  121.  
  122.   "Messages": {
  123.  
  124.     "MessageSender": "AutoBases",
  125.  
  126.     "BaseSpawned": { // Message options when a base is spawned
  127.  
  128.       "BroadcastInChat": true, // Send a chat message to everyone ingame
  129.  
  130.       "BroadcastNotification": true, // Send a top-screen notification to everyone online
  131.  
  132.       "SendToDiscord": true, // Send a discord webhook when a base is spawned
  133.  
  134.       "Notification": { // {base} = base template name. {lat} {lon} = map coords.
  135.  
  136.         "Text": "{base} has been spawned at {lat} lat {lon} lon, raid it to be the first to get the loot!",
  137.  
  138.         "DisplayTime": 10,
  139.  
  140.         "DisplayScale": 2,
  141.  
  142.         "Color": [ 0, 255, 0 ]
  143.  
  144.       },
  145.  
  146.       "Chat": {
  147.  
  148.         "Text": "{base} has been spawned at {lat} lat {lon} lon, raid it to be the first to get the loot!",
  149.  
  150.         "SenderName": "Auto Bases"
  151.  
  152.       },
  153.  
  154.       "Discord": {
  155.  
  156.         "WebhookUrl": "",
  157.  
  158.         "Username": "{map}",
  159.  
  160.         "Text": "{base} has been spawned at {lat} lat {lon} lon, raid it to be the first to get the loot! @everyone"
  161.  
  162.       }
  163.  
  164.     },
  165.  
  166.     "BaseDestroyed": {
  167.  
  168.       "Notification": {
  169.  
  170.         "Text": "{base} has been destroyed and is no longer available",
  171.  
  172.         "DisplayTime": 10,
  173.  
  174.         "DisplayScale": 2,
  175.  
  176.         "Color": [ 255, 0, 0 ]
  177.  
  178.       },
  179.  
  180.       "Chat": {
  181.  
  182.         "Text": "{base} has been destroyed and is no longer available",
  183.  
  184.         "SenderName": "Auto Bases"
  185.  
  186.       },
  187.  
  188.       "Discord": {
  189.  
  190.         "WebhookUrl": "",
  191.  
  192.         "Username": "{map}",
  193.  
  194.         "Text": "{base} has been destroyed and is no longer available @here"
  195.  
  196.       }
  197.  
  198.  
  199.  
  200.     }
  201.  
  202.   },
  203.  
  204.   "Commands": { // Chat commands
  205.  
  206.     "ShowActiveBases": { // Command to show current active bases
  207.  
  208.       "Enabled": true, // If command is enabled
  209.  
  210.       "Command": "/bases" // Command text
  211.  
  212.     }
  213.  
  214.   }
  215.  
  216. }
RAW Paste Data