Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xgames123/primitiermultiplayermod

A multiplayer mod for primitier
https://github.com/xgames123/primitiermultiplayermod

Last synced: about 2 months ago
JSON representation

A multiplayer mod for primitier

Awesome Lists containing this project

README

        

# PrimitierMultiplayerMod
**NOTE: the latest version isn't done yet**
[demo video](https://www.youtube.com/watch?v=lH9EM5iw_Uo)

## Mod installation
1) Install [Primitier mod manager](https://github.com/Xgames123/PrimitierModManager)
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`
3) Run ```sudo docker build . -t multiplayerserver```
4) Run ```sudo docker run --rm -d --network host multiplayerserver -p 9543:9543/udp```

## primsconfig.json
primsconfig.json is the configuration file for the server
```json
{
"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
}
}
```