Server Forward

So is there a way to make it that when you join a server it re-connects you to another server?

I am planning on moving IP’s and I don’t want to loose my player-base.

I have seen this done before on HZ perp, you would join #3 and right when it loaded it said “server changing level” and you were moved to #1.

You could have a menu pop up on spawn that has a button that sends you to another server. If you want it just reply back and i’ll post the code

[editline]9th February 2013[/editline]

Edit:

Here is the code that should work:



function GM:PlayerInitialSpawn( ply )
	ply:SendLua("LocalPlayer():ConCommand('connect 127.0.0.1:27017')")
end


This will make it so that when they spawn it will send them directly to the other server.

Enjoy :slight_smile:

Wow thanks!

No problem, glad to help.