Juggernaut

Juggernaut 0.3.35

This is a mini-event where 1 player becomes a juggernaut who must make it from 1 point to a final destination in a certain amount of time.
It is the other players objective to find and kill the juggernaut before he makes it to the end.
If the juggernaut makes it to the destination in time without being killed he wins the event, however if a player kills him before he gets there the attacker wins and the juggernaut loses

juggernaut2.png

juggernaut1.png


A few notes;
- Juggernaut starting positions and destinations are randomly generated when the plugin loads.
- There are options in the config to adjust how much damage the juggernaut can deal and receive
- When the event opens players will be prompted to join. The juggernaut is randomly selected from the players who register as a contestant
- There are multiple options that allow hinting the juggernauts position and destination to the players trying to kill him. You can display possible destinations in the form of radial map markers, or have the juggernauts approximate grid coordinates posted to chat

Permission
juggernaut.canenter - This is required for players to enter the draw to be the juggernaut

Chat Commands
/juggernaut - Shows the menu
/juggernaut enter - Registers the player to be in the draw to become the juggernaut
/juggernaut leave - Removes the players name from the draw to become the juggernaut
/juggernaut claim - Used by a juggernaut who has won a match to claim the inventory (only accessible is inventory is selected as a prize in the config)

/juggernaut open - Force open a match (Requires admin)
/juggernaut start - Force start a match (Requires admin)
/juggernaut cancel - Force cancel a match (Requires admin)

Console Commands (only accessible via rcon)
juggernaut open - Force open a match
juggernaut start - Force start a match
juggernaut cancel - Force cancel a match

Creating the prizes / Juggernaut inventory
The prize can be either whatever is left in the juggernauts inventory, RP, Economics points or any combination of them.
The juggernauts inventory containers will be locked so only what is in the hotbar will be accessible to use during the match. This way you can fill the main inventory container with prize items.
Example item:
C#:
{
        "Item shortname": "lmg.m249",
        "Amount of item": 1,
        "Item skin ID": 0,
        "Is this item a blueprint?": false,
        "Container (main, wear or belt)": "belt",
        "Slot Number": 0,
        "Item contents (shortname's)": [
          "weapon.mod.lasersight",
          "weapon.mod.muzzleboost"
        ]
      },
You set items using the item shortname, select how much of the item to give, a skin ID, and container (The container types are "wear", "belt" and "main")

You can also select which inventory slot the item should be placed. If you have no preference then set the slot number to -1

End of the match and how to claim prizes (regarding inventory as prize)
If a player kills the juggernaut they will be able to loot his body as you normally would. However if the juggernaut wins the match he will be completely restored to his previous state before the game started.
Once he has gone home and dropped his gear into boxes he can type "/juggernaut claim" which will give him all the items from the juggernaut inventory he had on him when he won the event

Config Options
Juggernaut Settings
"Defense damage modifier" - Scales damage dealt to the Juggernaut by this amount
"Attack damage modifier" - Scales damage dealt by the Juggernaut by this amount
"Can damage structures" - Allows the Juggernaut to damage buildings
"Can loot containers and players" - Allows the Juggernaut to loot containers and players
"Start with full metabolism" - Resets the juggernauts metabolism when the event starts
"Disable landmine damage" - Disable damage dealt to the Juggernaut by land mines
"Disable beartrap damage": - Disable damage dealt to the Juggernaut by bear traps
"Disable fall damage" - Disable fall damage dealt to the Juggernaut
"Prevent mounting vehicles and animals" - Disable the ability to mount vehicles and animals
"Inventory contents" - The items the Juggernaut is given when the event starts

Event Timers
"Amount of time to complete journey (distance per second)" - The amount of meters the Juggernaut is expected to travel per second (walking speed is ~2.7 and running speed is ~4.9)
"Amount of time between events (seconds)" - The amount of time between automated events
"Amount of time the entry process will remain open (seconds)" - The amount of time players will be able to register as a contestant

Map Markers
"Show radial map markers on possible juggernaut destinations" - Shows radial map markers for possible destinations on the map as depicted in the image above
"Amount of possible destinations to show" - The amount of fake destinations markers to place on the map
"Marker radius" - The radius of the map marker (this should be a small number)

