Plugin and API version compatibility
Why a plugin does not work on your version, what api-version means, how to read requirements, and what a mismatch can cause.
Updated August 13, 2026
A plugin is built for a specific version of the server API. A mismatch either prevents it from loading or causes errors during operation.
What determines compatibility
- Game version. A plugin for 1.20 will usually not work on 1.21: the internal classes change.
- Core. Bukkit/Spigot/Paper are compatible “bottom-up”: a Bukkit plugin will run on Paper, but not the other way around if Paper-specific APIs are used.
- Dependencies. Vault, PlaceholderAPI, ProtocolLib — their versions have to match too.
api-version
The plugin's plugin.yml specifies:
api-version: 1.21
If the line is missing entirely, the server treats the plugin as legacy and enables compatibility mode — a warning appears in the log. This isn't an error, but a sign of an old plugin.
Typical symptoms
| In the log | Meaning |
|---|---|
Unsupported API version | The plugin was built for a newer core |
NoSuchMethodError | The method is gone in your version — breakdown |
NoClassDefFoundError | Missing dependency — breakdown |
Invalid plugin.yml | The file is corrupted or this isn't a plugin — breakdown |
Checking before installation
The “Plugins and mods” catalog in the control panel filters by your core and version and warns you about incompatibility before installation — How to install. When uploading manually, check the plugin's page: it always lists the range of supported versions.
