Skip to content

Build ConditionalEvents as a TFMC plugin for Paper 1.21.10 - #1

Merged
ryanbarlow97 merged 1 commit into
mainfrom
tfmc-build
Oct 14, 2026
Merged

ryanbarlow97 merged 1 commit into
mainfrom
tfmc-build

Conversation

@ryanbarlow97

Copy link
Copy Markdown
Contributor

This sets up the new TF-Minecraft/ConditionalEvents copy of Ajneb97/ConditionalEvents 4.80.3, the same way as Codex #1. It is the groundwork for a per-event choice between per-account and per-character data, which comes in a follow-up PR.

The sources move from ce.ajneb97 to net.tfminecraft.conditionalevents. The POM builds against Paper 1.21.10 with Java 21, and the jar is named conditionalevents-<version>.jar. exp4j is still shaded, now relocated under our package. ItemsAdder's public API artifact (dev.lone:api-itemsadder:4.0.10) is no longer downloadable, so the build uses the pinned ItemsAdder 4.0.18 jar from ServerAssets through prepare-release.sh, as BirdMessenger does. CI therefore needs this repository added to the DEPS_TOKEN organisation secret. The plugin name and data folder stay ConditionalEvents, so Main's events and player files load unchanged. Upstream changed only six Java files between 4.80.1 (what the servers run) and 4.80.3, and no resources.

I removed the update checker and bStats, as in Codex, along with the update_notification setting. An existing config that still has the key is fine. api-version is now 1.21.10.

mvn clean package passes locally, and the shaded jar passes plugin-artifact.py. Upstream has no tests.

🤖 Generated with Claude Code

Move the sources to net.tfminecraft.conditionalevents, build against
Paper 1.21.10 with Java 21 and name the runtime jar
conditionalevents-<version>.jar. ItemsAdder's API is no longer published,
so build against the pinned ItemsAdder jar from ServerAssets like the
other plugins. Add the shared workflows. Drop the update checker and
bStats, which reported this copy as upstream ConditionalEvents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the size:XXL 1,000+ effective changed lines (tests excluded in mixed PRs). label Oct 14, 2026
@ryanbarlow97

Copy link
Copy Markdown
Contributor Author

Reviewed by Astra (GPT-6-Astra) over four read-only rounds together with the per-character PR; findings fixed. Muse was out of quota. Merging with admin bypass.

@ryanbarlow97
ryanbarlow97 merged commit 12dcf92 into main Oct 14, 2026
2 checks passed
@ryanbarlow97
ryanbarlow97 deleted the tfmc-build branch October 14, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ effective changed lines (tests excluded in mixed PRs).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant