Juggernaut

Juggernaut 0.3.36

Fix for Rust update
The config has changed! See below for information regarding updating your config

Added blueprint support to inventory save and restoration
Added blueprint support to juggernaut inventory items in config

Config Changes - For each item in Juggernaut Settings/Inventory contents you need to add "Is this item a blueprint?": false,
C#:
{
  "Event Conditions": {
    "The minimum amount of players on the server required to open the event": 10,
    "The percentage of server players required for the event to start": 0.6
  },
  "Event Timers": {
    "Amount of time between events (seconds)": 3600,
    "Amount of time the entry process will remain open (seconds)": 120,
    "Amount of time to complete journey (seconds)": 900
  },
  "Game Settings": {
    "Blacklisted commands for event players": [
      "s",
      "tp",
      "tpa",
      "tpr",
      "home"
    ],
    "Broadcast the juggernauts position to chat every X seconds": 0,
    "Broadcast the juggernauts position to LustyMap ever X seconds": false,
    "Destination sphere darkness": 5,
    "The amount of time the juggernauts position will remain on LustyMap if enabled (seconds)": 5
  },
  "Juggernaut Settings": {
    "Attack damage modifier": 1.5,
    "Can damage structures": true,
    "Defense damage modifier": 0.5,
    "Disable beartrap damage": false,
    "Disable fall damage": false,
    "Disable landmine damage": false,
    "Inventory contents": [
      {
        "Amount of item": 1,
        "Container (main, wear or belt)": "wear",
        "Is this item a blueprint?": false, // Example line add here
        "Item shortname": "heavy.plate.pants",
        "Item skin ID": 0
      },
      {
        "Amount of item": 1,
        "Container (main, wear or belt)": "wear",
        "Is this item a blueprint?": false, [I]// Example line add here[/I]
        "Item shortname": "heavy.plate.jacket",
        "Item skin ID": 0
      },
      {
        "Amount of item": 1,
        "Container (main, wear or belt)": "wear",
        "Is this item a blueprint?": false,
        "Item shortname": "heavy.plate.helmet",
        "Item skin ID": 0
      },
      {
        "Amount of item": 1,
        "Container (main, wear or belt)": "belt",
        "Is this item a blueprint?": false,
        "Item shortname": "lmg.m249",
        "Item skin ID": 0
      },
      {
        "Amount of item": 500,
        "Container (main, wear or belt)": "main",
        "Is this item a blueprint?": false,
        "Item shortname": "ammo.rifle.explosive",
        "Item skin ID": 0
      },
      {
        "Amount of item": 3,
        "Container (main, wear or belt)": "belt",
        "Is this item a blueprint?": false,
        "Item shortname": "grenade.f1",
        "Item skin ID": 0
      },
      {
        "Amount of item": 3,
        "Container (main, wear or belt)": "belt",
        "Is this item a blueprint?": false,
        "Item shortname": "syringe.medical",
        "Item skin ID": 0
      }
    ],
    "Start with full metabolism": true
  },
  "LustyMap Integration": {
    "Show the destination icon on the map": true,
    "The amount of possible destinations to show": 1
  },
  "Reward Settings": {
    "Allow players to loot juggernaut as a prize": true,
    "Monetary amount": 0,
    "Use Economics money as a prize": false,
    "Use ServerRewards money as a prize": false
  },
  "UI Settings": {
    "Compass positioning": {
      "Horizontal dimensions": 0.11,
      "Horizontal start position (left)": 0.725,
      "Vertical dimensions": 0.05,
      "Vertical start position (bottom)": 0.026
    },
    "Display a timer showing how long the juggernaut has to get to their destination": true,
    "Show the juggernaut their position so they can navigate": true,
    "The URL of the juggernaut icon": "http://www.chaoscode.io/oxide/Images/juggernaut_icon.png",
    "Timer positioning": {
      "Horizontal dimensions": 0.07,
      "Horizontal start position (left)": 0.65,
      "Vertical dimensions": 0.05,
      "Vertical start position (bottom)": 0.026
    },
    "UI background color (hex)": "#4C4C4C",
    "UI opacity (0.0 - 1.0)": 0.7
  }
}
Another missed derp
Added all tp commands to blacklist
Fixed my derp
  • Like
