mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
Some default settings for config.xml
This commit is contained in:
parent
bc822c9677
commit
a5b10b7efd
2 changed files with 12 additions and 8 deletions
|
|
@ -16,6 +16,8 @@
|
||||||
userNamePattern="[^a-z0-9_]"
|
userNamePattern="[^a-z0-9_]"
|
||||||
maxAiOpponents="15"
|
maxAiOpponents="15"
|
||||||
saveGameActivated="false"
|
saveGameActivated="false"
|
||||||
|
authenticationActivated="false"
|
||||||
|
googleAccount=""
|
||||||
/>
|
/>
|
||||||
<playerTypes>
|
<playerTypes>
|
||||||
<playerType name="Human" jar="mage-player-human-${project.version}.jar" className="mage.player.human.HumanPlayer"/>
|
<playerType name="Human" jar="mage-player-human-${project.version}.jar" className="mage.player.human.HumanPlayer"/>
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Config.xsd">
|
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Config.xsd">
|
||||||
<server serverAddress="0.0.0.0"
|
<server serverAddress="0.0.0.0"
|
||||||
serverName="mage-server"
|
serverName="mage-server"
|
||||||
port="17171"
|
port="17171"
|
||||||
secondaryBindPort="-1"
|
secondaryBindPort="-1"
|
||||||
backlogSize="200"
|
backlogSize="200"
|
||||||
numAcceptThreads="2"
|
numAcceptThreads="2"
|
||||||
maxPoolSize="300"
|
maxPoolSize="300"
|
||||||
leasePeriod="5000"
|
leasePeriod="5000"
|
||||||
maxGameThreads="10"
|
maxGameThreads="10"
|
||||||
maxSecondsIdle="600"
|
maxSecondsIdle="600"
|
||||||
minUserNameLength="3"
|
minUserNameLength="3"
|
||||||
|
|
@ -16,6 +16,8 @@
|
||||||
userNamePattern="[^a-z0-9_]"
|
userNamePattern="[^a-z0-9_]"
|
||||||
maxAiOpponents="15"
|
maxAiOpponents="15"
|
||||||
saveGameActivated="false"
|
saveGameActivated="false"
|
||||||
|
authenticationActivated="false"
|
||||||
|
googleAccount=""
|
||||||
/>
|
/>
|
||||||
<playerTypes>
|
<playerTypes>
|
||||||
<playerType name="Human" jar="Mage.Player.Human.jar" className="mage.player.human.HumanPlayer"/>
|
<playerType name="Human" jar="Mage.Player.Human.jar" className="mage.player.human.HumanPlayer"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue