I want to detect if a server update is required.
I was trying
void OnPlayerConnected(Network.Message packet)
and then compare client and server protocol version.
But this hook is not called if the client has a wrong connection protrocol.
Same with
bool CanClientLogin(Network.Connection connection)
Is there any "earlier" hook that I could use?
If not, is there a way to detect oxide updates?
Solved Detect Wrong Connection Protocol
Discussion in 'Rust Development' started by GonzoTheThird, Apr 10, 2018.
-
Wulf Community Admin
OnClientAuth
-
Works, thanks.