Mini getting destroyed on disconnect even with "DestroyOnDisconnect": falseFixed

hi

"DestroyOnDisconnect": false

is not working
everytime i relogg, the mini is gone

Same problem for me

Same here

Same here. Disconnect destroy and stuff from VehicleStorage stash lies on the ground.

I'm not able to reproduce this issue. Every time I disconnect and reconnect, the mini is still there.

Do you have any helicopter related plugins at all (including patrol helicopter plugins)?

Can you try spawning the mini, unloading the plugin, then reconnecting? That will help determine whether the Spawn Mini plugin is responsible for despawning the mini, since it can't despawn the mini while unloaded.

Spawned a fresh Mini, o.unload SpawnMini and relog. Mini still alive.

Ok, that indicates Spawn Mini is indeed despawning the mini. I updated my server to latest the Rust and Oxide version from from 3 days ago and now I can reproduce the issue. The cause is Oxide. The plugin is attempting to unsubscribe from the OnPlayerDisconnected hook when loading, in order to disable the destroy-on-disconnect feature, but Oxide is evidently keeping the plugin subscribed to that hook.



Merged post

Mr. Blue is aware of the issue. It affected other plugins such as True PVE. I have released an update to the plugin with a temporary workaround for now.

That work. Thank you for that quick fix!

Thx you

Thank you WhiteThunder!

Locked automatically