Switch Server

by SaKrifieD

System

XASECO

Description

Link all your servers to each other

Installation

1. unzip the script to xaseco base directory
2. edit xaseco's plugins.xml and include the following line:
Code:
<plugin>plugin.sak.switch.php</plugin>
3. configure the script on all servers
4. restart xasecos on all servers

Settings

To use this plugin, you must have all trackmania dedicated servers running on same pc. The example here uses 2 servers to connect with:

Server 1
Quote:
//Configuration starts $serverlogin = "gzgames1"; $path = "/tmp"; $switchtarget = array(); $switchtarget[0] = 'gzgames2'; $switchtarget[1] = 'gzgames1'; //$switchtarget[2] = 'targetlogin3'; //$switchtarget[3] = 'targetlogin4'; $startposition = 41.9; $showonendrace = 1; //Configurations ends
Server 2
Quote:
//Configuration starts $serverlogin = "gzgames2"; $path = "/tmp"; $switchtarget = array(); $switchtarget[0] = 'gzgames1'; $switchtarget[1] = 'gzgames2'; //$switchtarget[2] = 'targetlogin3'; //$switchtarget[3] = 'targetlogin4'; $startposition = 41.9; $showonendrace = 0; //Configurations ends

Changelog 10

- click on button to get more information like current track & players
- join link moved to more information
- config in front of all scripts

Changelog 03

- choose between: show always / hide at end of race

Changelog 02

- new style
- easy to configurate
- add so much server you want
- wrong maxplayer count, like -240, changed to ??

Changelog 01

- if server is empty count is now 0

Link(s)

Forum: http://www.tm-forum.com/viewtopic.php?t=19799
Homepage: http://www.rr-mania.com/index.php?mod=files&action=view&where=9

Download(s)

File Version Date Size Downloads
switch_server(1.0).zip 1.0 2009-05-13 3 KB 944