Repository navigation
Conversation
tools/e2e (bot players, real-server scenarios and the API probe plugin) leaves the repository like the test sources: it is untracked and ignored, and stays on disk for local runs. Gradle includes the probe subproject only where tools/e2e/probe exists, so a fresh checkout still configures (Gradle 9 rejects a missing project directory). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PumpkinMC/ ports the core (rules, caches, messages, commands, config upgrades, SQLite and MySQL/MariaDB storage) to Rust and adds the Pumpkin glue, built against pumpkin-plugin-api (Wasm API v0.1) to friends_pumpkin.wasm. It ships the same config.yml (embedded from core/) and uses the same tables and SQL, so databases move between platforms. Commands, permission (friends:use) and messages match Paper; vanilla /msg, /tell and /w are taken over from the command event. FriendsAPI and its events are JSON over plugin IPC. MySQL goes through a small client on mysql_common, as the mysql crate doesn't build for wasm32-wasip2; TLS is refused for now. Pumpkin's Wasm host crashes the server when a player tab-completes a plugin suggestion argument, so commands use literal subcommand nodes and register no suggestion handler: player names aren't completed yet. CI builds and lints the plugin (tests stay local); releases attach friends-pumpkin.wasm. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits:
tools/e2e(bot players, real-server scenarios, the Java API probe) is untracked and ignored, like the test sources. The files stay on disk.settings.gradle.ktsincludes:probeonly wheretools/e2e/probeexists, because Gradle 9 rejects a project whose directory is missing. Checked with./gradlew projectson JDK 25, both without the folder (no:probe) and with it (:probeincluded). Earlier versions of these files remain in the git history; only the branch tip drops them.PumpkinMC/runs Friends on Pumpkin, the Rust server, as a WebAssembly plugin. Start withPumpkinMC/README.md.What the port is
PumpkinMC/coreis the platform-agnostic core ported to Rust: rules, caches, every chat message (the MiniMessage templates rebuilt with the same nesting),FriendCommand,ConfigUpgrade, and SQLite/MySQL/MariaDB storage. Nothing in it knows about Pumpkin.PumpkinMC/pluginis the Pumpkin glue. It buildsfriends_pumpkin.wasmagainstpumpkin-plugin-api0.2.1, which is Wasm API v0.1, what Pumpkin loads by default.PumpkinMC/tools/probeis a test plugin that exercises the API.config.ymlis embedded fromcore/src/main/resources, and upgrades add new settings the same way.friends.db(including WAL mode) or a shared MySQL database works.plugins/data/friends/.friends.usebecomesfriends:use, because Pumpkin requires the plugin's namespace./msg,/telland/won Pumpkin, so Friends takes them over from the command event before they run;/whisper,/rand/replyare its own commands.FriendsAPIand its events are JSON over plugin IPC, with cancelling and message rewriting supported.mysqlcrate doesn't build forwasm32-wasip2, socore/src/storage/mysql_wire.rsis a small client on top ofmysql_common. It supportscaching_sha2_password(including the RSA full-auth path) andmysql_native_password, and reconnects the way HikariCP does.pumpkinjob runscargo fmt --check,clippy -D warningsand the release build. It doesn't run tests, which stay local (PumpkinMC/*/tests/is ignored).friends-pumpkin.wasm, with the same tag-vs-version check againstPumpkinMC/Cargo.toml.Known limitations
/statusvalues are). On the 2026-11-06 nightly, Pumpkin's Wasm host shuts the whole server down when a player tab-completes an argument that has a plugin suggestion handler: it panics incrates/pumpkin-wasm-host-v0_1/src/commands/executor.rs:149, callingblock_in_placeon the tick thread. So Friends registers none. This is not reported upstream yet.mysql.use-ssl: trueis refused at startup: there's no TLS in the plugin sandbox.true/falseare booleans.Tested locally (in Docker; the host has no Rust or Java)
friends.dbwritten with Java's DDL, with its rows still in the WAL;caching_sha2_passwordandmysql_native_passwordusers) and MariaDB 11.4, including reconnecting after the connection is killed.0.2.1+26.3-26.60), with 26.3 bots driven by the (now local) e2e tools. All four scenarios pass:pumpkin: the same friend story as the Paper scenarios, plus tab completion;pumpkin-mysql;load-pumpkin;api-pumpkin: events, one cancelled, one rewritten; a call back into Friends from inside an event; API actions.For review
build.gradle.ktsandPumpkinMC/Cargo.tomlboth say0.7.0, but the latest release is tagged1.0.0. The release workflow requires the tag to match, so the next release needs both versions bumped together.docker build -t friends-pumpkin-dev -f PumpkinMC/tools/dev.Dockerfile PumpkinMC/tools, then from the repo rootdocker run --rm -v "$PWD:/repo" -w /repo/PumpkinMC friends-pumpkin-dev cargo plugin.🤖 Generated with Claude Code