Juggernaut

Juggernaut 0.3.39

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
  }
}
This update is untested! I don't have the means to test it at this stage

Possible fix for icons, actually looks like a mistake when a player wins the event
Fixed juggernaut cash prizes, it is claimed the same way as items through the chat command
The config has changed! See below for information regarding config changes

Added option to give RP or Economics money to the winner
Added option to remove the juggernauts loot when they die
Added global broadcast when a player becomes a juggernaut candidate

Config changes (6 lines)
C#:
{
  "EventConditions": {
    "MinimumPlayersToOpen": 10,
    "PercentageEntrantsToStart": 0.6
  },
  "EventTimers": {
    "TimeBeforeSelection": 120,
    "TimeBetweenEvents": 3600,
    "TimeToCompleteJourney": 900
  },
  "GameOptions": {
    "BroadcastJuggernautPositionEvery": 0,
    "BroadcastToLustyMap": false,
    "SecondsToDisplayOnLM": 5
  },
  "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": { // Add from this line
    "MoneyRewardAmount": 0,
    "UseEconomics": false,
    "UseJuggernautInventory": true,
    "UseServerRewards": false
  }, // To this line
  "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
  }
}
Fixed repeating timer
Added console command 'jug clearicon' to remove any leftover map icons
The config has changed! See below for information regarding updating your existing config

Added option to disable damage from landmines
Added option to disable damage from beartraps
Added option to disable fall damage
Added a repeating message on a 45 second loop when the event opens
Disabled console suicides
Now clears loot if the juggernaut somehow commits suicide to prevent abuse

Config Changes (3 lines)
C#:
{
  "EventConditions": {
    "MinimumPlayersToOpen": 10,
    "PercentageEntrantsToStart": 0.6
  },
  "EventTimers": {
    "TimeBeforeSelection": 120,
    "TimeBetweenEvents": 3600,
    "TimeToCompleteJourney": 900
  },
  "GameOptions": {
    "BroadcastJuggernautPositionEvery": 0,
    "BroadcastToLustyMap": false,
    "SecondsToDisplayOnLM": 5
  },
  "JuggernautSettings": {
    "AttackDamageModifier": 1.5,
    "CanDamageStructures": true,
    "DefenseDamageModifier": 0.5,
    "DisableBeartrapDamage": false, // Add this line
    "DisableFallDamage": false, // Add this line
    "DisableLandmineDamage": false, // Add this line
    "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
  },
  "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
  }
}
  • Like
Reactions: Pur3x