Skip to content

Provides the ability to transfer packets between Mindustry clients for network play

Notifications You must be signed in to change notification settings

xpdustry/claj-server

 
 

Repository files navigation

Copy Link and Join

Provides the ability to transfer packets between Mindustry clients for network play.

How to use

Everything you need to connect is in my Scheme Size mod. Just host the game and create a room in a special dialog next to the open server button, then copy the link and send it to your friend who can connect using it.

How to host server

You will need java 17

Download the repository and compile using the ./gradlew shadowJar command. Then using the jar located at build/libs/claj-server.jar, start the server with the command java -jar claj-server.jar port and replace port with the one you need. For local testing, the command ./gradlew runClajServer is provided, this will be available at the port 8000.

Local definitions

host - the player who hosted the game and created a room on the server.
server - a remote machine that transmits packets from a client to a host.
client - a player connecting via a link to a host through a server.
link - a string containing the room key, ip and port of the server.
room - an object that exists only on the server, serving as a container for connections to the host and client.

About

Provides the ability to transfer packets between Mindustry clients for network play

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%