- Notifications
You must be signed in to change notification settings - Fork0
The WebGL-Map server endpoint for Sponge. This endpoint is intended to be compatible with SpongeVanilla and SpongeForge.
License
WebGL-Map/Glm-Sponge
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The WebGL-Map server endpoint forSponge. This endpoint is intended to be compatiblewithSpongeVanilla andSpongeForge.
Web socket server commands, you can add you own command with the server by registering it with the CommandRegistrarduring the GlmRegisterCommand event.
@ListenerpublicvoidonGlmRegisterCommand(@NonnullfinalGlmRegisterCommandevent) {event.getGlmServer().getRegistrar().registerCommand("commandName",newCommand());}
Note: If you do not have Gradle installed then use ./gradlew for Unix systems or Git Bash and gradlew.bat for Windowssystems in place of any 'gradle' command.
In order to build Glm-Sponge just run thegradle build
command. Once that is finished you will find library, sources, andjavadoc .jars exported into the./build/libs
folder and the will be labeled like the following.
GlmSponge-x.x.x.jarGlmSponge-x.x.x-javadoc.jarGlmSponge-x.x.x-sources.jar
However, if you wish to build the full GlmSponge plugin please use theshadowJar
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.}