-mode
- The mode of the server. Can beserver
,masterserver
, orclient
. Defaults isserver
.
The server configuration files are ./server.json
and ./masterserver.json
.
server.json
contains the following fields:
password
- The password required to connect to the server. Default emptymasterServer
- The address of the master server. Defaulthttp://localhost
name
- The name of the server. DefaultAutomataMP Server
port
- Port to host the listen server on. Default6969
masterserver.json
:
address
- Address to host the master listen server on. Defaultlocalhost
port
- Port to host the master listen server on. Default80
(If Scoop is installed)
scoop install go
scoop install gcc
go build -o server.exe main.go
sudo apt-get install golang
sudo apt-get install libenet-dev
go build -o server main.go
chmod +x server
WIP - Requires secure hosting (https)