The Golden Egg

$15.99

Sold by: crunch

Generates a special item in random crates that gives optional health/gather buffs when carrying it, or can generate other items (scrap etc) when placed in a box. However it’s location is permanently marked on the map, making the owner a target.

Works With:

Description

The Golden Egg

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 player’s 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 a general position, but not down to the exact room or box. There is however an optional command for this.

Introduced in 1.7.0 are roam buffs, which optionally increase health, pickup and gather rates whilst holding the egg, This helps incentivize players to take the egg out of their base, and can make for some really fun encounters.

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.

Version 1.8.2 includes a new custom event that will drop a configurable number of crates at a monument which can only be hacked with the egg in your inventory. See the update notes for more detail.

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
  • Command to place the top player (and team) in an oxide group temporarily (requires Timed Permissions)
  • Option to block cracking open the egg during a raid
  • Option to kill the egg after a certain amount of time
  • Option to stop adding time when the player is in a safe zone / the egg is in a stash / the egg is in a building / between certain hours / under a minimum pop
  • Change the item name, skin and CUI image to your liking
  • Dynamic command name option
  • TruePVE support (see release notes for 1.6.2)
  • Roam Buffs to increase health, pickup and gather rates whilst holding the egg (see 1.7.0 release notes)
  • Custom chinook crate event included
  • Option to blocklist certain commands (eg Teleport, Trade)
  • Option to destroy the egg after x seconds in a safe zone or building blocked zone

 

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.

TruePVE: For servers running TruePVE, a new config option allows damage to bases and players if they have the egg in their possession. If the egg is inside a base, the plugin will check for both TC auth and proximity before allowing damage. If the egg is on a player, damage will be allowed within a radius of that player.

Roam Buffs: Pickups include items out in the world, but not items grown yourself in a planter.

Chinook Event: I’d recommend using this – https://github.com/WheteThunger/BetterChinookPatrol – to properly randomise the monuments that the chinooks visit, rather than have it just pick one and stick to it all wipe.

 

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

/egg kill – Will destroy the egg instantly (admins only)

/egg expire – For use along with the “Destroy the egg after x minutes” option. This will print the time remaining until the egg is destroyed

/egg event – To manually kick off the chinook event (admins only)

/egg winner – Will place the person who has held the egg the longest (and their team if they have one) in the oxide group you specify for the time you specify (requires Timed Permissions)

/egg purge – Will destroy the egg and wipe the data file

 

Default Config:

{
  "Egg spawn chance for Locked Crates (0 to 100)": 0.04,
  "Egg spawn chance for Elite Crates": 0.04,
  "Egg spawn chance for Military Crates": 0.03,
  "Egg spawn chance for Normal Crates": 0.02,
  "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)": 15,
    "Box marker refresh time (seconds)": 30,
    "Initial marker delay when the egg is found": 60,
    "Marker Radius": 0.7,
    "Marker Transparency": 0.7,
    "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 (0 to disable)": 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)": 14400,
    "Custom Item 2": "",
    "Custom Item 2 Amount": 1,
    "Custom Item 2 Spawn Time (seconds)": 10800,
    "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 in Game (use an image 1000x400)": "https://i.imgur.com/3Yf5iaD.png",
    "Chat command": "egg",
    "Item Found Image for the Discord Webhook": "https://i.imgur.com/Knn0X37.png",
    "Item Lost Image for the Discord Webhook": "https://i.imgur.com/GxlVNSa.png"
  },
  "Roam Settings": {
    "Increase health whilst holding the egg": true,
    "Total health": 150,
    "Increase ore/wood gather rate whilst holding the egg": true,
    "Gather multipler": 2.0,
    "Increase pickup amount whilst holding the egg (hemp/food etc)": true,
    "Pickup multipler": 2.0,
    "Don't allow roam bonus while server pop is below (leave at 0 to disable)": 0,
    "Don't allow roam bonus between certain hours": true,
    "Start of time period": "1AM",
    "End of time period": "7AM",
    "Broadcast a chat message when someone starts roaming": true
  },
  "Event Settings": {
    "Run the chinook event": true,
    "Number of crates to drop": 2,
    "Crate unlock time": 600,
    "Maximum additional items to add to the crate(s)": 15,
    "Run the event once, between a certain time": true,
    "Start of time period": "8PM",
    "End of time period": "10PM",
    "Run the event on repeat": false,
    "Minimum time between events (seconds)": 3600.0,
    "Maximum time between events (seconds)": 7200.0,
    "Don't run the event if server pop is below (leave at 0 to disable)": 0,
    "Show map marker": true,
    "Marker Radius": 0.5,
    "Marker Transparency": 0.4,
    "Marker Color (hex)": "#ecf97f",
    "Marker Border Color (hex)": "#000000"
  },
  "Let players with permission pinpoint the egg on screen (use /egg find)": true,
  "Send a webhook when the egg is found/destroyed": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
  "Don't add time while the player is in a safe zone": true,
  "Don't add time while the egg is in a stash": true,
  "Don't add time while the egg is in a building": false,
  "Don't add time while server pop is below (leave at 0 to disable)": 0,
  "Don't add time between certain hours": false,
  "Start of time period": "1AM",
  "End of time period": "6AM",
  "Destroy the egg if in a safe zone for longer than (seconds, leave at 0 to disable)": 0.0,
  "Destroy the egg if in a building blocked zone for longer than (seconds, leave at 0 to disable)": 0.0,
  "Destroy the egg if in a Raidable Base zone for longer than (seconds, leave at 0 to disable)": 0.0,
  "Name of permission group to grant with /egg winner (requires Timed Permissions plugin)": "",
  "Duration to grant access to group (requires Timed Permissions plugin). Format: 1d12h30m": "28d",
  "Destroy the egg after x minutes (leave at 0 to disable)": 0,
  "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"
  ],
  "Blacklist commands whilst holding the egg": false,
  "Blacklisted commands": [
    "/tp",
    "/trade",
    "/shop",
    "/rw",
    "/bank",
    "/home",
    "/remove"
  ],
  "TruePVE Only": {
    "Enable damage to players and bases if they have the egg": false,
    "Max distance between players for damage to register": 100.0
  }
}

