Skip to content

ignored-directories Setting #12265

@ReaperSoulMate

Description

@ReaperSoulMate

Expected behavior

Expected Behavior: The ignored-directories: [".paper-remapped"] setting in paper-global.yml should prevent Paper from scanning the plugins.paper-remapped\ directory for plugins, eliminating errors like java.lang.IllegalArgumentException: Directory 'plugins.paper-remapped\Expansion-advancements.jar' does not contain a paper-plugin.yml or plugin.yml!.

Observed/Actual behavior

Observed Behavior: Despite the correct configuration, Paper recreates the .paper-remapped\ directory during startup, remaps files (e.g., Expansion-advancements.jar, Expansion-vault.jar), and attempts to load them as plugins, causing log errors.

Steps/models to reproduce

Steps to Reproduce:
Set up a Paper 1.21.4 server with build #207.

Install PlaceholderAPI with expansions (e.g., Expansion-advancements.jar, Expansion-vault.jar) in plugins/PlaceholderAPI/expansions/.

Add plugin-loader: ignored-directories: [".paper-remapped"] to paper-global.yml.

Start the server, delete plugins.paper-remapped\ if it exists, and observe it being recreated with errors in latest.log.

Plugin and Datapack List

Paper Plugins (2):
CrazyCrates, EconomyShopGUI

Bukkit Plugins (56):
AdvancedEnchantments, AdvancedJobs, AdvancedPortals, AdvancedShops, AxTrade, BleepFishing, Bookshelf, Citizens, ClearLag, CommandAPI, CoreProtect, CustomCrops, DecentHolograms, DiscordSRV, Essentials, Fadah, GriefPrevention, GSit, GUIAdminTools, HoloMobHealth, InteractionVisualizer, InteractiveChat, IridiumSkyblock, ItemEdit, JumpPads, LFC, LuckPerms, mcMMO, mcMMO-placeholders, mcFeward, Multiverse-Core, Multiverse-Inventories, Multiverse-Portals, Nexo, NexoAddon, PlaceholderAPI, PlayerParticles, PlayerVaults, PlayerWarps, Polymart, ProtocolLib, TAB, TagsPlus, Vault, VotifierPlus, WorldBorder, WorldEdit, WorldEditSelectionVisualizer, WorldGuard, XGlow

There are 5 data packs enabled:
[vanilla (built-in)]
[file/bukkit (world)]
[paper (built-in)]
[file/nexo_custom_blocks (world)]
[file/nexo_music_discs (world)]

Paper version

Paper version 1.21.4-207-main@1a7288a (2025-03-09T18:15:59Z) Implementing API version 1.21.4-R0.1-SNAPSHOT

Other

latest.log

ignored-directories Setting in paper-global.yml Fails to Prevent Scanning of .paper-remapped Directory on Paper 1.21.4 Build #207

Description:
The ignored-directories setting in paper-global.yml does not prevent Paper from scanning the plugins.paper-remapped\ directory for plugins, resulting in errors when it attempts to load PlaceholderAPI expansions as plugins.

Expected Behavior:
The ignored-directories: [".paper-remapped"] setting should prevent Paper from scanning plugins.paper-remapped, eliminating errors like java.lang.IllegalArgumentException: Directory 'plugins.paper-remapped\Expansion-advancements.jar' does not contain a paper-plugin.yml or plugin.yml!.

Observed Behavior:
Paper recreates plugins.paper-remapped\ during startup, remaps PlaceholderAPI expansions (e.g., Expansion-advancements.jar, Expansion-vault.jar), and attempts to load them as plugins, causing errors in latest.log.

Steps to Reproduce:
Set up a Paper 1.21.4 server (build #207) on Windows 10.
Install PlaceholderAPI and Vault.
Place Expansion-advancements.jar and Expansion-vault.jar in plugins/PlaceholderAPI/expansions/.
Add to paper-global.yml:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions