Juggernaut

Juggernaut 0.3.38

The config, data and lang files should be removed prior to updating. Read the overview for more information

Complete rewrite
Using player placed map marker to show juggernaut where to go (resets back to destination is removed/moved by the juggernaut)
Using radial map markers to show possible destinations
Added deployed flare only the juggernaut can see on finish point
Added tooltip for juggernaut instructions
Destinations are now randomly generated when the plugin loads
Time to make it to the destination is calculated by distance
Removed compass UI and added small UI depicting time remaining just above the hotbar (adjustable in config)
Removed LustyMap support
Removed shaded spheres from destination area
Team members, clan members and friends are all barred from issuing damage to the juggernaut
Team is cleared on join and the juggernaut can not leave or invite members to their team
Save and restore juggernauts previous team and map markers after event

Added config options for;
Travel time (distance per second)
Disable looting containers
Prevent mounting (vehicles/animals)
Remove attire (if juggernaut inventory is the prize)
Various options for radial map markers
  • Like
Reactions: ShuarS
Update default config with new image URLs. This will not overwrite your existing config!
Updated grid calculation to match new map
Disabled unused hooks when event is not active
Updated restore system
Replaced coordinate references with grid number and distance
Changed hook to fix blacklisted commands
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