Skip to content

LunaMC/plugin-netty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luna Netty Plugin Build Status

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-protocol
  • io.lunamc.server.ServerConfiguration using a xml-based backend
  • io.lunamc.login.session.SessionClient using async-http-client
  • io.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)

Registration

<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>

XML Schema Definition

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:

http://static.lunamc.io/xsd/server-1.0.xsd

or if you're preferring https:

https://s3.eu-central-1.amazonaws.com/static.lunamc.io/xsd/server-1.0.xsd

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages