23 lines
1.4 KiB
XML
23 lines
1.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
|
|
<context:annotation-config />
|
|
|
|
<bean id="config" class="mc.core.embedded.ConfigFromSpring">
|
|
<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>
|
|
|
|
<!-- Netty Server -->
|
|
<!--<bean id="pipeline.log" class="io.netty.handler.logging.LoggingHandler" scope="prototype"/>-->
|
|
<bean id="pipeline.decoder" class="mc.core.network.proto_125.netty.PacketDecoder" scope="prototype"/>
|
|
<bean id="pipeline.encoder" class="mc.core.network.proto_125.netty.PacketEncoder" scope="prototype"/>
|
|
<bean id="pipeline.handler" class="mc.core.network.proto_125.netty.PacketHandler" scope="prototype"/>
|
|
|
|
<bean id="server" class="mc.core.network.proto_125.netty.NettyServer"/>
|
|
</beans> |