Jump to content

The Golden Egg 1.4.1

$19.99
   (1 review)

6 Screenshots

  • 513
  • 14
  • 73.1 kB
 Share

About The Golden Egg

Once found, the Golden Egg can bring you great riches, but it doesn't want to remain hidden...

 

How it works:

The majority of the following is configurable, but out of the box here's how it works. Each time a player opens a crate (Locked, Elite, Military or Normal), the egg has a chance to spawn. Once found, the player will receive a UI message with instructions (see screenshot), and a server wide chat message will be broadcast alerting other players. 60 seconds after the egg is found, the players position will be marked on the map for all to see. If the player makes it home, or another player gets home with the egg, it can then be placed in a box and will start generating resources every hour. By default this is scrap, but if another resource is placed in the box with the egg (by default this is hqm, metal frags, or low grade fuel) the egg will instead generate that resource. The egg will only generate one resource at a time, but which resource is up to you. Optionally Sulfur Ore or Cooked Sulfur can be enabled, along with up to three custom items (for example, supply signals, red keycards, 5.56 ammo, etc etc).

While in a box, the egg will be permanently marked on the map, making the player a target. The marker is a broad circle, so it will give the general position, but not down to the exact room or box. There is however an optional command for this.

 

If at any point the player wishes to remove the marker and get rid of the egg, they can choose to crack it open, which will award the player with one of the following by default:

  •  5 Incendiary and 3 HV Rockets
  •  MP5 + Ammo
  •  LR300 Rifle
  •  M39 + Ammo
  •  Multiple Grenade Launcher
  •  M249 + Ammo

Alternatively, you can use the config option Use custom item list when cracking open the egg and instead add your own list of rewards. The plugin will choose one item at random from your list, and will fallback to the default list above if there are any issues (spelling mistakes etc).

You can use the following link to grab the shortnames of the items you want: https://www.corrosionhour.com/rust-item-list/

Once cracked open, or otherwise destroyed/lost, the egg can again be found in crates. There will only ever be one egg available at a time.

The plugin will also keep track of the amount of time a player has held the egg (either in their inventory or in a box), along with their team, and an overall team total.

 

Features:

  • Highly configurable
  • Server wide message when the egg is found or destroyed
  • Optional webhook to discord when the egg is found or destroyed
  • A "spam check" so players can't just open and close crates really quickly to increase their odds
  • While the egg can be hidden in stashes, it will not generate resources
  • Optional vending marker as well as the circle marker (the vending marker can have a custom name)
  • Data logging for amount of time holding the egg
  • Clear or retain player data on map wipe
  • Leaderboard for the top 5 players
  • Option to block cracking open the egg during a raid
  • Option to stop adding time when the player is in a safe zone or the egg is in a stash
  • Change the item name, skin and CUI image to your liking
  • Dynamic command name option

 

Notes:

Default values: The spawn chances look low, but after a lot of testing these values are still hit but pretty rarely, making the egg more valuable when finally found. Increase them to suit if you prefer though. The player marker refresh time of 25 seconds is just about enough time for the player to stay out of the marker at a full sprint, but only just. I found that to be a good value but again, adjust as you see fit.

Item Skins: If the item appears but the skin doesn't load, that means that it's an issue at your client end (not the plugin). It may be related to Steam issues, your download speeds or Rust issues. Also, rarely, some skins are just broken in which case they'll never load. The game doesn't give any meaningful feedback on this (occasionally a red unity error on screen), so just try another skin ID (you may need to quit and restart Steam in these cases). To find a skin you want to use, grab the number from the end of the URL on it's workshop page, eg https://steamcommunity.com/sharedfiles/filedetails/?id=2674986096. Approved skins will load faster in game than non-approved.

 

Available Commands (the command name is customisable in the config):

/egg find - Will pinpoint the exact position of the egg once found. Requires permissions (thegoldenegg.use)

/egg list - Will show the available resource generation options, along with their generation times (dynamic based on your config)

/egg time - Will show the remaining time before the next resource generation

/egg leader - Will show the top 5 players who have had possession of the egg (and their team total)

/egg help - Will show a series of help messages and info

 

Default Config:

{
  "Egg spawn chance for Locked Crates": 0.04,
  "Egg spawn chance for Elite Crates": 0.04,
  "Egg spawn chance for Military Crates": 0.02,
  "Egg spawn chance for Normal Crates": 0.01,
  "Marker Settings": {
    "Show map marker when the egg is in a box": true,
    "Show map marker when the egg is on a player": true,
    "Player marker refresh time (seconds)": 25,
    "Box marker refresh time (seconds)": 60,
    "Initial marker delay when the egg is found": 60,
    "Marker Radius": 0.7,
    "Marker Transparency": 0.5,
    "Marker Color (hex)": "#fa030a",
    "Marker Border Color (hex)": "#000000",
    "Add a Vending marker": false,
    "Vending Marker Name": "The Golden Egg"
  },
  "Resource Settings": {
    "Resource Spawn Time (seconds)": 3600,
    "Scrap Spawn Amount": 50,
    "HQM Spawn Amount": 25,
    "Low Grade Spawn Amount": 100,
    "Metal Frags Spawn Amount": 1000,
    "Allow Sulfur Ore": false,
    "Sulfur Ore Spawn Amount": 600,
    "Allow Cooked Sulfur": false,
    "Cooked Sulfur Spawn Amount": 400,
    "Custom Item 1 (use item shortname, eg ammo.rifle, gears, green.berry)": "",
    "Custom Item 1 Amount": 1,
    "Custom Item 1 Spawn Time (seconds)": 7200,
    "Custom Item 2": "",
    "Custom Item 2 Amount": 1,
    "Custom Item 2 Spawn Time (seconds)": 7200,
    "Custom Item 3": "",
    "Custom Item 3 Amount": 1,
    "Custom Item 3 Spawn Time (seconds)": 7200
  },
  "Item Customisation": {
    "Item Name": "The Golden Egg",
    "Item Skin ID": 0,
    "Item Found Image (use an image 1000x400)": "https://i.imgur.com/3Yf5iaD.png",
    "Chat command": "egg"
  },
  "Let players with permission pinpoint the egg on screen (use /egg find)": false,
  "Send a webhook when the egg is found/destroyed": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
  "Stop adding time while the player is in a safe zone": true,
  "Stop adding time while the egg is in a stash": true,
  "Block player from cracking open the egg while being raided": true,
  "Raid block timer": 300,
  "Data save interval": 300,
  "Clear data on map wipe": true
  "Use custom item list when cracking open the egg": false,
  "Custom item list (use item shortname, eg rifle.m39, explosive.timed, etc": [
    "item.one",
    "item.two",
    "etc"
  ]
}

 

  • Like 1
 Share


crunch's Collection

User Feedback

353.7k

Downloads

Total number of downloads.

1.8k

Customers

Total customers served.

24.4k

Files Sold

Total number of files sold.

379.5k

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.