Can we get a hook in the add line function of the wire tool so we can mod the behavor of electrical networks. Specifically
New hook to mod WireTool
We can look into it, but it may turn out that the client doesn't even send the request in this case, which would basically make it impossible.
Great thanks, ill wait for some feedback.
Turns out you can already do this by just updating the rootConnectionsOnly property of the root combiner. I've submitted a simple plugin to uMod to do this. It's pending review, but you can check it out now on the associated GitHub repository.
https://github.com/WheteThunger/BetterRootCombiners
Awesome thanks, I didnt get to it yet as I was playing with a camera pugin. I just need to add permissions to the plug and its good to go. Whats the contributor register process so I can upload?
When you go to the plugin list, there is an Add Plugin button near the beginning of the page. Clicking that will present you with a list of guidelines that your plugin will need to pass in order to be published. After verifying those on your own, you can proceed to upload.
Two reviewers will need to confirm that your plugin passes all guidelines and any other issues they deem necessary to fix, and then your plugin will be published. Reviewers are volunteers, and reviewing plugins can be time consuming and isn't particularly enjoyable, so the process can take days to weeks, also depending on the complexity of the plugin, the number of issues, and your responsiveness to make requested changes.
Prefect thanks, first uploaded maybe first of many lets see how the review goes.
Merged post
Easy as, ill test shortly but it looks like it will work a treat. I uploaded a plugin today so will see how that goes.
I noticed the Unsubscribe(nameof(OnEntitySpawned)); & Subscribe(nameof(OnEntitySpawned)); in your script and in others. Does entity spawn run before server init if you dont handle this? I'd expect this to have been handled lower down.
OnEntitySpawned is called during server restart (before OnServerInitialized). In some cases, you can rely on that and not update entities during OnServerInitialized, but usually you want to update existing entities from before the plugin was introduced to the server, so it's just more consistent to unsubscribe in Init, perform logic on all existing entities in OnServerInitialized, then subscribe again.
Great thanks for the explanation