From 0330ec9653739397317179408c9feab96525608d Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Fri, 4 Dec 2026 22:44:58 +0100 Subject: [PATCH] Pin and build the Tweaks & Ladders staff consolidation candidate --- .forgejo/workflows/dune-staff.yml | 4 ++-- DuneStaff/README.md | 7 +++++-- DuneStaff/build.gradle.kts | 2 +- DuneStaff/src/main/resources/plugin.yml | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/dune-staff.yml b/.forgejo/workflows/dune-staff.yml index 524720a4..e08e919b 100644 --- a/.forgejo/workflows/dune-staff.yml +++ b/.forgejo/workflows/dune-staff.yml @@ -2,7 +2,7 @@ name: DuneStaff Build on: workflow_dispatch: push: - branches: ['feat/staff-tools-*'] + branches: ['feat/staff-tools-*', 'feat/tweaks-ladders-staff-*'] jobs: dune-staff: @@ -24,7 +24,7 @@ jobs: - uses: gradle/actions/setup-gradle@v4 with: gradle-version: '9.2.1' - - name: Build standalone staff plugin + - name: Build staff plugin and run its tests shell: bash run: | set -euo pipefail diff --git a/DuneStaff/README.md b/DuneStaff/README.md index d2ae50d7..64d0bfdb 100644 --- a/DuneStaff/README.md +++ b/DuneStaff/README.md @@ -1,13 +1,16 @@ # Consolidated DuneStaff candidate -This next-beta candidate keeps the DuneStaff Paper plugin name and folds in the DuneProtect command wrapper, the Paper-side DuneBan service, and the Lobby-only Builder transfer service. The Velocity ban guard, its database contract, WorldEdit, WorldGuard and CoreProtect continue to own their original functions. +This Tweaks & Ladders 1.1.0 candidate keeps the DuneStaff Paper plugin name and folds in the DuneProtect command wrapper, the Paper-side DuneBan service, and the Lobby-only Builder transfer service. The Velocity ban guard, its database contract, WorldEdit, WorldGuard and CoreProtect continue to own their original functions. The candidate reads the existing `plugins/DuneBan/config.yml` in place, requires a valid server identity, and retains `plugins/DuneBuilder/` for recovery snapshots. It does not initialize Builder on planet servers. The existing provider names, namespaced protection/moderation commands, and moderation GUI method signatures continue to resolve to the original behavior. Legacy JARs and the unified candidate must be swapped in a single controlled release. -Original Paper sources were recovered from the DuneRealms story-update worktree at `4d7deb3e2ea2613b003a9acdc2155bb610fced66` and the lobby-migrated-loader Builder snapshot. Their retained artifacts matched the audited live hashes. +The source candidate is based on canonical plugins c3a36b2a30a8bfbae679383e5fa032869b96bad2. Original Paper sources were recovered from the DuneRealms story-update worktree at `4d7deb3e2ea2613b003a9acdc2155bb610fced66` and the lobby-migrated-loader Builder snapshot. Their retained artifacts matched the audited live hashes. +- Current standalone DuneStaff — `e947904860bdf962260bd2ebd27b9357b97c37b05a95d4503f36a343ac3095b2` - Paper DuneBan 1.0.2 — `8ff8eab02f8f4bee8ccd944fba7f921a8207fcfa1e57ac029a09549685797ecd` - DuneProtect 1.0.0 — `1d2051d311af6aa9816c70857a9432af7205c787484bf8eba490d4ba954c1a35` - Lobby DuneBuilder 1.0.0 — `18f8878b18f249ff97728542a63effedb1d19f473168b9ab7ec8ef8f11c25538` +- Unchanged Velocity ban companion — `8f25fb0df3c3a8dcfb3e0649e212333803b2f892025c9904dd1e1d87c3ad82ab` + Build with Java 21 and Gradle using `gradle -p DuneStaff test jar`. Before a live migration, confirm each server's existing DuneBan identity and database readiness, and verify disconnected Builder profile recovery with a disposable copy. Compare existing permission outcomes and a disposable ban against the unchanged Velocity guard. Keep the retained JARs and data folders available for a one-restart rollback. diff --git a/DuneStaff/build.gradle.kts b/DuneStaff/build.gradle.kts index c02b7643..98a2508c 100644 --- a/DuneStaff/build.gradle.kts +++ b/DuneStaff/build.gradle.kts @@ -1,6 +1,6 @@ plugins { java } group = "com.dunerealms" -version = "1.0.0" +version = "1.1.0" repositories { mavenCentral() maven("https://repo.papermc.io/repository/maven-public/") diff --git a/DuneStaff/src/main/resources/plugin.yml b/DuneStaff/src/main/resources/plugin.yml index 5a60259c..d24a03af 100644 --- a/DuneStaff/src/main/resources/plugin.yml +++ b/DuneStaff/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: DuneStaff main: com.dunerealms.staff.DuneStaff -version: 1.0.0 +version: 1.1.0 api-version: '1.21.8' provides: [DuneBan, DuneProtect] softdepend: [CoreProtect, WorldEdit, WorldGuard, DuneCore, DuneMenus, LuckPerms]