Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Xgames123/PrimitierMultiplayerMod

Repository files navigation

PrimitierMultiplayerMod

NOTE: the latest version isn't done yet demo video

Mod installation

  1. Install Primitier mod manager
  2. Download the mod from the latest release.
  3. Drag it into primitier mod manager and click the arrow to select it
  4. Launch Primitier

Server installation without docker

  1. Download PrimitierServer from the release you want to install
  2. install .Net 5 runtime (When you run the application it will give you a download link)
  3. unpack the zip file
  4. run the main executable (You probably need to chmod it first)

Server installation with docker

  1. install git and docker
  2. git clone https://github.com/Xgames123/PrimitierMultiplayerMod.git --recursive
  3. edit primsconfig.json
  4. Run sudo docker build . -t multiplayerserver
  5. Run sudo docker run --rm -d --network host multiplayerserver -p 9543:9543/udp

primsconfig.json

primsconfig.json is the configuration file for the server

{
	"ListenPort": 9543, //Port to listen on
	"ListenIp": "0.0.0.0", //Ip address to use for the server

	"MaxPlayers": 10, //Maximum players that can be in the world
	"WorldDirectory": "World", //The path to the directory to store world data into
	"UpdateDelay": 10, //Amount of milliseconds between server updates (When the server sends a packet to all connected clients)

	//Configurations for the clients that connect
	"Client": {
		"IdleUpdateDelay": 1000, //Amount of milliseconds between client updates when the client is idle (when the client is too far away from other players to be seen)
		"ActiveUpdateDelay": 20 //Amount of milliseconds between client updates when the client can be seen by other players
	}
}

About

A multiplayer mod for primitier

Resources

License

Stars

Watchers

Forks

Packages

No packages published