5 reviews for The Golden Egg

  1. 5 out of 5

    adminmangogaming (verified owner)

    Very well-designed plugin. Fast and supportive developer. Highly Recommended.

  2. 5 out of 5

    Dan Fenwick (verified owner)

    Honestly a great addition to any server. Loads of fun for your PvE server too with support for TruePVE! Keeps the players busy! Recommended, and happy to offer a demo to anyone who’s thinking about buying it

  3. 3 out of 5

    Gunz0G (verified owner)

    Great idea – but players on my server quickly figured out how to exploit it. No matter what drop % you set the egg to, players can spam open/close any box they find until it drops, crack the egg for the elite loot, and repeat the process with the same box in an infinite loop. Currently, the only way to achieve any sort of balance is to set the drop rate to 1% for timed crates only – but players can still spam open these boxes and receive an infinite amount of loot.

    Would be a 5 star add-on if the drop chance was only calculated/implemented when a player first opens any given box, and it honestly was a great bit of fun for about a day until players started abusing it – but the current state of coding breaks game balancing.

    • crunch

      Hey mate, thanks for the review :)

      I do have a spam timer check on opening crates, but I didn’t want it so long that a player would miss out on a chance if opening two crates next to each other, so the timer is quite low. That said, I could just make it configurable if you’d prefer to set your own, longer timer for that check.

      • crunch

        That said, I’ll see what I can do about making it crate specific if possible. That’s definitely a neater solution

    • crunch

      Hi again! Just a heads up I’ve implemented your suggestion to make the checks crate specific, so essentially the egg only has a chance to spawn the first time the player opens that specific crate. If they open it again, the egg can’t spawn.

      Thanks for that, good idea, I should have thought of that from the start!

      I’ll push out that update in a few days.

  4. 5 out of 5

    Gunz0G (verified owner)

    Re-reviewing with the latest update – players can no longer spam open/close boxes to get an infinite amount of eggs, which keeps the balance of the game intact.

    Definitely a great addon for both PVP and PVE servers!

  5. 5 out of 5

    GoldenrabbitHD (verified owner)

    Exectly what i was looking for.


Only logged in customers who have purchased this product may leave a review.

Version 1.9.24 | Updated December 5, 2024
  • Updated Updated for Rust December patch
Version 1.9.23 | Updated October 4, 2024
  • Fixed Fixed for Rust Update
Version 1.9.22 | Updated September 5, 2024
  • Updated Updated pooling for September Rust update (requires Rust update to compile)
Version 1.9.21 | Updated February 4, 2024
  • Updated Block backpacks (temporary fix)
Version 1.9.20 | Updated October 21, 2023
  • Fixed Team Logging
Version 1.9.18 | Updated August 3, 2023
  • Fixed Fix for an occasional error when first finding, but dropping the egg
  • Added Carbon compatibility
Version 1.9.17 | Updated May 3, 2023
  • Fixed Fix for upcoming Rust update. Please wait until that has been released before you load this new version.
  • Added Also includes some extra console logging for admins around who finds/destroys the egg and where
Version 1.9.15 | Updated February 26, 2023
  • Fixed Fixed NRE when dropping the egg
  • Removed Removed console message when opening the same crate more than once
