From f50c0b071a6376a16dc831aa636196425260d924 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Nov 2026 21:35:44 +0000 Subject: [PATCH] plugin.yml: depend on BentoBox Server owners often drop the addon jar straight into /plugins without BentoBox. Without a declared dependency Paper fails with a NoClassDefFoundError for Pladdon; with it, Paper reports that BentoBox is missing and should be installed. It also makes Paper load BentoBox before this jar, which BentoBox's misplaced-addon detection relies on. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01HBXcjXZr4SH6E9JGWnfMLj --- src/main/resources/plugin.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index f093450..57e6e69 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -3,6 +3,10 @@ main: world.bentobox.border.BorderPladdon version: ${project.version}${build.number} api-version: "1.21" +# BentoBox must be installed: this jar is an addon and belongs in plugins/BentoBox/addons. +# Declaring it makes Paper explain a missing BentoBox, and load it before this jar. +depend: [BentoBox] + authors: [tastybento] contributors: ["The BentoBoxWorld Community"] website: https://bentobox.world