AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Server Migration (Changing IP?) (https://forums.alliedmods.net/showthread.php?t=240023)

NIGathan 05-07-2014 18:37

[ANY] Server Migration (Changing IP?)
 
1 Attachment(s)
I just had to move servers to a new IP. So I setup a VPS and bound my old IP's to it, setup a 2 slot server mimicing the old ones. Threw this plugin on them and added this line to the server.cfg file.
Code:

sm_autoredirect_addr "127.0.0.1:27015"
Obviously replacing the localhost with the new IP.

When a player joins the server they will be asked to connect to the new server. If they do not accept within the time limit, they will be kicked.

This is a direct mod of this plugin: https://forums.alliedmods.net/showth...35645?p=535645

That plugin's functionality is still entirely intact.

Cvars:
Code:

sm_autoredirect_version: Plugin version
sm_autoredirect: 1/0 Enable/Disable the automated prompt. Default: 1
sm_autoredirect_addr: "ip:port" for the server to migrate to.
sm_autoredirect_time: Seconds allowed to accept before kick. Default: 25.0
sm_autoredirect_reason: Message displayed in the redirect prompt. Also used as the kick message. Default: "Please accept the server redirect prompt!"


xSpeced 05-07-2014 18:42

Re: [ANY] Server Migration (Changing IP?)
 
There's like an identical plugin. https://forums.alliedmods.net/showthread.php?t=153769

NIGathan 05-07-2014 19:00

Re: [ANY] Server Migration (Changing IP?)
 
Oh, thanks for the heads up. I couldn't find anything like it, only unautomated redirect plugins. No worries, I wrote this in like 20 minutes.

boombee 05-07-2014 19:26

Re: [ANY] Server Migration (Changing IP?)
 
Quote:

Originally Posted by NIGathan (Post 2134999)
Oh, thanks for the heads up. I couldn't find anything like it, only unautomated redirect plugins. No worries, I wrote this in like 20 minutes.

If this worked in CS:GO... does it? :)

NIGathan 05-13-2014 20:18

Re: [ANY] Server Migration (Changing IP?)
 
Quote:

Originally Posted by boombee (Post 2135004)
If this worked in CS:GO... does it? :)

I haven't tested, but it might. I know it works in CSS.

2NASTY4U 05-15-2014 16:22

Re: [ANY] Server Migration (Changing IP?)
 
Quote:

Originally Posted by boombee (Post 2135004)
If this worked in CS:GO... does it? :)

Quote:

Originally Posted by NIGathan (Post 2137437)
I haven't tested, but it might. I know it works in CSS.

CS:GO doesn't support the required client-side feature for this plugin to work.

jeezz 05-21-2016 07:16

Re: [ANY] Server Migration (Changing IP?)
 
this plugin works but it makes the fake clients go wild, it keep kicking fake clients.
is there a way too fix this?
thx


All times are GMT -4. The time now is 02:48.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.