On Paper and Spigot, a plugin is a single JAR file (a Java archive) in the plugins folder. If this file is corrupted, empty, duplicated or actually a mod or library, the server won't load the plugin or it crashes on startup. Each section below covers one of these messages. Via "Learn more" in the Server health, you land directly on the matching one.

You can find the full text in the Console or under Files in logs/latest.log. The lines directly below the message are usually the important ones, since that's where the actual reason is. Only replace plugin files while the server is stopped. Create a backup under Backups beforehand, especially if world or configuration files might also be affected.

“Error occurred while enabling …”: Plugin fails to start

What the message looks like:

Error occurred while enabling <Plugin> v<Version> (Is it up to date?)
java.lang.NoSuchMethodError: 'void org.bukkit.inventory.meta.ItemMeta.addEnchant(org.bukkit.enchantments.Enchantment, int, boolean)'
Error occurred while disabling <Plugin> v<Version>

What's behind it: The plugin crashed during activation and was disabled. The server keeps running, but the plugin's features are missing; for protection, permissions or login plugins, that protection is missing too. Usually server or plugin versions are incompatible. An external service failing to respond can also prevent startup.

How to fix it:

  1. Read surrounding lines in the Console. NullPointerException means access to a missing object; earlier messages may explain why.
  2. With the server stopped, install a compatible release. For NoSuchMethodError (missing method) or NoClassDefFoundError (missing component), check dependencies and versions; Bukkit references may concern the server interface.
  3. For SocketTimeoutException: Read timed out, check the external service's availability and configured address.
  4. For Communications link failure, check database credentials in the plugin configuration and under Databases.
  5. For zip file closed, restart; if it persists, replace the JAR with a compatible download while stopped.
  6. After restarting, check for activation. If NullPointerException persists, report it with surrounding log lines to the plugin author.

Good to know: “Error occurred while disabling” concerns shutdown. If an activation error preceded it, investigate that first. More: Plugin doesn't match the server version.

Plugin file is skipped ("Could not load 'plugins/…jar'")

What the message looks like:

[ModernPluginLoadingStrategy] Could not load 'plugins/<Plugin>.jar' in 'plugins'
org.bukkit.plugin.UnknownDependencyException: Unknown/missing dependency plugins: [ProtocolLib]. Please download and install these plugins to run '<Plugin>'.

What's behind it: The server couldn't load the named JAR as a plugin and skips it. A JAR (Java archive) is the file a plugin comes in. The rest of the server can keep running, but this plugin is missing entirely. The cause is a corrupted or invalid file, or a JAR without a readable plugin.yml, the description file by which the server recognizes a plugin. With "Failed to run bootstrapper", a Paper plugin failed in the very earliest startup phase.

How to fix it:

  1. Read the line below the message. If UnknownDependencyException appears there, another plugin is missing: install the plugin in the square brackets.
  2. Otherwise, stop the server and delete the affected JAR under Files in the plugins folder.
  3. Download a release from a trustworthy source that matches your server type (Paper, Spigot) and your Minecraft version, and upload it.
  4. Restart the server.

Good to know: If the path points to plugins/.paper-remapped, that is a copy Paper creates for Spigot plugins. Replace the original JAR in plugins; Paper regenerates the copy on the next start. On missing plugins: Plugin needs another plugin.

“Error initializing plugin …”: Plugin fails during startup

What the message looks like:

[<Plugin>] Error initializing plugin '<Plugin>-<Version>.jar' in folder '<Folder>' (Is it up to date?)
java.lang.ExceptionInInitializerError
java.lang.IllegalStateException: English locale not found in Geyser.

What's behind it: The plugin crashed while the server was preparing it, before it was even enabled. It stays disabled, its commands and features are missing, and the server keeps running without it. Usually the plugin version doesn't match the server version. The error line below often names the version or a missing class, meaning a component the plugin expects in the server.

How to fix it:

  1. First read the following lines in logs/latest.log under Files, especially Caused by. They identify the underlying cause.
  2. Install the plugin release for your server version or update it. The plugin page lists supported versions.
  3. If there is no matching release for your server version yet, wait for a plugin update or stay on a supported version under Version for now.
  4. If that doesn't help, remove the plugin as a test and report the error to the plugin author, including the complete message.
  5. Restart the server.

Good to know: If Geyser reports "English locale not found", the file is incomplete. Download Geyser again from the official project page. More on this: Plugin doesn't match the server version.

