Skip to content

GeometryDash server emulator written in Java with using the Spring Framework

License

Notifications You must be signed in to change notification settings

ScarletRedMan/GD2Spring

Repository files navigation

GD2Spring

GeometryDash server emulator written in Java with using the Spring Framework.

Supported version of Geometry Dash: 2.11

Features

  • More vanilla server behavior than GMDPrivateServer.
  • A stateless server with the ability to scale horizontally.
  • RabbitMQ integration allows you to handle server events.

Build and Run

For run this project you need Java 17.

Clone repository

git clone https://github.com/ScarletRedMan/GD2Spring.git

cd ./GD2Spring/

Build

Windows:

gradlew assemble

Linux:

./gradlew assemble

Complied file located in ./build/libs/GD2Spring.jar

Run

Run Postgres and RabbitMQ servers.

Set environments for GD2Spring:

Enviroment name Description
GD2SPRING_DATABASE_URL Postgres database URL
GD2SPRING_DATABASE_USER Database user
GD2SPRING_DATABASE_PASSWORD Database password
GD2SPRING_RABBITMQ_HOST RabbitMQ host
GD2SPRING_RABBITMQ_USER RabbitMQ user
GD2SPRING_RABBITMQ_PASSWORD RabbitMQ password

All these environments are required for start application.

Run application:

java -jar GD2Spring.jar

Run with dev mode:

java -jar -Dspring.profiles.active=test GD2Spring.jar

Useful links

GD-ServerSelector - The script for switching between servers (Windows Only)

GMDPrivateServer - Basically a Geometry Dash Server Emulator written in PHP

About

GeometryDash server emulator written in Java with using the Spring Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published