auth-limbo/.github/workflows/build.yml
s8n-ru 8cd92694e7 Initial commit: RackedLimbo 1.0.0
Auth-limbo + login-restore fix for Paper 1.21+. Bypasses the
AuthMe `teleportOnLogin` race (PaperMC/Paper#4085) by listening at
MONITOR priority, reading the player's saved quit-location from
AuthMe's SQLite DB, pinning the destination chunk via
addPluginChunkTicket, then chaining getChunkAtAsyncUrgently and
teleportAsync.

Bundles a void auth_limbo world via custom ChunkGenerator so the
plugin removes the need for Multiverse-Core for offline-mode auth flows.
2026-04-30 18:23:13 +01:00

46 lines
1.3 KiB
YAML

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 21 (Temurin)
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
cache: maven
# The AuthMe jar is a system-scope dependency referenced by pom.xml
# but is not redistributed in this repo. Set the AUTHME_JAR_URL repo
# secret to a direct download URL for AuthMe-5.6.0-FORK-Universal.jar
# before this workflow can succeed. See lib/README.md for context.
- name: Fetch AuthMe jar
env:
AUTHME_JAR_URL: ${{ secrets.AUTHME_JAR_URL }}
run: |
if [ -z "$AUTHME_JAR_URL" ]; then
echo "::error::AUTHME_JAR_URL secret is not set. See lib/README.md."
exit 1
fi
curl -fsSL "$AUTHME_JAR_URL" -o lib/AuthMe-5.6.0-FORK-Universal.jar
ls -la lib/
- name: Build with Maven
run: mvn -B -ntp package
- name: Upload jar artifact
uses: actions/upload-artifact@v4
with:
name: RackedLimbo-jar
path: target/RackedLimbo-*.jar
if-no-files-found: error