Skip to content

Release diff: master → previous_release - #34

Closed
Th0rgal wants to merge 2 commits into
previous_releasefrom
master
Closed

Release diff: master → previous_release#34
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 runtime changes

  • Replace Paper loader (AacBootstrap, paper-plugin.yml) with runtime Hopper path: new AacHopper registers and downloads PacketEvents (Modrinth primary, GitHub fallback) and loads it during onLoad in AsyncAnticheatBukkitPlugin — no restart required
  • Simplify command handling to use plugin.yml registration only; remove CommandMap fallback and related cleanup

Build/config

  • Switch dependency to md.thomas.hopper:hopper-bukkit and keep packetevents-spigot as compileOnly
  • Bump pluginVersion to 0.4.1

Docs

  • Update .claude/CLAUDE.md, README.md, and web/content/installation/index.mdx to reflect automatic download + load of PacketEvents without restart and adjust setup steps

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

@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 9:13am

Switch from Paper bootstrap to BukkitHopper.downloadAndLoad() which
downloads and loads PacketEvents at runtime without requiring restart.

- Replace AacBootstrap with AacHopper using BukkitHopper API
- Remove paper-plugin.yml (no longer needed)
- Use hopper-bukkit instead of hopper-paper
- Simplify command registration (plugin.yml only)
- Update documentation to reflect no-restart flow
- Reduced logs (uses LogLevel.QUIET)
- Bump version to 0.4.1
.updatePolicy(UpdatePolicy.MINOR)
.onFailure(FailurePolicy.WARN_SKIP)
.build());
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

GitHub fallback unreachable when Modrinth download fails

The dependency registration intends to use GitHub as a fallback for Modrinth, but this won't work as coded. The Modrinth dependency uses FailurePolicy.FAIL which causes the entire download process to fail immediately if Modrinth is unreachable or fails. The GitHub dependency marked as "Fallback source" with FailurePolicy.WARN_SKIP would never be tried in that scenario. For proper fallback behavior, the Modrinth dependency would need WARN_SKIP so the process continues to try GitHub if Modrinth fails.

Fix in Cursor Fix in Web

enabled = false;
logger.info("Auto-download of dependencies is disabled");
return;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Static enabled flag not reset on plugin reload

The static enabled field is initialized to true but only set to false when the skipDependencyDownload system property is true. If the plugin is reloaded without a server restart (e.g., via a plugin manager), and the property was previously set to true but is now false/unset, enabled remains false from the previous load. This causes dependency downloading to be incorrectly skipped because the register() method never resets enabled back to true when the property is false.

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