Hello,
Is there any existing plugin or another way to fully log what happens with Minicopters/Scrap Transport Helicopters?
When my players tell me "I got a minicopter in my base and now it's gone" I just want to force stop my server and quit it forever haha.
Helicopters are not like boats one time use and players care if they lose their mini. I do not have any decay modifications on my server so the missing helicopters mystery sometimes is annoying.
Mini/Scrap Helies Logger
you can use on entity death ...
void OnEntityDeath(MiniCopter entity, HitInfo info)
{
Puts($"[MiniCopter] {findPlayer(entity.OwnerID.ToString())?.displayName ?? entity.OwnerID.ToString()}'s MiniCopter just Exploded!!");
} Sadly I am not a developer and have 0 knowledge of how to put this to use. Anyways if someone else can turn this into a simple minicopter logger would be amazing. :)
ok on it!!!!!
Merged post
so got something working .... let me know if the data output would work for you and ill submit it to umod
{
"Player Exploded Copters": {
"NooBlet": {
"playercopters": {
"05/28/2023 06:08:24": {
"Type": "MiniCopter",
"EngineWasOn": false,
"HadaDriver": true,
"WasinBuildingPrev": false,
"tcUsers": [
" "
]
},
"05/28/2023 06:09:31": {
"Type": "ScrapHeliCopter",
"EngineWasOn": false,
"HadaDriver": true,
"WasinBuildingPrev": false,
"tcUsers": [
" "
]
},
"05/28/2023 06:20:05": {
"Type": "MiniCopter",
"EngineWasOn": true,
"HadaDriver": true,
"WasinBuildingPrev": true,
"tcUsers": [
"76561############",
"76561############"
]
},
"05/28/2023 06:21:52": {
"Type": "MiniCopter",
"EngineWasOn": false,
"HadaDriver": true,
"WasinBuildingPrev": true,
"tcUsers": [
"76561############",
"76561############"
]
},
"05/28/2023 06:22:40": {
"Type": "MiniCopter",
"EngineWasOn": true,
"HadaDriver": true,
"WasinBuildingPrev": true,
"tcUsers": [
"76561############",
"76561############"
]
},
"05/28/2023 06:26:08": {
"Type": "MiniCopter",
"EngineWasOn": false,
"HadaDriver": true,
"WasinBuildingPrev": true,
"tcUsers": [
"Mineke",
"Pierre"
]
}
}
}
}
}Merged post
you can add me on discord NooBlet#1804 for more info
Yeah, this looks good. Only wonder what if the heli decays? Can this also be shown? So I can see if they abandoned it outside of Building Privilege and that's why decayed or etc. Or if it's ent killed for some reason by the game or else.
so if you look at results . if no driver and no engin . its clear its decay . ive submitted it to umod . but will try to get a decay added for release.....
Merged post
thinking of adding in a time of last mounted
that should help
yeah, thanks