Archived
0

simple server

This commit is contained in:
2018-04-08 16:37:16 +03:00
parent ef3e158c8f
commit 5fc94d0ab0
8 changed files with 107 additions and 10 deletions

View File

@@ -3,8 +3,12 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean id="config" class="mc.core.embedded.ConfigFromSpring">
<constructor-arg index="0" type="java.lang.String" value="MC Core"/>
<constructor-arg index="1" type="int" value="100"/>
<constructor-arg index="2" type="java.io.File" value="icon.png"/>
<property name="descriptionServer" value="MC Core"/>
<property name="maxPlayers" value="100"/>
<property name="faviconBase64" value="icon.png"/>
<property name="host" value="127.0.0.1"/>
<property name="port" value="25565"/>
</bean>
<bean id="server" class="mc.core.netty.NettyServer"/>
</beans>