Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circular plugin loading #3770

Closed
WuzzyLV opened this issue Sep 1, 2024 · 3 comments
Closed

Circular plugin loading #3770

WuzzyLV opened this issue Sep 1, 2024 · 3 comments
Labels
Bug Issues that contain unintended behavior

Comments

@WuzzyLV
Copy link

WuzzyLV commented Sep 1, 2024

Describe the issue

The plugin doesnt necessarily cause Circular plugin loading, but having a lot of plugins is a part of it, if i add Plans, because it hooks into so many plugins it causes Circular plugin loading, just wondering if there is a way to disable certain hooks etc.

Exceptions & Other Logs

[13:41:14 ERROR]: [ModernPluginLoadingStrategy] Ambiguous plugin name 'Oraxen' for files 'plugins/.paper-remapped/oraxen-1.180.0.jar' and 'plugins/.paper-remapped/oraxen-1.181.0.jar' in 'plugins/.paper-remapped'
[13:41:14 ERROR]: [LoadOrderTree] =================================
[13:41:14 ERROR]: [LoadOrderTree] Circular plugin loading detected:
[13:41:14 ERROR]: [LoadOrderTree] 1) EcoEnchants -> eco -> Oraxen -> HuskTowns -> HuskHomes -> Plan -> Jobs -> EcoEnchants
[13:41:14 ERROR]: [LoadOrderTree]    EcoEnchants depend/softdepend: [eco, libreforge, CMI, EssentialsX]
[13:41:14 ERROR]: [LoadOrderTree]    eco loadbefore: [Spartan, CustomCrafting, Lands, EconomyShopGUI, EconomyShopGUI-Premium, CMI, DeluxeCombat, ShopGUIPlus]
[13:41:14 ERROR]: [LoadOrderTree]    eco depend/softdepend: [ItemBridge, HuskClaims, HuskTowns, Terra, ProtocolLib, WorldGuard, GriefPrevention, Towny, FactionsUUID, Kingdoms, NoCheatPlus, AAC, Matrix, Vulcan, PlaceholderAPI, mcMMO, CombatLogX, ItemsAdder, Oraxen, HeadDatabase, Multiverse-Inventories, Alice, HolographicDisplays, GHolo, Essentials, Vault, BentoBox, IridiumSkyblock, SuperiorSkyblock2, FabledSkyBlock, CrashClaim, DecentHolograms, MythicMobs, RPGHorses, zShop, DeluxeSellwands, Scyther, ModelEngine, PvPManager, DeluxeMenus, UltraEconomy, PlayerPoints, Denizen, RoyaleEconomy, FancyHolograms]
[13:41:14 ERROR]: [LoadOrderTree]    Oraxen loadbefore: [Realistic_World]
[13:41:14 ERROR]: [LoadOrderTree]    Oraxen depend/softdepend: [ProtocolLib, LightAPI, PlaceholderAPI, MythicMobs, MMOItems, MythicCrucible, MythicMobs, BossShopPro, CrateReloaded, ItemBridge, WorldEdit, WorldGuard, Towny, Factions, Lands, PlotSquared, NBTAPI, ModelEngine, ViaBackwards, HuskClaims, HuskTowns, BentoBox]
[13:41:14 ERROR]: [LoadOrderTree]    HuskTowns loadbefore: [WorldGuard]
[13:41:14 ERROR]: [LoadOrderTree]    HuskTowns loadafter: [Vault, PlaceholderAPI, dynmap, BlueMap, Pl3xMap, LuckPerms, HuskHomes, Plan]
[13:41:14 ERROR]: [LoadOrderTree]    HuskHomes loadafter: [Vault, PlaceholderAPI, dynmap, BlueMap, Plan, Pl3xMap]
[13:41:14 ERROR]: [LoadOrderTree]    Plan depend/softdepend: [AAC, ASkyBlock, AdvancedAchievements, AdvancedBan, AuthMe, BanManager, BentoBox, CoreProtect, DiscordSRV, DKCoins, DKBans, Essentials, Factions, FastLogin, GriefPrevention, GriefPreventionPlus, Jobs, Kingdoms, LiteBans, LogBlock, LuckPerms, MarriageMaster, mcMMO, MinigamesLib, MyPet, nuVotifier, PlaceholderAPI, ProtectionStones, ProtocolSupport, Quests, React, RedProtect, SuperbVote, Towny, Vault, ViaVersion, Votifier]
[13:41:14 ERROR]: [LoadOrderTree]    Jobs depend/softdepend: [CMILib, Vault, Essentials, MythicMobs, WorldGuard, MyPet, PlaceholderAPI, EcoEnchants, WildStacker, StackMob, PyroFishingPro, BlockTracker]
[13:41:14 ERROR]: [LoadOrderTree] Please report this to the plugin authors of the first plugin of each loop or join the PaperMC Discord server for further help.
[13:41:14 ERROR]: [LoadOrderTree] =================================
[13:41:14 ERROR]: [SimpleProviderStorage] Circular plugin loading detected!
[13:41:14 ERROR]: [SimpleProviderStorage] Circular load order:
[13:41:14 ERROR]: [SimpleProviderStorage]   EcoEnchants -> eco -> Oraxen -> HuskTowns -> HuskHomes -> Plan -> Jobs -> EcoEnchants
[13:41:14 ERROR]: [SimpleProviderStorage] Please report this to the plugin authors of the first plugin of each loop or join the PaperMC Discord server for further help.
[13:41:14 ERROR]: [SimpleProviderStorage] If you would like to still load these plugins, acknowledging that there may be unexpected plugin loading issues, run the server with -Dpaper.useLegacyPluginLoading=true

Note: One example, if i remove ecoenchants it would complain about some other plugin.

Plugin versions

5.6 build 2883 but largely unnecessary

@WuzzyLV WuzzyLV added the Bug Issues that contain unintended behavior label Sep 1, 2024
@AuroraLS3
Copy link
Collaborator

You can remove Jobs from soft depends in plugin.yml inside the jar

@WuzzyLV
Copy link
Author

WuzzyLV commented Sep 1, 2024

Would that not mess with anything? And i would probably have to remove multiple plugins.

@WuzzyLV
Copy link
Author

WuzzyLV commented Sep 3, 2024

removed jobs and fixed all issues

@WuzzyLV WuzzyLV closed this as completed Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that contain unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants