Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,22 @@ public static void register(@NotNull Plugin plugin) {

if (!hasPacketEvents) {
// Primary source: Modrinth (auto-detects platform)
// Use WARN_SKIP to allow fallback to GitHub if Modrinth fails
deps.require(Dependency.modrinth("packetevents")
.name("PacketEvents")
.minVersion("2.7.0")
.updatePolicy(UpdatePolicy.MINOR)
.onFailure(FailurePolicy.FAIL)
.onFailure(FailurePolicy.WARN_SKIP)
.build());

// Fallback source: GitHub releases
// Use FAIL since this is the last resort - PacketEvents is required
deps.require(Dependency.github("retrooper/packetevents")
.name("PacketEvents")
.minVersion("2.7.0")
.assetPattern("*-spigot-*.jar")
.updatePolicy(UpdatePolicy.MINOR)
.onFailure(FailurePolicy.WARN_SKIP)
.onFailure(FailurePolicy.FAIL)
.build());
}
});
Expand Down
Binary file added web/public/thread/screenshots/dashboard-alt.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/public/thread/screenshots/finding.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.