fix(lobby): 大厅变成安全的中转大厅并提示 /menu,大厅上限 200、登录门不限人数
This commit is contained in:
12 files changed
+996
-4
No files matched your search
@@ -47,6 +47,13 @@
|
||||
# frame budget. They ride the module's verified dependency set, which is why
|
||||
# they live in Gradle rather than in the javac mains above.
|
||||
#
|
||||
# 4. The lobby guard self-test (`./gradlew lobbyTest` in plugins/paper): LobbyGuard
|
||||
# runs against real paper-api events around fake players and worlds, so a
|
||||
# passer-by cannot change the lobby while a builder can, nobody is hurt or
|
||||
# starved, a fall into the void lands at spawn, a join sets adventure mode and
|
||||
# names /menu with a click, and a world rule the server refuses is logged
|
||||
# without taking the menu down with it.
|
||||
#
|
||||
# No test framework: the mains are the same javac one-liners their javadocs document,
|
||||
# so a local run and CI run the same bytes.
|
||||
set -euo pipefail
|
||||
@@ -189,6 +196,9 @@ done
|
||||
echo "==> plugins/velocity: ./gradlew --no-daemon routingTest"
|
||||
( cd plugins/velocity && ./gradlew --no-daemon routingTest )
|
||||
|
||||
echo "==> plugins/paper: ./gradlew --no-daemon lobbyTest"
|
||||
( cd plugins/paper && ./gradlew --no-daemon lobbyTest )
|
||||
|
||||
limbo_version="$(sed -n 's/^LIMBO_VERSION=//p' deploy/game-stack.lock)"
|
||||
[ -n "$limbo_version" ] || { echo "deploy/game-stack.lock sets no LIMBO_VERSION" >&2; exit 1; }
|
||||
echo "==> plugins/limbo: ./gradlew --no-daemon -PlimboVersion=${limbo_version} build"
|
||||
|
||||
Reference in new issue
Block a user