Config
C#:
{
  "Juggernaut Settings": {
    "Defense damage modifier": 0.5,
    "Attack damage modifier": 1.25,
    "Can damage structures": true,
    "Can loot containers and players": true,
    "Start with full metabolism": true,
    "Disable landmine damage": false,
    "Disable beartrap damage": false,
    "Disable fall damage": false,
    "Prevent mounting vehicles and animals": true,
    "Inventory contents": [
      {
        "Item shortname": "scientistsuit_heavy",
        "Amount of item": 1,
        "Item skin ID": 0,
        "Is this item a blueprint?": false,
        "Container (main, wear or belt)": "wear",
        "Slot Number": -1,
        "Item contents (shortname's)": null
      },
      {
        "Item shortname": "lmg.m249",
        "Amount of item": 1,
        "Item skin ID": 0,
        "Is this item a blueprint?": false,
        "Container (main, wear or belt)": "belt",
        "Slot Number": 0,
        "Item contents (shortname's)": [
          "weapon.mod.lasersight",
          "weapon.mod.muzzleboost"
        ]
      },
      {
        "Item shortname": "ammo.rifle.explosive",
        "Amount of item": 500,
        "Item skin ID": 0,
        "Is this item a blueprint?": false,
        "Container (main, wear or belt)": "main",
        "Slot Number": -1,
        "Item contents (shortname's)": null
      },
      {
        "Item shortname": "grenade.f1",
        "Amount of item": 3,
        "Item skin ID": 0,
        "Is this item a blueprint?": false,
        "Container (main, wear or belt)": "belt",
        "Slot Number": 1,
        "Item contents (shortname's)": null
      },
      {
        "Item shortname": "syringe.medical",
        "Amount of item": 3,
        "Item skin ID": 0,
        "Is this item a blueprint?": false,
        "Container (main, wear or belt)": "belt",
        "Slot Number": 2,
        "Item contents (shortname's)": null
      }
    ]
  },
  "Event Timers": {
    "Amount of time to complete journey (distance per second)": 2.5,
    "Amount of time between events (seconds)": 3600,
    "Amount of time the entry process will remain open (seconds)": 120
  },
  "Map Markers": {
    "Show radial map markers on possible juggernaut destinations": true,
    "Amount of possible destinations to show": 3,
    "Marker radius": 0.5,
    "Marker transparency (0.0 - 1.0)": 0.8,
    "Marker color (hex)": "#ce422b"
  },
  "UI Settings": {
    "Display a timer showing how long the juggernaut has to get to their destination": true,
    "Timer positioning": {
      "Horizontal start position (left)": 0.345,
      "Vertical start position (bottom)": 0.1125,
      "Horizontal dimensions": 0.295,
      "Vertical dimensions": 0.025
    },
    "UI background color (hex)": "#4C4C4C",
    "UI opacity (0.0 - 1.0)": 0.7,
    "Text size": 14
  },
  "Event Conditions": {
    "The percentage of server players required for the event to start": 0.25,
    "The minimum amount of players on the server required to open the event": 10
  },
  "Game Settings": {
    "Broadcast the juggernauts approximate position to chat every X seconds (0 to disable)": 60,
    "Blacklisted commands for event players": [
      "s",
      "tp",
      "tpa",
      "tpr",
      "home"
    ]
  },
  "Reward Settings": {
    "Allow players to loot juggernaut as a prize": true,
    "Disallow looting juggernaut attire": false,
    "Use Economics money as a prize": false,
    "Use ServerRewards money as a prize": false,
    "Monetary amount": 0
  },
  "Version": {
    "Major": 0,
    "Minor": 3,
    "Patch": 1
  }
}

Information

Author
k1lly0u
First release
Last update
Rating
4.83 star(s) 6 ratings

Latest Release v0.3.35

Released
Dec 13, 2023 at 11:08 PM
Rating
5.00 star(s) 1 ratings


More resources from k1lly0u

  • AirbourneSpawn
    AirbourneSpawn
    Give players the option to spawn from a various aircraft and parachute to the island
  • FiringRange
    FiringRange
    Create COD style firing range time trial's for players to compete in
  • PreferredEnvironment
    PreferredEnvironment
    Allows players to customize their environment settings
  • TrainHeist
    TrainHeist
    A event where a train with scientists drives around the above or below rail ring
  • UberTool - Admin's new Friend
    UberTool - Admin's new Friend
    The ultimative build'n'place solution without any borders or other known limits

Juggernaut by k1lly0u
© chaoscode.io Feb 26, 2017

Latest reviews

K1lly0u is one of my favorite developers for reasons such as this plugin. He is responsive, knowledgeable, and quick to resolve issues. When it comes to finding plugins for my server I look to him, and a select few others before anyone else for this very reason, and this plugin's no exception. I've watched the growth of it from it's infancy and inception and have seen how it's matured into a VERY viable plugin for events on servers. Paired with the input of users, and the developer's gung-ho nature to resolve potential issues there's literally no reason NOT to use some of his plugins on your server! (Unless you want to show up on community, then that might muck that up.)
A good event plugin for my server with a playerbase that really enjoys PVP. Big thanks to Author:k1lly0u for all the work he has put into this.
Only tested once so far, but SO much better than the old version. Thank you K1llY0u! The native map support makes the whole thing a lighter mod to run too! Perfect!
Cool plugin. Needs the ability to turn off building damage if you're the jug as someone just used it to offline a player. Also he was starving before he entered so died of hunger on the way to the destination.
Still has some bug, but it sure ends up being a great mod!

Great job and thanks!