Egg Hunt event spawns no eggs if a vanished player exists

Hello,

I would like to report a possible compatibility issue between the Vanish plugin and the Easter Egg Hunt event.

During the April Easter event, we encountered an issue where the paint eggs from the "egghunt" event do not spawn at all on our server.

After extensive troubleshooting, we found that the problem appears to be related to players being vanished (invisible) using the Vanish plugin.

Here are the details of our findings:

  • The Easter Egg Hunt event starts normally, but no eggs spawn.
  • The issue occurs both with the automatic event and when manually triggered.
  • The event can be manually started from the F1 console or server console using: `spawn egghunt`
  • After unloading the plugin using `o.unload Vanish`, the eggs spawn correctly.
  • When the plugin is loaded but no players are vanished, eggs also spawn correctly.
  • If we start the Egg Hunt while no one is vanished and confirm eggs spawn, then vanish afterward, the event  continues to function normally and additional eggs spawn as expected.
  • However, if any player is already vanished when the Egg Hunt event begins, no eggs spawn at all.
  • This suggests that having a vanished player present in the world at the moment the event starts interferes with the egg spawn logic globally.

We also suspect this may be related to the following setting:
"Keep a vanished player hidden on disconnect": true

It appears that if an admin disconnects while vanished, they remain hidden in the world, and this may cause the Egg Hunt event to malfunction for all players.

It's using the latest versions available:

* Oxide.Rust Version: 2.0.7253
* Vanish Version: 2.1.2

Our current Vanish configuration is below. We believe this is the default configuration and has not been modified:

{
"NoClip on Vanish (runs noclip command)": true,
"Inventory view cmd": [
"inv",
"invspy"
],
"Use OnEntityTakeDamage hook (Set to true to enable use of vanish.damage perm. Set to false for better performance)": false,
"Use CanUseLockedEntity hook (Allows vanished players with the perm vanish.unlock to bypass locks. Set to false for better performance)": true,
"Automatically vanish players (with the vanish.use perm) on player connect": false,
"Automatically vanish players (with the vanish.use perm) on player disconnect": false,
"Keep a vanished player hidden on disconnect": true,
"Teleport a vanished player under the map on disconnect": false,
"Teleport a vanished player above the map on connect": true,
"Bypass violation checks for vanished players": true,
"Turn off fly hack detection for players in vanish": true,
"Disable metabolism in vanish": true,
"Enable teleport to marker when vanished": false,
"Enable vanishing and reappearing sound effects": true,
"Make sound effects public": false,
"Enable chat notifications": true,
"Sound effect to use when vanishing": "assets/prefabs/npc/patrol helicopter/effects/rocket_fire.prefab",
"Sound effect to use when reappearing": "assets/prefabs/npc/patrol helicopter/effects/rocket_fire.prefab",
"Enable GUI": true,
"Use Native Invis Icon": false,
"Icon URL (.png or .jpg)": "https://i.ibb.co/3rZzftx/yL9HNRy.png",
"Icon Sprite": "assets/icons/refresh.png",
"Image Color": "1 1 1 0.5",
"Image AnchorMin": "0.175 0.017",
"Image AnchorMax": "0.22 0.08"
}

Could you please advise if there is a workaround or recommended configuration to avoid this issue?

If this behavior is unintended, it would be greatly appreciated if it could be improved or addressed in a future update.

This message was written with the help of ChatGPT, so I apologize if any phrasing sounds unnatural. I also reviewed it using another translation tool to confirm that the intended meaning is correct.

Also, thank you very much for creating and maintaining this plugin — it is extremely useful and we rely on it heavily for server administration.

Best regards

using the latest versions available:

Oxide.Rust Version: 2.0.7253
Vanish Version: 2.1.2

That is intentional, that is something facepunch fixed. They were NOT supposed to spawn when you are limited networked.

hom3rSIMP

That is intentional, that is something facepunch fixed. They were NOT supposed to spawn when you are limited networked.

Thank you for the reply! I have two additional questions:

  • Has this behavior existed for a long time, or was it introduced in the recent April update? 

  • Do you know whether this change (or behavior) affects other players on the server? On my server, if even one player is in Vanish state, eggs stop spawning for everyone during the Egg Hunt event.

I had been investigating this for quite some time and couldn’t find any solid information, so I really appreciate your response.