Paper doesn't load a plugin ("Could not load plugin … in folder")

What the message looks like:

[ModernPluginLoadingStrategy] Could not load plugin '<Plugin>-<Version>.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError

What's behind it: Paper couldn't load the named plugin at startup. The plugin is missing entirely, while the rest of the server starts. The line directly below gives the reason, usually a broken plugin.yml, a missing dependency or a build for a different server version. A message about "API version string" means, for example, that the version entry in the plugin.yml has a format your server version doesn't understand.

How to fix it:

  1. Read the line directly below the message.
  2. Download the plugin again, matching your server version.
  3. Stop the server, remove the old JAR from plugins under Files and upload the new one.
  4. Restart the server and check in the Console whether the plugin loads now.

Good to know: If the line below names a missing plugin, the problem isn't the file itself. In that case, Plugin needs another plugin helps.

“Ambiguous plugin name …”: Plugin installed twice

What the message looks like:

[ModernPluginLoadingStrategy] Ambiguous plugin name 'Essentials' for files 'plugins/EssentialsX-<Version> (1).jar' and 'plugins/EssentialsX.jar' in 'plugins'
[ModernPluginLoadingStrategy] Ambiguous plugin name '<Plugin>' for files 'plugins/.paper-remapped/<Plugin>.jar' and 'plugins/.paper-remapped/<Plugin>.jar' in 'plugins/.paper-remapped'
Ambiguous plugin name `ViaVersion' for files `plugins/ViaVersion-<Version>.jar' and `plugins/ViaVersion-<OtherVersion>.jar' in `plugins'

What's behind it: Two JARs declare the same internal plugin name, even with different filenames. Usually these are old and new versions, or two variants of the same plugin, such as Vault and VaultUnlocked. The server loads only one and may run the unwanted version.

How to fix it:

  1. Stop the server and open plugins under Files.
  2. Check the original JARs in plugins for duplicate versions or variants, even if the message shows the same path twice. plugins/.paper-remapped contains copies adapted by Paper; remove the unwanted original JAR.
  3. Keep exactly one release compatible with your server version. Leave plugin data folders intact.
  4. Restart. Check the Console for the message; the plugins command lists loaded plugins.
  5. If the message persists with only one matching original JAR, open a ticket and include the time of the message.

Good to know: Update plugins with the server stopped and remove the old JAR before uploading the new one.

“does not contain a paper-plugin.yml or plugin.yml”: File is not a plugin

What the message looks like:

[DirectoryProviderSource] Error loading plugin: … Directory 'plugins/<File>.jar' does not contain a paper-plugin.yml or plugin.yml! Could not determine plugin type, cannot load a plugin from it!
Directory 'plugins/<Mod>-fabric-<Version>.jar' does not contain a paper-plugin.yml or plugin.yml!

What's behind it: The plugins folder contains a JAR without either plugin.yml or paper-plugin.yml, the descriptor files used for plugins. Usually it is a Fabric, Forge or NeoForge mod; sometimes it is a Java library such as a database driver. The file name does not always reveal this. Paper and its variants cannot load this file as a plugin and skip it. The server keeps running, but the expected feature is missing.

How to fix it:

  1. Stop the server and remove the named file from plugins/ under Files.
  2. Look on the project page for a Paper or Spigot release matching your Minecraft version.
  3. If only a mod exists, first check whether it belongs on a server. Some mods run only in the game client.
  4. To switch to a mod server, create a backup under Backups first. Under Change software / loader, select the exact loader the mod requires. Your Paper plugins will no longer run there.
  5. Restart and check the Console.

Switching software is described in Switching server software and version in the panel.

“zip file closed”: Plugin file replaced while the server was running

What the message looks like:

java.lang.IllegalStateException: zip file closed
java.lang.IllegalStateException: The plugin classloader for <Plugin> has thrown a zip file error.
io.netty.handler.codec.EncoderException: java.lang.BootstrapMethodError: java.lang.IllegalStateException: zip file closed

What's behind it: A plugin JAR, the plugin's program file, was overwritten or deleted while the server was running, or someone used /reload. The plugin then tries to load components from its already closed file and throws errors. Plugin features may fail until the server restarts. The message can also appear during shutdown.

How to fix it:

  1. Restart the server completely. If the affected plugin JAR is missing, restore it under Files while the server is stopped before starting it again.
  2. In future, only replace plugin files while the server is stopped: stop, replace the JAR under Files, start.
  3. Avoid /reload. The command reloads plugins while the server is running, and many plugins cannot handle that.
  4. If the message appears without a prior file replacement, read the preceding lines in the Console. They help you identify the affected plugin.

Good to know: Changes that the plugin had not saved during the error may be lost.

“duplicate plugin identifier”: Two plugin files claim the same name

What the message looks like:

[ModernPluginLoadingStrategy] Could not load plugin '<Plugin>.jar' in folder 'plugins'
[ModernPluginLoadingStrategy] Could not load plugin '<Plugin>.jar' in folder 'plugins/.paper-remapped'
java.lang.IllegalStateException: … attempted to add duplicate plugin identifier <Plugin> …

What's behind it: Two JAR files provide the same plugin name; Paper loads only one and rejects the other. Usually the old and new versions of a plugin sit side by side in the plugins folder. Or two plugins claim the same name: FastAsyncWorldEdit (FAWE for short) already includes WorldEdit, so an additional WorldEdit JAR collides with it. The server keeps running, but Paper explicitly warns about follow-up errors.

How to fix it:

  1. Stop the server.
  2. Under Files, delete the older or redundant JAR in the plugins folder. With FAWE, that is the separate worldedit-bukkit JAR.
  3. If the message names plugins/.paper-remapped, first check the original JAR files in plugins for duplicate releases.
  4. Start the server and check in the Console that the warning has disappeared and the intended plugin loads.

Good to know: The familiar WorldEdit commands keep working with FAWE. How to build with it and undo mistakes is shown in WorldEdit: Selecting areas, building and undoing.

“ProtocolLib does not support plugin reloaders”: Full restart required

What the message looks like:

*** ProtocolLib does not support plugin reloaders! ***
*** Please use the built-in reload command!        ***

What's behind it: ProtocolLib hooks deeply into the network connection between server and players. Plugin reloaders are plugins such as PlugMan or PlugManX that load or unload individual plugins while the server is running. ProtocolLib doesn't support this and warns of an inconsistent state. In that case, ProtocolLib and all plugins built on it may malfunction, such as anti-cheat or display plugins.

How to fix it:

  1. Don't reload ProtocolLib and plugins that use it with a plugin reloader.
  2. After making changes to plugins, restart the entire server completely.
  3. If you don't need the reloader, stop the server and remove it from the plugins folder under Files so it isn't used by accident. Start the server again afterwards.
  4. If you just used a reloader, do one complete restart now so everything is loaded cleanly again.

Good to know: The message recommends the built-in reload command. Fully restart the server to resolve the reported state.

“Error loading plugin”: Invalid plugin file or plugin name

What the message looks like:

[DirectoryProviderSource] Error preparing plugin context: Directory 'plugins/<File>.jar' failed to update!
[DirectoryProviderSource] Error loading plugin: name '<Plugin>' contains invalid characters.
[DirectoryProviderSource] Error loading plugin: Restricted name, cannot use 0x20 (space character) in a plugin name.

What's behind it: A file in plugins cannot load, so the plugin does not start. Common causes include source files (-sources.jar), documentation (-javadoc.jar), an incomplete download or a release for another platform. “Invalid plugin.yml” and “only DEFLATED entries can have EXT descriptor” also indicate an unsuitable file. “name … contains invalid characters” and “Restricted name” concern the plugin name stored in plugin.yml; “0x20” means a space.

How to fix it:

  1. Stop the server and remove the named JAR from plugins under Files.
  2. Download the actual plugin JAR from its official page, matching Paper or Spigot. Fabric, Forge or NeoForge mods do not belong in their plugins folder.
  3. If the download is a ZIP, extract it on your computer and upload the appropriate JAR.
  4. For “name … contains invalid characters” or “Restricted name”, use a release corrected by the developer. Renaming the JAR does not change its internal plugin name.
  5. Restart and check the Console.

Good to know: Keep existing plugin data and configuration when replacing the JAR.

Java library sits in the plugins folder as a plugin

What the message looks like:

[DirectoryProviderSource] Error preparing plugin context: Directory 'plugins/asm-util-<Version>.jar' failed to update!

What's behind it: A Java library such as ASM or Nashorn sits as its own file in the plugins folder. Libraries are building blocks that plugins use internally; they aren't plugins themselves. Paper can neither load this JAR as a plugin nor update it, and skips it. The server keeps running. Such files end up there, for example, when an archive with several files was uploaded in full.

How to fix it:

  1. Delete the named library JAR from plugins under Files.
  2. Install only the actual plugin. It brings its libraries along itself or downloads them at startup.
  3. Restart the server and check the Console.
  4. If a plugin then reports that something is missing, read its installation guide instead of adding libraries by hand.

Good to know: If a plugin really needs a second plugin, it states this explicitly. How to recognize that: Plugin needs another plugin.

“zip END header not found”: Plugin file is empty or incomplete

What the message looks like:

[DirectoryProviderSource] Error loading plugin: zip file is empty
[DirectoryProviderSource] Error loading plugin: zip END header not found

What's behind it: A file in the plugins folder is empty or incomplete. With zip END header not found, the archive's readable end is missing; the file can still be larger than 0 bytes. Paper cannot open it and skips it: the server keeps running, but the plugin is missing. Often the connection dropped during upload or the download was already incomplete on your computer.

How to fix it:

  1. Stop the server.
  2. Under Files, open the plugins folder and check the JAR files. Look for zero-byte or unusually small files and filenames in the surrounding log lines.
  3. Delete the affected JAR file.
  4. Download the plugin again from a trusted source and upload it. Wait until the upload has fully finished.
  5. Restart the server and check in the Console whether the plugin loads.

Good to know: For large files or many files, SFTP is often more reliable than uploading in the browser, see Editing server files in the panel and connecting via SFTP.

PlaceholderAPI: An expansion file has no loadable expansion class

What the message looks like:

[PlaceholderAPI] Failed to load expansion <File>.jar, as it does not have a class which extends PlaceholderExpansion

What's behind it: A PlaceholderAPI expansion supplies additional text placeholders. Its JAR file is examined, but the required expansion class cannot be found or loaded. This expansion stays unavailable. The server keeps running, but its placeholders cannot provide their intended values.

How to fix it:

  1. Read the preceding Console messages. Additional loading errors may identify a missing dependency.
  2. Under Files, check that the named file is actually the intended PlaceholderAPI expansion. Back it up before replacing it.
  3. Download the expansion matching your installed PlaceholderAPI version from its official source. Replace the affected file and remove duplicate copies of the same expansion.
  4. Fully restart the server. Check the startup messages and test a placeholder supplied by that expansion.

Velocity: replace a Spigot or BungeeCord plugin with its Velocity build

What the message looks like:

Unable to load plugin plugins/<Plugin>.jar:
The plugin file <Plugin>.jar appears to be a Paper, Bukkit or BungeeCord plugin.
Velocity does not support plugins from these platforms.

What's behind it: Velocity is a proxy with its own plugin interface. A file built for Paper, Bukkit, or BungeeCord does not use that interface and is rejected. The affected plugin feature is unavailable on the proxy; other correctly loaded plugins can keep working.

How to fix it:

  1. Note the rejected filename in the Console.
  2. Stop the proxy and save a copy of the associated configuration through Files.
  3. Remove the incompatible file from the plugin folder and install the official Velocity build under Plugins. For Geyser and Floodgate, select their respective Velocity variants.
  4. Restart the proxy and check the loading messages. Follow the documentation for each Velocity build to complete its setup.

ajLeaderboards: Plugin file missing during the security check

What the message looks like:

[ajLeaderboards] Unable to scan for trojans! <Notice>
Cause: java.nio.file.NoSuchFileException: <Plugin file>

What's behind it: ajLeaderboards scans its own JAR file for a specific piece of malware. JAR is the Java plugin's file format. The file check fails because the file is missing at the expected location, for example after removal or renaming while the server was running. The scan returns no result; the server keeps running.

How to fix it:

  1. Read the path after NoSuchFileException in the Console and check the ajLeaderboards file at that location under Files.
  2. Back up the plugin configuration and its data before making changes. Stop the server completely before replacing a JAR file.
  3. Restore the complete plugin file from its official source. Keep only one ajLeaderboards release in the plugins folder.
  4. Start the server and check whether the scan warning returns. For an additional check of your files, use the scanner linked by the plugin author.

Your message isn't listed?

Read the entire message in the Console or in logs/latest.log, including the lines before and after it. You can find the name of the plugin file in the message itself or in the stack trace, the list of indented at lines: there the JAR appears before the double slash, such as <Plugin>.jar//. Folder names like plugins/<Plugin>/ also show which plugin is affected. Create a backup before replacing files. If you're still stuck, open a ticket and include the time of the message.