2010-03-20 03:44:53 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../Config.xsd" >
2015-08-06 13:35:14 +00:00
<!--
serverAddress - ip of the XMage server. Set it to "0.0.0.0" for local host or to the IP the server should use
port - the port the primary server socket is bound to
secondaryBindPort - the port to which the secondary server socket is to be bound. if "-1" is set , an arbitrary port is selected.
backlogSize - the preferred number of unaccepted incoming connections allowed at a given time. The actual number may be greater
2014-10-01 14:04:26 +00:00
than the specified backlog. When the queue is full, further connection requests are rejected. The JBoss default value is 200
2015-08-06 13:35:14 +00:00
numAcceptThreads - the number of threads listening on the ServerSocket. The JBoss default value is 1
maxPoolSize - the maximum number of ServerThreads that can exist at any given time. The JBoss default value is 300
leasePeriod - To turn on server side connection failure detection of remoting clients, it is necessary to satisfy two criteria.
The first is that the client lease period is set and is a value greater than 0. The value is represented in milliseconds.
2014-10-01 14:04:26 +00:00
The client lease period can be set by either the 'clientLeasePeriod' attribute within the Connector configuration or by calling the Connector method
2017-04-16 22:01:39 +00:00
socketWriteTimeout - All write operations will time out if they do not complete within the configured period.
2014-10-01 14:04:26 +00:00
maxGameThreads - Number of games that can be started simultanously on the server
maxSecondsIdle - Number of seconds after that a game is auto conceded by the player that was idle for such a time
minUserNameLength - minmal allowed length of a user name to connect to the server
maxUserNameLength - maximal allowed length of a user name to connect to the server
userNamePattern - pattern for user name validity check
maxAiOpponents - number of allowed AI opponents on the server
saveGameActivated - allow game save and replay options (not working correctly yet)
2016-02-14 12:41:43 +00:00
2016-01-22 16:46:57 +00:00
authenticationActivated - "true" = user have to register to signon "false" = user need not to register
* mail configs only needed if authentication is activated:
* if mailUser = "" mailgun is used otherwise nativ mail server on the system
googleAccount - not supported currently
mailgunApiKey - key from the mailgun domain e.g. = "key-12121111..."
mailgunDomain - domain for the mailgun message sending
mailSmtpHost - hostname to send the mail
mailSmtpPort - port to send the mail
mailUser - username used to send the mail
mailPassword - passworf of the used user to send the mail
mailFromAddress - sender address
2014-10-01 14:04:26 +00:00
-->
2013-10-07 16:14:27 +00:00
<server serverAddress= "0.0.0.0"
serverName="mage-server"
port="17171"
2015-08-06 13:35:14 +00:00
secondaryBindPort="17179"
backlogSize="200"
numAcceptThreads="2"
maxPoolSize="300"
leasePeriod="5000"
2017-04-16 22:01:39 +00:00
socketWriteTimeout="10000"
2013-10-07 16:14:27 +00:00
maxGameThreads="10"
maxSecondsIdle="600"
minUserNameLength="3"
2015-08-06 13:35:14 +00:00
maxUserNameLength="14"
2016-01-11 02:15:01 +00:00
invalidUserNamePattern="[^a-z0-9_]"
minPasswordLength="8"
maxPasswordLength="100"
2014-11-03 21:31:13 +00:00
maxAiOpponents="15"
2014-02-07 01:04:14 +00:00
saveGameActivated="false"
2017-03-29 03:25:29 +00:00
authenticationActivated="false"
2016-01-10 09:08:08 +00:00
googleAccount=""
2016-01-22 21:33:58 +00:00
mailgunApiKey="key-d93e81f19a9c9ed243ebb7cc9381385c"
mailgunDomain="sandbox401a433f30d445309a5e86b6c53f7812.mailgun.org"
mailSmtpHost="smtp.1und1.de"
mailSmtpPort="465"
mailUser="xmageserver@online.de"
mailPassword="24wrsfxv"
mailFromAddress="xmageserver@online.de"
2013-10-07 16:14:27 +00:00
/>
2012-06-19 20:50:20 +00:00
<playerTypes >
<playerType name= "Human" jar= "mage-player-human.jar" className= "mage.player.human.HumanPlayer" />
2012-06-29 13:19:12 +00:00
<!-- <playerType name="Computer - minimax" jar="mage - player - aiminimax.jar" className="mage.player.ai.ComputerPlayer3"/> -->
2012-06-29 16:12:35 +00:00
<playerType name= "Computer - mad" jar= "mage-player-ai-ma.jar" className= "mage.player.ai.ComputerPlayer7" />
2012-06-29 13:19:12 +00:00
<!-- <playerType name="Computer - monte carlo" jar="mage - player - aimcts.jar" className="mage.player.ai.ComputerPlayerMCTS"/> -->
2015-08-06 13:35:14 +00:00
<playerType name= "Computer - draftbot" jar= "mage-player-ai-draft-bot.jar" className= "mage.player.ai.ComputerDraftPlayer" />
2012-06-19 20:50:20 +00:00
</playerTypes>
<gameTypes >
<gameType name= "Two Player Duel" jar= "mage-game-twoplayerduel.jar" className= "mage.game.TwoPlayerMatch" typeName= "mage.game.TwoPlayerDuelType" />
<gameType name= "Free For All" jar= "mage-game-freeforall.jar" className= "mage.game.FreeForAllMatch" typeName= "mage.game.FreeForAllType" />
2013-01-21 17:18:27 +00:00
<gameType name= "Commander Two Player Duel" jar= "mage-game-commanderduel.jar" className= "mage.game.CommanderDuelMatch" typeName= "mage.game.CommanderDuelType" />
2013-12-23 16:14:56 +00:00
<gameType name= "Commander Free For All" jar= "mage-game-commanderfreeforall.jar" className= "mage.game.CommanderFreeForAllMatch" typeName= "mage.game.CommanderFreeForAllType" />
2015-08-06 13:35:14 +00:00
<gameType name= "Tiny Leaders Two Player Duel" jar= "mage-game-tinyleadersduel.jar" className= "mage.game.TinyLeadersDuelMatch" typeName= "mage.game.TinyLeadersDuelType" />
2017-02-05 12:23:51 +00:00
<gameType name= "Canadian Highlander Two Player Duel" jar= "mage-game-canadianhighlanderduel.jar" className= "mage.game.CanadianHighlanderDuelMatch" typeName= "mage.game.CanadianHighlanderDuelType" />
2015-11-11 12:22:29 +00:00
<gameType name= "Momir Basic Two Player Duel" jar= "mage-game-momirduel.jar" className= "mage.game.MomirDuelMatch" typeName= "mage.game.MomirDuelType" />
2012-06-19 20:50:20 +00:00
</gameTypes>
<tournamentTypes >
2014-10-12 02:19:28 +00:00
<tournamentType name= "Constructed Elimination" jar= "mage-tournament-constructed.jar" className= "mage.tournament.ConstructedEliminationTournament" typeName= "mage.tournament.ConstructedEliminationTournamentType" />
<tournamentType name= "Constructed Swiss" jar= "mage-tournament-constructed.jar" className= "mage.tournament.ConstructedSwissTournament" typeName= "mage.tournament.ConstructedSwissTournamentType" />
2014-01-10 18:58:55 +00:00
<tournamentType name= "Booster Draft Elimination" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.BoosterDraftEliminationTournament" typeName= "mage.tournament.BoosterDraftEliminationTournamentType" />
<tournamentType name= "Booster Draft Elimination (Cube)" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.BoosterDraftEliminationTournament" typeName= "mage.tournament.BoosterDraftEliminationCubeTournamentType" />
2015-06-24 03:59:05 +00:00
<tournamentType name= "Booster Draft Elimination (Random)" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.RandomBoosterDraftEliminationTournament" typeName= "mage.tournament.RandomBoosterDraftEliminationTournamentType" />
2016-04-14 12:48:54 +00:00
<tournamentType name= "Booster Draft Elimination (Rich Man)" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.RichManDraftEliminationTournament" typeName= "mage.tournament.RichManDraftEliminationTournamentType" />
2016-06-26 02:54:59 +00:00
<tournamentType name= "Booster Draft Elimination (Rich Man Cube)" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.RichManCubeDraftEliminationTournament" typeName= "mage.tournament.RichManCubeDraftEliminationTournamentType" />
2014-01-10 18:58:55 +00:00
<tournamentType name= "Booster Draft Swiss" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.BoosterDraftSwissTournament" typeName= "mage.tournament.BoosterDraftSwissTournamentType" />
<tournamentType name= "Booster Draft Swiss (Cube)" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.BoosterDraftSwissTournament" typeName= "mage.tournament.BoosterDraftSwissCubeTournamentType" />
2015-06-24 03:59:05 +00:00
<tournamentType name= "Booster Draft Swiss (Random)" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.RandomBoosterDraftSwissTournament" typeName= "mage.tournament.RandomBoosterDraftSwissTournamentType" />
2012-06-19 20:50:20 +00:00
<tournamentType name= "Sealed Elimination" jar= "mage-tournament-sealed.jar" className= "mage.tournament.SealedEliminationTournament" typeName= "mage.tournament.SealedEliminationTournamentType" />
2014-01-10 18:58:55 +00:00
<tournamentType name= "Sealed Elimination (Cube)" jar= "mage-tournament-sealed.jar" className= "mage.tournament.SealedEliminationTournament" typeName= "mage.tournament.SealedEliminationCubeTournamentType" />
<tournamentType name= "Sealed Swiss" jar= "mage-tournament-sealed.jar" className= "mage.tournament.SealedSwissTournament" typeName= "mage.tournament.SealedSwissTournamentType" />
<tournamentType name= "Sealed Swiss (Cube)" jar= "mage-tournament-sealed.jar" className= "mage.tournament.SealedSwissTournament" typeName= "mage.tournament.SealedSwissCubeTournamentType" />
2012-06-19 20:50:20 +00:00
</tournamentTypes>
2014-01-10 18:58:55 +00:00
<draftCubes >
2016-11-08 17:52:14 +00:00
<draftCube name= "Adam Styborski's Pauper Cube" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.AdamStyborskisPauperCube" />
<draftCube name= "Ben's Cube" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.BensCube" />
2014-01-10 18:58:55 +00:00
<draftCube name= "Cube Tutor 360 Pauper" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.CubeTutor360Pauper" />
<draftCube name= "Cube Tutor 720" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.CubeTutor720" />
2016-10-18 04:05:17 +00:00
<draftCube name= "Eric Klug's Pro Tour Cube" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.EricKlugsProTourCube" />
<draftCube name= "Guillaume Matignon's Jenny's/Johnny's Cube" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.GuillaumeMatignonsJennysJohnnysCube" />
2016-11-08 17:52:14 +00:00
<draftCube name= "Jim Davis's Cube" jar= "mage-tournament-booster-draft-${project.version}.jar" className= "mage.tournament.cubes.JimDavisCube" />
2016-10-18 04:05:17 +00:00
<draftCube name= "Joseph Vasoli's Peasant Cube" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.JosephVasolisPeasantCube" />
2014-03-17 15:57:11 +00:00
<draftCube name= "Mono Blue Cube" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.MonoBlueCube" />
2017-04-20 14:59:51 +00:00
<draftCube name= "Sam Black's No Search Cube" jar= "mage-tournament-booster-draft-${project.version}.jar" className= "mage.tournament.cubes.SamBlacksCube" />
2016-10-19 00:27:25 +00:00
<draftCube name= "Timothee Simonot's Twisted Color Pie Cube" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.TimotheeSimonotsTwistedColorPieCube" />
2014-11-03 21:31:13 +00:00
<draftCube name= "MTGO Cube March 2014" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.MTGOMarchCube2014" />
2016-01-05 06:30:59 +00:00
<draftCube name= "MTGO Legacy Cube" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.LegacyCube" />
<draftCube name= "MTGO Legacy Cube March 2015" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.LegacyCubeMarch2015" />
<draftCube name= "MTGO Legacy Cube September 2015" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.LegacyCubeSeptember2015" />
<draftCube name= "MTGO Legacy Cube January 2016" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.LegacyCubeJanuary2016" />
2016-09-22 15:52:28 +00:00
<draftCube name= "MTGO Legacy Cube September 2016" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.LegacyCubeSeptember2016" />
2017-01-24 23:13:51 +00:00
<draftCube name= "MTGO Legacy Cube January 2017" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.LegacyCubeJanuary2017" />
2017-04-17 08:53:59 +00:00
<draftCube name= "MTGO Legacy Cube April 2017" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.LegacyCubeApril2017" />
2015-11-09 20:09:39 +00:00
<draftCube name= "MTGO Legendary Cube" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.LegendaryCube" />
2016-04-07 03:41:15 +00:00
<draftCube name= "MTGO Legendary Cube April 2016" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.LegendaryCubeApril2016" />
2017-03-03 03:39:14 +00:00
<draftCube name= "MTGO Modern Cube 2017" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.ModernCube2017" />
2015-12-07 21:13:31 +00:00
<draftCube name= "MTGO Vintage Cube 2013" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.VintageCube2013" />
<draftCube name= "MTGO Vintage Cube 2014" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.VintageCube2014" />
<draftCube name= "MTGO Vintage Cube 2015" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.VintageCube2015" />
<draftCube name= "MTGO Vintage Cube 2016" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.VintageCube2016" />
2016-07-22 16:52:04 +00:00
<draftCube name= "MTGO Vintage Cube June 2016" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.VintageCubeJune2016" />
2016-12-07 15:44:56 +00:00
<draftCube name= "MTGO Vintage Cube November 2016" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.VintageCubeNovember2016" />
2017-06-27 01:31:02 +00:00
<draftCube name= "MTGO Vintage Cube June 2017" jar= "mage-tournament-booster-draft-${project.version}.jar" className= "mage.tournament.cubes.VintageCubeJune2017" />
2016-11-08 17:52:14 +00:00
<draftCube name= "The Peasant's Toolbox" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.PeasantsToolboxCube" />
<draftCube name= "www.MTGCube.com" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.MTGCube" />
2016-07-03 14:20:31 +00:00
<draftCube name= "Cube From Deck" jar= "mage-tournament-booster-draft.jar" className= "mage.tournament.cubes.CubeFromDeck" />
2014-01-10 18:58:55 +00:00
</draftCubes>
2012-06-19 20:50:20 +00:00
<deckTypes >
2012-11-14 06:51:24 +00:00
<deckType name= "Constructed - Standard" jar= "mage-deck-constructed.jar" className= "mage.deck.Standard" />
2013-03-31 17:14:33 +00:00
<deckType name= "Constructed - Extended" jar= "mage-deck-constructed.jar" className= "mage.deck.Extended" />
2016-09-27 06:54:49 +00:00
<deckType name= "Constructed - Frontier" jar= "mage-deck-constructed.jar" className= "mage.deck.Frontier" />
2013-03-31 17:14:33 +00:00
<deckType name= "Constructed - Modern" jar= "mage-deck-constructed.jar" className= "mage.deck.Modern" />
2016-04-19 01:16:44 +00:00
<deckType name= "Constructed - Eternal" jar= "mage-deck-constructed.jar" className= "mage.deck.Eternal" />
2013-05-03 06:37:30 +00:00
<deckType name= "Constructed - Legacy" jar= "mage-deck-constructed.jar" className= "mage.deck.Legacy" />
2015-09-03 22:12:15 +00:00
<deckType name= "Constructed - Vintage" jar= "mage-deck-constructed.jar" className= "mage.deck.Vintage" />
2015-08-06 13:35:14 +00:00
<deckType name= "Constructed - Pauper" jar= "mage-deck-constructed.jar" className= "mage.deck.Pauper" />
2015-11-25 16:29:23 +00:00
<deckType name= "Constructed - Historical Type 2" jar= "mage-deck-constructed.jar" className= "mage.deck.HistoricalType2" />
<deckType name= "Constructed - Super Type 2" jar= "mage-deck-constructed.jar" className= "mage.deck.SuperType2" />
2016-04-19 01:16:44 +00:00
<deckType name= "Constructed - Freeform" jar= "mage-deck-constructed.jar" className= "mage.deck.Freeform" />
2016-11-25 09:56:24 +00:00
<deckType name= "Constructed - Australian Highlander" jar= "mage-deck-constructed.jar" className= "mage.deck.AusHighlander" />
2015-06-23 05:50:14 +00:00
<deckType name= "Variant Magic - Commander" jar= "mage-deck-constructed.jar" className= "mage.deck.Commander" />
<deckType name= "Variant Magic - Duel Commander" jar= "mage-deck-constructed.jar" className= "mage.deck.DuelCommander" />
2015-08-06 13:35:14 +00:00
<deckType name= "Variant Magic - Tiny Leaders" jar= "mage-deck-constructed.jar" className= "mage.deck.TinyLeaders" />
2017-02-05 12:23:51 +00:00
<deckType name= "Variant Magic - Canadian Highlander" jar= "mage-deck-constructed.jar" className= "mage.deck.CanadianHighlander" />
2015-11-11 12:22:29 +00:00
<deckType name= "Variant Magic - Momir Basic" jar= "mage-deck-constructed.jar" className= "mage.deck.Momir" />
2015-09-29 22:13:43 +00:00
<deckType name= "Block Constructed - Battle for Zendikar" jar= "mage-deck-constructed.jar" className= "mage.deck.BattleForZendikarBlock" />
2013-02-07 15:51:58 +00:00
<deckType name= "Block Constructed - Innistrad" jar= "mage-deck-constructed.jar" className= "mage.deck.InnistradBlock" />
2016-09-27 06:54:49 +00:00
<deckType name= "Block Constructed - Kaladesh" jar= "mage-deck-constructed.jar" className= "mage.deck.KaladeshBlock" />
2013-02-07 15:51:58 +00:00
<deckType name= "Block Constructed - Kamigawa" jar= "mage-deck-constructed.jar" className= "mage.deck.KamigawaBlock" />
2014-12-22 01:57:23 +00:00
<deckType name= "Block Constructed - Khans of Tarkir" jar= "mage-deck-constructed.jar" className= "mage.deck.KhansOfTarkirBlock" />
2013-02-07 15:51:58 +00:00
<deckType name= "Block Constructed - Return to Ravnica" jar= "mage-deck-constructed.jar" className= "mage.deck.ReturnToRavnicaBlock" />
<deckType name= "Block Constructed - Scars of Mirrodin" jar= "mage-deck-constructed.jar" className= "mage.deck.ScarsOfMirrodinBlock" />
2015-05-04 09:12:47 +00:00
<deckType name= "Block Constructed - Shadowmoor" jar= "mage-deck-constructed.jar" className= "mage.deck.ShadowmoorBlock" />
2016-04-19 01:16:44 +00:00
<deckType name= "Block Constructed - Shadows over Innistrad" jar= "mage-deck-constructed.jar" className= "mage.deck.ShadowsOverInnistradBlock" />
2013-02-07 15:51:58 +00:00
<deckType name= "Block Constructed - Shards of Alara" jar= "mage-deck-constructed.jar" className= "mage.deck.ShardsOfAlaraBlock" />
2015-08-06 13:35:14 +00:00
<deckType name= "Block Constructed - Theros" jar= "mage-deck-constructed.jar" className= "mage.deck.TherosBlock" />
2013-02-07 15:51:58 +00:00
<deckType name= "Block Constructed - Zendikar" jar= "mage-deck-constructed.jar" className= "mage.deck.ZendikarBlock" />
2016-10-03 08:00:48 +00:00
<deckType name= "Block Constructed Custom - Star Wars" jar= "mage-deck-constructed.jar" className= "mage.deck.StarWarsBlock" />
2012-06-19 20:50:20 +00:00
<deckType name= "Limited" jar= "mage-deck-limited.jar" className= "mage.deck.Limited" />
</deckTypes>
2010-03-20 03:44:53 +00:00
</config>