Git Product home page Git Product logo

glm-sponge's Introduction

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

glm-sponge's People

Contributors

tylerbucher avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.