Reactions: DoC
The config has changed! Backup your config and delete it before updating

Reworked config
Added config option "Blacklisted Commands" to disable any chat command for the juggernaut
Fix for Rust update
  • Like
Reactions: DoC
Possible fix for inventory strip NRE
Updated to use LustyMap v2.1.2 If you are using the map marker stuff be sure to update that before this!

Fixed spheres not being destroyed
Now using the temporary marker API
Additional checks in attempt to remove left over map markers
  • Like
Reactions: VinylFresh
Players joining an event (EventManager) will be removed from the juggernaut list
Sleeping or dead players no longer can be the juggernaut
The config has changed! See below for more information regarding config changes

Added config option to stack spheres to increase its darkness

Config Changes (1 line)
C#:
{
  "EventConditions": {
    "MinimumPlayersToOpen": 10,
    "PercentageEntrantsToStart": 0.6
  },
  "EventTimers": {
    "TimeBeforeSelection": 120,
    "TimeBetweenEvents": 3600,
    "TimeToCompleteJourney": 900
  },
  "GameOptions": {
    "BroadcastJuggernautPositionEvery": 0,
    "BroadcastToLustyMap": false,
    "SecondsToDisplayOnLM": 5, // Add the comma from the end of this line
    "SphereDarkness": 5 // Add this line here
  },
  "JuggernautSettings": {
    "AttackDamageModifier": 1.5,
    "CanDamageStructures": true,
    "DefenseDamageModifier": 0.5,
    "DisableBeartrapDamage": false,
    "DisableFallDamage": false,
    "DisableLandmineDamage": false,
    "Inventory": [
      {
        "Amount": 1,
        "Container": "wear",
        "Shortname": "heavy.plate.pants",
        "SkinID": 0
      },
      {
        "Amount": 1,
        "Container": "wear",
        "Shortname": "heavy.plate.jacket",
        "SkinID": 0
      },
      {
        "Amount": 1,
        "Container": "wear",
        "Shortname": "heavy.plate.helmet",
        "SkinID": 0
      },
      {
        "Amount": 1,
        "Container": "belt",
        "Shortname": "lmg.m249",
        "SkinID": 0
      },
      {
        "Amount": 500,
        "Container": "main",
        "Shortname": "ammo.rifle.explosive",
        "SkinID": 0
      },
      {
        "Amount": 3,
        "Container": "belt",
        "Shortname": "grenade.f1",
        "SkinID": 0
      },
      {
        "Amount": 3,
        "Container": "belt",
        "Shortname": "syringe.medical",
        "SkinID": 0
      }
    ],
    "StartWithFullMetabolism": true
  },
  "LustyMapIntegration": {
    "DestinationAmount": 1,
    "ShowDestinationIcon": true
  },
  "Prizes": {
    "MoneyRewardAmount": 0,
    "UseEconomics": false,
    "UseJuggernautInventory": true,
    "UseServerRewards": false
  },
  "UISettings": {
    "CompassPosition": {
      "XDimension": 0.11,
      "XPosition": 0.725,
      "YDimension": 0.05,
      "YPosition": 0.026
    },
    "IconUrl": "http://www.chaoscode.io/oxide/Images/juggernaut_icon.png",
    "ShowCoordsToJuggernaut": true,
    "ShowUITimer": true,
    "TimerPosition": {
      "XDimension": 0.07,
      "XPosition": 0.65,
      "YDimension": 0.05,
      "YPosition": 0.026
    },
    "UIBackgroundColor": "#4C4C4C",
    "UIOpacity": 0.7
  }
}