Commit Graph

21 Commits

Author SHA1 Message Date
Alexander Medvedev
43e65ca412 many fixes 2026-08-19 21:44:30 +02:00
Alexander Medvedev
e1fb278af0 fix: ci 2026-08-19 11:56:13 +02:00
Alexander Medvedev
afb0e82713 many fixes 2026-08-08 20:39:14 +02:00
Alexander Medvedev
f347ddfdab some more stuff 2026-07-26 11:36:48 +02:00
Alexander Medvedev
5c00ff0b67 more fixes 2026-07-26 10:47:39 +02:00
Alexander Medvedev
1182c7e8fe some fixes 2026-07-25 23:20:16 +02:00
Felix
245f91a029 Trim PR scope for review feedback 2026-04-12 21:59:13 +02:00
Felix
43ba5b50ae Fix compatibility with current Pumpkin nightlies 2026-04-12 16:04:08 +02:00
Purdze
fff0592875 Fix clippy and fmt issues
- Use Option::map instead of manual if-let-some in config callback
- Remove unused itemstack re-export
- Apply cargo fmt
2026-03-02 23:31:47 +00:00
Purdze
640d6268ab Implement legacy material conversion and fix command sender
- Add three-tier legacy material lookup in PatchBukkitLegacy: data-value
  map, rename map, and direct name match covering all 462 LEGACY_*
  materials
- Fix null player sender by creating PatchBukkitPlayer on-the-fly with
  op when Java-side getPlayer returns null
- Add DynamicTestProvider interface and LEGACY_MATERIALS test category
  that validates every legacy material converts to non-AIR
- Fix protobuf codegen naming collision with java_outer_classname
- Clean up command_manager: extract get_or_init_command_map helper,
  remove debug logging and dead code
2026-03-02 22:42:09 +00:00
Bjorn Beishline
2d7fe45c98 Use tracing instead 2026-02-12 23:27:48 -07:00
Purdze
bab25c6a50 fix cargo fmt formatting 2026-02-12 12:13:42 -07:00
Purdze
338717143a add conformance test plugin and fix command registration panic
- new patchbukkit-test-plugin gradle subproject with 69 tests across
  10 categories (server, plugin_manager, command_system, event_system,
  permissions, registry, entity, console_sender, unsafe_values, stubs)
- test framework with reflection-based discovery, ansi-colored output,
  and ci-parseable [PBTEST_SUMMARY] line
- /pbtest [category|all] command for manual test execution
- fix .unwrap() panic in command_manager.rs register_permission that
  crashed the jvm worker thread when plugins declared commands
2026-02-12 12:13:42 -07:00
Bjorn Beishline
5a4b495a25 use tracing for logging instead
This will temporarily break logging as Pumpkin logging for plugins is broken currently
2026-02-12 12:04:33 -07:00
Bjorn Beishline
3f4db9f5b4 Let events modify 2026-02-04 02:21:27 -07:00
Alexander Medvedev
e8d53a458e enforce clippy lints and rustfmt 2026-02-03 21:00:51 +01:00
Bjorn Beishline
eb44131801 Fix cancel checking causing errors 2026-02-02 16:53:54 -07:00
Bjorn Beishline
9cc31658a1 feat: refactor events 2026-02-02 16:44:57 -07:00
yunuservices
34af0e46a6 feat: commandSender implementation 2026-02-02 22:43:45 +03:00
Bjorn Beishline
288c45537c Get suggestions working 2026-02-02 04:35:02 -07:00
Bjorn Beishline
196acf8865 Refactor command code 2026-02-02 03:25:17 -07:00