Skip to content

Release diff: master → previous_release - #30

Closed
Th0rgal wants to merge 2 commits into
previous_releasefrom
master
Closed

Release diff: master → previous_release#30
Th0rgal wants to merge 2 commits into
previous_releasefrom
master

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Dec 29, 2025

Copy link
Copy Markdown
Member

Automated PR. The 'previous_release' branch is force-updated on every push to master to point at the commit before the push, so this PR always represents the current release diff.


Note

Plugin now auto-downloads PacketEvents at runtime via Hopper instead of shading it; adds a Paper PluginLoader (AacBootstrap) to fetch dependency before classload and prompts restart if needed.

  • Gradle: switch packetevents-spigot to compileOnly, add hopper-paper and bstats-bukkit, add Oraxen repo; adjust shading to relocate Hopper and bStats only.
  • Bukkit plugin: safer startup/shutdown flow, disable if PacketEvents missing, register /aac via CommandMap for Paper, add bStats metrics, and clean command on reload.
  • Add paper-plugin.yml with loader and dependency declarations.

Docs/README overhaul: refreshed landing README with architecture/links; install guide documents Hopper auto-download and troubleshooting; many docs links updated to /docs/...; internal CLAUDE notes mention Hopper workflow.

Written by Cursor Bugbot for commit 4d5d943. This will update automatically on new commits. Configure here.

* docs: redesign README with clean layout and project links

* docs: add architecture diagram and technical depth to README

* Refine README wording and links

* Simplify README footer link

* Clarify license wording
@vercel

vercel Bot commented Dec 29, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
asyncanticheat.com Ready Ready Preview, Comment Dec 29, 2025 8:54am

* feat: integrate Hopper for automatic PacketEvents downloading

Replace shaded PacketEvents dependency with Hopper runtime downloader. Reduces JAR size by 84% (5.5MB → 822KB) and eliminates classpath conflicts. Plugin automatically downloads PacketEvents from Modrinth on first start, with server restart prompt if needed. Added Paper plugin bootstrap loader and updated documentation.

* fix: unregister command on plugin disable to prevent memory leak

Commands registered via CommandMap persist after plugin disable,
causing leaks and issues on reload. Store reference and unregister.

* fix: use absolute /docs paths for internal documentation links

Relative links weren't resolving correctly with contentDirBasePath.

* feat: add bStats metrics integration (ID: 20187)

Track plugin usage statistics via bStats.org for analytics.

* fix: support both Spigot and Paper command registration

On Spigot, use getCommand().setExecutor() for plugin.yml commands.
On Paper plugins, fall back to CommandMap registration.
packetevents:
load: BEFORE
required: true
join-classpath: true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required dependency conflicts with runtime download approach

The paper-plugin.yml declares packetevents as required: true, but AacBootstrap downloads PacketEvents at runtime via Hopper. On first install without PacketEvents pre-installed, Paper's dependency system checks for loaded plugins, not just JAR files on disk. Even after Hopper downloads PacketEvents, it won't be recognized as a loaded plugin until server restart, causing Paper to report a missing dependency error instead of showing the "please restart" message from the bootstrap. This creates a confusing first-run experience where users see dependency errors despite successful download.

Additional Locations (1)

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant