Alright, I've worked on and off for a few hours and have made some headway. Currently the plugin is functioning again with the following features
Can request dock on a vessel with docking modules
Carrier ships get a notification, and can approve said ship, docking the snub aboard
Carriers can dock as many ships, as the number of modules they have mounted.
Snubs can now undock and appear outside of the carrier (This was causing crashes for a while. Thank god that's fixed)
You might say that these are features which existed previously! - You're absolutely right. That's the core behind the plugin, more or less. I'm simply making some of the internal operations work differently, in hopes that the server bugs won't come up with this version.
Todo list
/jettisonship command - Allowing user to eject docked ships
If the carrier is currently docked, the nested ship should undock outside of the base the carrier is in.
If the carrier is blown up, all of the docked ships should be ejected out into space
Write saving/loading commands. (Handling if players disconnect, reconnect, or if the server restarts) -- I expect this to take the longest
That, and obviously porting over some of the anti-exploit functions of the old plugin.
This so far is still a re-write. Not an upgrade. Maybe some shiny features will appear on the list if the plugin is restored to the same functionality that it had previously, and is proven not to cause problems.
I've got some work for Uni' I've gotta deal with. I'll get back to this tomorrow.
Edit: Time to get to bed for real. Finished a few more features.
/jettisonship now works. - You may not use this command while docked. (Although this is probably gonna change)
If a carrier is docked, if you undock as a nested ship, you're automatically docked with the planet/station the carrier is on.