Files
Fishing2Server/Main/Fantasy.config

37 lines
2.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8" ?>
<fantasy xmlns="http://fantasy.net/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://fantasy.net/config Fantasy.xsd">
<!-- ~1~ 兼容模式继续使用JSON配置表 @1@ -->
<!-- <configTable path="./../../../Config/Json/Server/" /> -->
<!-- 框架核心配置 -->
<idFactory type="World" />
<network inner="TCP" maxMessageSize="1048560" />
<session idleTimeout="8000" idleInterval="5000" />
<!-- 服务器拓扑结构 -->
<server>
<machines>
<machine id="1" outerIP="127.0.0.1" outerBindIP="127.0.0.1" innerBindIP="127.0.0.1" />
</machines>
<processes>
<process id="1" machineId="1" startupGroup="0" />
</processes>
<worlds>
<world id="1" worldName="测试服" dbConnection="mongodb://127.0.0.1" dbName="fantasy_main" dbType="MongoDB" />
</worlds>
<scenes>
<scene id="1001" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Addressable" networkProtocol="KCP" outerPort="20001" innerPort="11001" sceneType="1" />
<scene id="1002" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Addressable" networkProtocol="" outerPort="0" innerPort="11011" sceneType="2" />
<scene id="1003" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Gate" networkProtocol="KCP" outerPort="20000" innerPort="11021" sceneType="3" />
<scene id="1004" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Game" networkProtocol="" outerPort="0" innerPort="11031" sceneType="4" />
<scene id="1006" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Chat" networkProtocol="" outerPort="0" innerPort="11051" sceneType="8" />
<scene id="1007" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Map" networkProtocol="" outerPort="0" innerPort="11061" sceneType="5" />
</scenes>
</server>
</fantasy>