Version 1.9.14 | Updated February 19, 2023
  • Updated Improved performance
Version 1.9.12 | Updated February 7, 2023
  • Updated We now only allow one chance to find the egg per crate. This removes the need for the spam check that was in place previously. Thanks Gunz0G for the suggestion!
  • Fixed Finally (actually) fixed the marker flicking around. That was tricky to track down, but as usual was something dumb and simple. removed when the egg is destroyed.
  • Fixed Also fixed the marker sometimes not being
Version 1.9.11 | Updated January 1, 2023
  • Fixed Fixed the egg kill function not firing, and likely a couple of other minor issues, introduced in a prior update
Version 1.9.10 | Updated December 20, 2022
  • Added Prevent players from gift wrapping the egg (it breaks the location tracking)
Version 1.9.9 | Updated December 15, 2022
  • Added For users of Raidable Bases, you can now configure an option that will destroy the egg after x seconds if a player hangs around in a raidable base zone for too long
  • Fixed Fixed - The marker could occasionally snap back to the previous box in certain circumstances
  • Fixed Fixed - The marker would occasionally refuse to disappear once the egg was destroyed
Version 1.9.8 | Updated November 16, 2022
  • Added Added the commands from the previous update to the help command
  • Fixed Fixed an occasional null reference with the roam message
