Mirror of space-wizards/SS14.Admin
Find a file
2025-07-22 12:08:31 +02:00
.github/workflows Dotnet 9.0 (#76) 2025-01-17 15:14:14 +01:00
.idea/.idea.SS14.Admin/.idea Add the Capability to mass ban players based on .tsv files (#59) 2024-07-27 17:28:07 +02:00
SS14@326bd7f93a Update SS14 submodule 2025-02-23 16:32:18 +01:00
SS14.Admin adds a logo to the header (#81) 2025-07-22 12:08:31 +02:00
.dockerignore Container publishing 2024-01-12 17:57:15 +01:00
.editorconfig Update EF Core to .NET 8 (#47) 2024-01-12 23:38:08 +01:00
.gitignore Gitignore solution user file 2022-02-03 00:03:28 +01:00
.gitmodules Init project 2021-05-13 04:58:15 +02:00
Directory.Packages.props Update packages to fix build 2025-02-23 18:12:26 +01:00
Dockerfile Dotnet 9.0 (#76) 2025-01-17 15:14:14 +01:00
LICENSE.txt Init project 2021-05-13 04:58:15 +02:00
README.md Change client ID in example config file to a random one, to avoid confusion 2023-09-12 21:26:29 +02:00
SS14.Admin.sln Move submodule SS14 projects to be in solution folder. 2024-07-27 17:44:20 +02:00
SS14.Admin.sln.DotSettings "SS" is an acronym 2024-01-11 00:46:45 +01:00

SS14.Admin

SS14.Admin is the web-based admin panel intended to be used with Space Station 14.

Configuration

Example config file:

Serilog:
    Using: [ "Serilog.Sinks.Console" ]
    MinimumLevel:
        Default: Information
        Override:
            SS14: Debug
            Microsoft: "Warning"
            Microsoft.Hosting.Lifetime: "Information"
            Microsoft.AspNetCore: Warning
            IdentityServer4: Warning
    WriteTo:
        - Name: Console
          Args:
              OutputTemplate: "[{Timestamp:HH:mm:ss} {Level:u3} {SourceContext}] {Message:lj}{NewLine}{Exception}"

    Enrich: [ "FromLogContext" ]

    #Loki:
    #    Address: "http://localhost:3102"
    #    Name: "centcomm"

ConnectionStrings:
    # Connects to the same postgres database as the game server
    DefaultConnection: "Server=127.0.0.1;Port=5432;Database=ss14;User Id=ss14-admin;Password=foobar"

AllowedHosts: "central.spacestation14.io"

urls: "http://localhost:27689/"

PathBase: "/admin"

WebRootPath: "/opt/ss14_admin/bin/wwwroot"

ForwardProxies:
    - 127.0.0.1

Auth:
    Authority: "https://central.spacestation14.io/web/"
    ClientId: "9e2ce26f-28ba-4232-b4d9-8cc08993b33e"
    ClientSecret: "foobar"

authServer: "https://central.spacestation14.io/auth"

When registering an OAuth app against our auth server, use /signin-oidc as redirect URI (relative to whatever path your SS14.Admin thing is at, so for us it's https://central.spacestation14.io/admin/signin-oidc).