Raised This Month: $ Target: $400
 0% 

Redirect to your new server IP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Server Management       
Vet
Veteran Member
Join Date: Jul 2006
Location: I|O wa
Old 10-11-2007 , 14:00   Redirect to your new server IP
Reply With Quote #1

Ya, Another Server Redirect Plugin

UPDATED (7-16-09) Works with Steam update


So what's the difference...
1) This redirect plugin is designed solely for those server ops who are changing to a new server IP.
2) It will redirect ALL players to your new server while displaying the new info in the startup MOTD.
3) The MOTD will trap the player on the MOTD screen, continuing to display it, until the redirect occurs.
4) The new server info will be placed in the client's console for reference.
5) The plugin contains a backdoor that will allow an admin with Immunity, AND who's name is noredirect, to enter the server.

Note: The MOTD stay code is based on 'MOTD Repeater/Holder' by Ven.

The plugin will autofail if...
No motd.txt file is found
The redirect_ip CVar is blank
The redirect_enable CVar is 0

CVars (Place in server.cfg or amxx.cfg file)
redirect_enable - Plugin enable/disable - Required (Default = 0 <disabled>)
redirect_ip - Destination server IP - Required (Default = "")
redirect_port - Destination server port - Required if other than the default (Default = 27015)
redirect_delay - Delay time (seconds) until redirect - Optional (Default = 10)

A sample motd.txt file is provided below. The resulting screen from the sample is shown in the thumbnail pic.

This plugin has only been tested on a Windows server with DOD 1.3 and CS 1.6

Version History:
1.7 - Fixed issue of not redirecting after another Steam update.
1.6 - Fixed issue of not redirecting after Steam update.
1.5 - Original release.

UPDATED (7-16-09) Works with Steam update
...
Attached Thumbnails
Click image for larger version

Name:	rd_motd.jpg
Views:	31131
Size:	25.8 KB
ID:	20779  
Attached Files
File Type: txt motd.txt (260 Bytes, 17120 views)
File Type: sma Get Plugin or Get Source (redirect_2_new.sma - 25831 views - 3.7 KB)
__________________
=====================================
- My Plugins -
=====================================

Last edited by Vet; 07-16-2009 at 22:29.
Vet is offline
Send a message via MSN to Vet
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:10.


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