Version 1.9.6 | Updated November 6, 2022
  • Added * Added /egg winner command (requires Timed Permissions plugin) * There are new two new config options that allow you specify an oxide group, and a time limit. When you type this command it will determine the person who has held the egg the longest up until that point, and place them (and their team if they have one) in the oxide group you specify (eg, VIP), for the time you specify, Then once that time limit expires, Timed Permissions will remove those players from that oxide group. This is handy if you want to run a competition to reward the players who held the egg the longest and give them group access for a limited amount of time (maybe a full wipe, maybe a week, up to you). You can use another plugin (or Battlemetrics/Rustadmin) to schedule the running of this command so you don't have to do it manually, if you prefer.
  • Added * Added /egg purge command * This can be handy along with the /egg winner command above. Basically when you run this command, it will destroy the egg and wipe the data file for you, so you can start a fresh competition for example.
  • Added * Keep team members synced in the data file *  Previously the data file was fairly static, in that it wouldn't really update if a players team changed. Now it'll keep track of comings and goings, so the players teams are always current in the data file (pretty essential if you're using the above option to reward teams).
  • Added * Damage Distance for TruePVE * There's a new config option in the TruePVE section to allow you to specify the maximum distance where damage should be allowed for pvp combat.
  • Added * Blacklist commands * I've added a config section to allow you to specify commands that should be blocked while a player is holding the egg. For example, you might want to block the teleport command to stop players from tp'ing away if they're being raided, or you might want to block the trade command to stop people from sharing the egg around, etc etc.
  • Added * Option to destroy egg after x time in a building blocked or safe zone * A few users have found that their players were de-authing from their TC in order to protect their base (when using TruePVE), or simply hiding in a safe zone for hours with the egg. These two config options will give a warning and then auto destroy the egg after the time you specify if the player with the egg is hanging around in a safe zone or a building blocked zone.
  • Updated * Refactored player pvp damage calculations for TruePVE
  • Fixed * Various minor bug fixes and optimizations
Version 1.8.2 | Updated October 17, 2022
  • Added Eventception! There's now an optional event that runs inside this event, because why not. When run, a chinook will deliver a configurable number of crates to a random monument. These crates can only be hacked if the player has the egg in their inventory, which should hopefully encourage the current egg holder to bring it out and create some cool pvp moments. There are options to change the crate timer, as well as the number of items inside the crate when opened. It also comes with a configurable map marker, and the usual server pop check to avoid running it when the server is quiet, if you prefer. The event can be run on demand (admins only), on repeat, or between a set time each day (to time it for peak hours for example).
Version 1.7.7 | Updated October 9, 2022
  • Added Added /egg expire command for use along with the "Destroy the egg after x minutes" option. This will print the time remaining until the egg is destroyed.
  • Updated Improved the ownership checks when raiding bases with the TruePVE option
Version 1.7.5 | Updated October 2, 2022
  • Updated Block drinking health, wood and ore teas when holding egg
  • Updated If drunk beforehand, don't stack tea buffs with the egg buffs
  • Updated Make sure buffs are removed when the egg is destroyed
Version 1.7.0 | Updated September 6, 2022
  • Added Roam Buffs! With this update comes several new config options to incentivize players to take the egg out of their base. This includes: * A configurable health buff while holding the egg * A configurable gather buff (ore/wood etc) while holding the egg * A configurable pickup buff (hemp/food etc) while holding the egg All buffs will be removed when the egg is dropped, cracked open or placed in a container. Alongside these buffs there are several options to help govern when they should apply: * A time of day check to cancel the roam buffs between certain hours (overnight when it's quiet for example) * A server pop check to cancel the roam buffs when the pop is below a certain amount There's also an option to broadcast a chat message when the egg has moved a certain distance to alert other players.
Version 1.6.4 | Updated September 2, 2022
  • Added Config options for the images in the lost/found discord webhook embed
  • Updated Some minor config wording changes to make things a little more clear
  • Updated The "list" command will no longer show resources that are set to 0 in the config, nor will there be a "generating resource" chat message
  • Fixed Actually sorted that NRE from the last update!
Version 1.6.3 | Updated September 1, 2022
  • Fixed Fix NullReferenceException when checking for base damage
Version 1.6.2 | Updated September 1, 2022
  • Added TruePVE Support - For servers running TruePVE, a new config option allows damage to bases and players if they have the egg in their possession. If the plugin is inside a base, the plugin will check for both TC auth and proximity before allowing damage. If the egg is on a player, damage will be allowed within a radius of that player.
  • Fixed An issue could occur if the egg was on the floor when the plugin restarted.
Version 1.5.5 | Updated August 26, 2022
  • Added New /egg kill command (or whatever you have your command name set to) for admins only. Will destroy the egg instantly.
  • Added Enabled tracking for containers to account for submarines, horses and other storage that can move. The marker will now update as it does for a player (use the Box marker refresh time config option)
  • Updated When the egg is dropped, the marker will now remain until the egg is picked up or despawns
Version 1.5.1 | Updated August 22, 2022
  • Added New option to auto destroy the egg after x hours. Time will start/reset when the egg is found.
  • Added New option to stop adding time to the player with the egg if they (or the box the egg is in) are within a building priv zone
  • Added New option to stop adding time if the server population is below a certain threshold
  • Added New option to stop adding time between certain scheduled hours (eg overnight)
  • Updated The above options are mostly useful if you want to run competitions with the egg, where you reward the player/s who have held the egg the longest throughout a wipe, or something similar. For example, not adding time while in a building priv zone will force players to take the egg out and roam (assuming they want to accrue time), increasing risk and pvp. Not adding time overnight or under a minimum pop will stop people being able to just idle all night, or when the server is quiet) with little risk. As always though, enable or disable any combo of the options based on how you want your event to work.
Version 1.4.1 | Updated August 16, 2022
  • Added You're now able to rename and reskin the egg to customise it to your liking. You can also replace the CUI image that appears when you find the egg
  • Added You can now also use your own command name (for example, instead of /egg help, /egg time etc you can use any word you like to suit your item). The help command will update automatically to suit your chosen word
  • Fixed Remove the item instantly when cracking open an egg with a custom reward list
  • Fixed Improved the quality of egg found image
  • Fixed Adjusted the image to make it less squished
  • Fixed Check for safezone when initially finding the egg
Version 1.3.0 | Updated August 11, 2022
  • Added Added a config option to allow custom rewards when cracking the egg. The plugin will choose one item at random from your list, and will fallback to the standard rewards if there are any issues.
Version 1.2.8 | Updated August 9, 2022
  • Added Raid Block:

    There's now an option in the config to block players ability to crack open the egg if they're being raided, along with a configurable timer. Currently this is only set for explosion damage (not melee or regular ammo). The player will also receive a message if they do try and crack it open.

    Leaderboard:

    Players can now use /egg leader to show the top 5 players who have held the egg the longest (along with their team total). This has been added to /egg help also.

    Safe Zones:

    You can now set a config option which will stop time from accruing while the player holding the egg is in a safe zone. Useful if you want to run a competition or something similar and you don't want players just hiding in safezones the whole time.

    Stashes:

    Similar to the option above, but for stashes. Time will not count towards a player while the egg is in a stash (nor will it generate resources by default).

    + Minor efficiency changes and wording updates

Version 1.1.4 | Updated August 8, 2022
  • Added Initial Version

2 thoughts on "The Golden Egg"

Leave a reply

Your email address will not be published. Required fields are marked *

  1. Hey! Why does my Golden Egg produce only scrap when it’s in a box? How do I make it produce everything that’s set up in config file? Is it bugged atm?

  2. Hey mate, what do you have in the config file? Should be as easy as dropping in some hqm (or whatever) in the box where the egg is (it should pop up a message as well saying what it’s generating)

Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?

• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.

Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA

• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.

Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.

Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)

Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)

Product Enquiry

Please Login to make enquiry about this product