The luna-netty
plugin is the reference server implementation of LunaMC on top of Netty. The
following services will be provided by this plugin:
io.lunamc.server.Server
using luna-protocolio.lunamc.server.ServerConfiguration
using a xml-based backendio.lunamc.login.session.SessionClient
using async-http-clientio.lunamc.plugins.netty.netty.EventLoopGroupHolder
io.lunamc.plugins.netty.netty.GlobalEventExecutorController
(internal use only)
The plugin requires the following service implementations:
io.lunamc.common.login.encryption.EncryptionFactory
(luna-common)io.lunamc.common.json.JsonMapper
(luna-common)io.lunamc.common.host.VirtualHostManager
(luna-common)io.lunamc.plugins.netty.handler.PlayHandlerFactory
(luna-example)
<plugin file="plugins/luna-netty-plugin-0.0.1-SNAPSHOT.jar" id="luna-netty">
<security>
<permissions>
<permission impl="java.util.PropertyPermission" name="*" action="read" />
<permission impl="java.util.PropertyPermission" name="sun.nio.*" action="read,write" />
<permission impl="java.lang.RuntimePermission" name="modifyThread" action="" />
<permission impl="java.lang.RuntimePermission" name="accessDeclaredMembers" action="" />
<permission impl="java.lang.RuntimePermission" name="accessClassInPackage.sun.misc" action="" />
<permission impl="java.lang.RuntimePermission" name="getClassLoader" action="" />
<permission impl="java.lang.reflect.ReflectPermission" name="suppressAccessChecks" action="" />
<permission impl="java.net.SocketPermission" name="*" action="listen,accept,connect,resolve" />
<permission impl="java.io.FilePermission" name="${java.io.tmpdir}" action="read,write,delete" />
<permission impl="java.io.FilePermission" name="\proc\sys\net\core\somaxconn" action="read" />
</permissions>
</security>
</plugin>
This repository also contains the xsd file used for server configuration (version: 1.0
). You can find the source file
here. The namespace is http://lunamc.io/server/1.0
.
It is online available at:
or if you're preferring https:
https://s3.eu-central-1.amazonaws.com/static.lunamc.io/xsd/server-1.0.xsd