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

Embedded server module does not load plugins correctly #946

Open
KingOfSquares opened this issue Dec 13, 2021 · 1 comment
Open

Embedded server module does not load plugins correctly #946

KingOfSquares opened this issue Dec 13, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@KingOfSquares
Copy link
Contributor

Running the server module and checking PGMServers name with a debugger shows that it only loads PGM correctly, even though I also have ViaVersion in my plugins folder. adventure-platform also has problems discovering Via on the class path even though methods like Via.getApi() resolves fine in debugger evaluation.

Via is loaded in some way though, because I can join with a higher version etc...

@Pablete1234
Copy link
Member

I suspect this has to do with pgm being loaded directly as a first-class citizen, maybe it's using the same classloader as bukkit itself, meanwhile other plugins are loaded on the plugin class loader

regardless this has been an issue since forever, the plugins DO load, pgm just can't interact with them, but i'd consider it a minor issue

@Electroid Electroid added the bug Something isn't working label Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants