Skip to content

The WebGL-Map server endpoint for Sponge. This endpoint is intended to be compatible with SpongeVanilla and SpongeForge.

License

Notifications You must be signed in to change notification settings

WebGL-Map/Glm-Sponge

Repository files navigation

Glm-Sponge License: MIT

The WebGL-Map server endpoint for Sponge. This endpoint is intended to be compatible with SpongeVanilla and SpongeForge.

Usage

Web socket server commands, you can add you own command with the server by registering it with the CommandRegistrar during the GlmRegisterCommand event.

@Listener
public void onGlmRegisterCommand(@Nonnull final GlmRegisterCommand event) {
    event.getGlmServer().getRegistrar().registerCommand("commandName", new Command());
}

Building

Note: If you do not have Gradle installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windows systems in place of any 'gradle' command.

In order to build Glm-Sponge just run the gradle build command. Once that is finished you will find library, sources, and javadoc .jars exported into the ./build/libs folder and the will be labeled like the following.

GlmSponge-x.x.x.jar
GlmSponge-x.x.x-javadoc.jar
GlmSponge-x.x.x-sources.jar

However, if you wish to build the full GlmSponge plugin please use the shadowJar command.

gradle shadowJar

Alternatively you can include Glm-Sponge in your build.gradle file by using the following.

repositories {
    maven {
        name = 'reallifegames'
        url = 'https://reallifegames.net/artifactory/gradle-release-local'
    }
}

dependencies {
    compile 'net.reallifegames:GlmSponge:x.x.x' // For compile time.
}

About

The WebGL-Map server endpoint for Sponge. This endpoint is intended to be compatible with SpongeVanilla and SpongeForge.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages