Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
86c7917
fix: synchronization issues
Istador Jun 28, 2023
d6a8df4
Refactoring ban command (#48)
Istador Sep 5, 2023
dd0de0d
build binary files via docker
Istador Dec 19, 2022
20ee74d
fix: construct tag packet instead of caching it in memory
Istador Apr 24, 2024
61e6fcf
new setting: Shines/Excluded
Istador Apr 25, 2024
dc20a9c
small refactorings
Istador Apr 27, 2024
9511d07
send server init after the client init
Istador Apr 27, 2024
082e480
crash ignored players
Istador Apr 27, 2024
4de654b
ignore & crash instead of disconnect clients after reaching the MaxPl…
Istador Apr 27, 2024
497b5b4
fix: KeyNotFoundException
Istador Apr 27, 2024
bec6dde
refac the "speedrun" mode
Istador Sep 22, 2023
fb55820
fix: properly handling minutes
Istador Jun 21, 2024
d69d9b8
fix: let `tag start` also send the new role to the actual players
Istador Jun 21, 2024
7a055be
fix: `tag time` command send new time to all players
Istador Jun 21, 2024
3affb59
fix: `tag seeking` command send new state to all players
Istador Jun 21, 2024
6ec213b
Update TagPacket.cs
Sanae6 Jun 21, 2024
cbbb1b9
[workflows] update: action versions
Istador Oct 13, 2024
836b8c5
fix: Dockerfile warnings
Istador Oct 13, 2024
f324c9d
fix: only parse time & seeking from TagPackets for Hide&Seek or Sardines
Istador Oct 13, 2024
b8ef77c
[ban] new: `BanList/GameModes` setting to ban gamemodes
Istador Oct 20, 2024
6c56664
[ban] change: `ban list` to show banned gamemodes
Istador Oct 20, 2024
62e041f
[ban] new: add command `ban gamemode`
Istador Oct 20, 2024
7833413
[ban] new: add command `unban gamemode`
Istador Oct 20, 2024
2cde356
JSON API
Istador Sep 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/Server/bin/
/Server/obj/
/Shared/bin/
/Shared/obj/

/Server/**/.gitignore
/Server/**/*.env
/Server/**/*.md
/Server/**/*.sh
44 changes: 38 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
echo "IMAGE=$IMAGE" >>$GITHUB_ENV
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
id: meta
name: Docker meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ env.IMAGE }}
Expand All @@ -47,22 +47,22 @@ jobs:
org.opencontainers.image.licenses=UNLICENSED
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64,arm
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
-
name: Login to GHCR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry : ghcr.io
username : ${{ github.repository_owner }}
password : ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
pull : true
push : true
Expand All @@ -73,3 +73,35 @@ jobs:
platforms : linux/amd64,linux/arm/v7,linux/arm64/v8
cache-from : type=gha,scope=${{ github.workflow }}
cache-to : type=gha,scope=${{ github.workflow }},mode=max
-
name: Build binary files
run: |
./docker-build.sh all
-
name : Upload Server
uses : actions/upload-artifact@v4
with:
name : Server
path : ./bin/Server
if-no-files-found : error
-
name : Upload Server.arm
uses : actions/upload-artifact@v4
with:
name : Server.arm
path : ./bin/Server.arm
if-no-files-found : error
-
name : Upload Server.arm64
uses : actions/upload-artifact@v4
with:
name : Server.arm64
path : ./bin/Server.arm64
if-no-files-found : error
-
name : Upload Server.exe
uses : actions/upload-artifact@v4
with:
name : Server.exe
path : ./bin/Server.exe
if-no-files-found : error
8 changes: 4 additions & 4 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64,arm
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
-
name: Build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
pull : true
push : false
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ riderModule.iml
.idea/
settings.json
.vs/

/cache/
/data/
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
################################################################################
################################################################## build ###

FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/sdk:6.0 as build
FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:6.0 AS build

WORKDIR /app/

Expand Down Expand Up @@ -34,7 +34,7 @@ RUN dotnet publish \
################################################################################
################################################################ runtime ###

FROM mcr.microsoft.com/dotnet/runtime:6.0 as runtime
FROM mcr.microsoft.com/dotnet/runtime:6.0 AS runtime

# Copy application binary from build stage
COPY --from=build /app/out/ /app/
Expand Down
Loading
Loading