0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-18 09:15:13 +00:00
No description
Find a file
Robin C. Ladiges 26e100ff72
Merge remote-tracking branch 'origin/master'
Conflicts:
	README.md
2022-07-02 18:58:17 +02:00
.github/workflows Github workflow to build and deploy docker image 2022-06-28 11:06:07 +02:00
Server Update Program.cs 2022-06-29 06:54:14 +01:00
Shared Add date to log messages 2022-06-20 12:57:45 -06:00
TestClient Add max players command and remove savesettigns 2022-05-31 14:48:48 -06:00
.gitignore Add date to log messages 2022-06-20 12:57:45 -06:00
docker-compose.yml add docker-compose.yml 2022-06-28 09:43:51 +02:00
Dockerfile add Dockerfile 2022-06-28 09:43:41 +02:00
README.md Merge remote-tracking branch 'origin/master' 2022-07-02 18:58:17 +02:00
smo.service Added a simple systemd service (#5) 2022-07-01 12:10:15 -06:00
SmoMultiplayerServer.sln Add README.md 2022-06-17 21:18:57 -06:00

Super Mario Odyssey: Online Server

The official server for the Super Mario Odyssey: Online mod.

Windows Setup

  1. Download latest build from Releases
  2. Run Server.exe
  3. settings.json is autogenerated in step 2, modify it however you'd like.

Building (Mac/Linux Setup)

Must have the .NET 6 SDK and Git installed. Run these commands in your shell:

git clone https://github.com/Sanae6/SmoOnlineServer
cd SmoOnlineServer
# replace run with build to only build the server
dotnet run --project Server/Server.csproj -c Release

If you ran dotnet build instead of dotnet run, you can find the binary at Server/bin/net6.0/Release/Server.exe

Running under systemd

If you have systemd, you can use the existing systemd serivce.

cp smo.serivce /etc/systemd/system/smo.service
# edit ExecStart to your path for the server executable and change WorkingDirectory to the server directory
chmod +x filepath to the server executable
systemctl enable --now smo.service

Run docker image

If you have docker on your system, you can use the existing docker image. That way you don't have to build this server yourself or manually handle executables.

docker  run  --rm  -it  -p 1027:1027  -v smoo-data:/data/  ghcr.io/sanae6/smo-online-server

To always check for and use the latest server version you can add --pull=always to the options.

Alternatively there's a docker-compose.yml for docker-compose to simplify the command line options:

docker-compose  run  --rm  server

Commands

Run help to get what commands are available in the server console. Run the loadsettings command in the console to update the settings without restarting. Server address and port will require a server restart, but everything else should update when you run loadsettings.