launch paramater for multiple server ?

ManiaControl, the completely new designed and easy to use controller managing all your Maniaplanet server.

Moderators: Jocy, Wabbitface, steeffeen, NADEO

Post Reply
Freelux
Posts: 148
Joined: 13 Jun 2012, 09:00
Contact:

launch paramater for multiple server ?

Post by Freelux »

can you explain me if its possible to launch maniacontrol.sh with multiple config ?
ex: same repertory :

php ManiaControl.php -CONFIG server1.xml
php ManiaControl.php -CONFIG server2.xml
Vice-President de l'association KmiKz-Esport
Freelux
Posts: 148
Joined: 13 Jun 2012, 09:00
Contact:

Re: launch paramater for multiple server ?

Post by Freelux »

up please
Vice-President de l'association KmiKz-Esport
Freelux
Posts: 148
Joined: 13 Jun 2012, 09:00
Contact:

Re: launch paramater for multiple server ?

Post by Freelux »

thx i try
Vice-President de l'association KmiKz-Esport
User avatar
BestNoob
Posts: 226
Joined: 08 Mar 2013, 12:04
Contact:

Re: launch paramater for multiple server ?

Post by BestNoob »

kremsy wrote: 25 Nov 2018, 13:46 You can add multiple servers in the config this way:

Code: Select all

	<server id="random_id1">
		<host>HOST1</host>
		<port>PORT1</port>
		<login>SuperAdmin</login>
		<pass>PASS1</pass>
	</server>

<server id="random_id2">
		<host>HOST2</host>
		<port>PORT2</port>
		<login>SuperAdmin</login>
		<pass>PASS2</pass>
	</server>

And start parameter this way:

Code: Select all

php ManiaControl.php -id=random_id1 -sh=ManiaControl1.sh >ManiaControl.log 2>&1 &
I always make multiple sh files, this one for example has the name ManiaControl1.sh.
And for Windows .bat files ?
To join my TM Servers, search for: bestnoob :thumbsup:
Post Reply

Return to “ManiaControl”

Who is online

Users browsing this forum: No registered users and 1 guest