Skip to content

Commit bc81923

Browse files
committed
Update readme
1 parent 5001f80 commit bc81923

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ A Battlefield 2 mod server with administration through a web interface or Discor
44

55
The communication between webadmin and the ModManager module on the Battlefield 2 server is done over an open socket, but does not require any additional open ports on the game server.
66

7+
![Server page screenshot](https://static.nihlen.net/bf2/media/bf2webadmin-ss-1.png)
8+
79
## Features
810
* Administration through the web UI
911
* Restart server, restart map, toggle pause
@@ -50,6 +52,16 @@ docker-compose pull
5052
```
5153
and then rerun the docker-compose up-command.
5254

55+
### Windows build
56+
57+
To build a self-contained app for Windows, use `dotnet publish`, requires [.NET SDK 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0).
58+
59+
```sh
60+
dotnet publish .\src\BF2WebAdmin.Server\BF2WebAdmin.Server.csproj -c Release -o .\publish
61+
```
62+
63+
Create `Configuration/appsecrets.json` using the template further down, then run `BF2WebAdmin.Server.exe` and navigate to http://localhost:5000.
64+
5365
### Docker Compose Example
5466

5567
This is an example of webadmin and two Battlefield 2 servers running on the same host.

0 commit comments

Comments
 (0)