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

dev.triumphteam.gui.guis.BaseGui is not provided by a interface io.papermc.paper.plugin.provider.classloader.ConfiguredPluginClassLoader #124

Open
Euphillya opened this issue Sep 20, 2024 · 2 comments

Comments

@Euphillya
Copy link
Contributor

Error :

Caused by: java.lang.IllegalArgumentException: class dev.triumphteam.gui.guis.BaseGui is not provided by a interface io.papermc.paper.plugin.provider.classloader.ConfiguredPluginClassLoader
        at org.bukkit.plugin.java.JavaPlugin.getProvidingPlugin(JavaPlugin.java:459) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
        at dev.triumphteam.gui.guis.BaseGui.<clinit>(BaseGui.java:71) ~[?:?]
        ... 9 more

Reproduce :

  • Folia 1.21.1
 PaginatedGui gui = Gui.scrolling()
                    .title(Component.text("test " + offlinePlayer.getName()))
                    .rows(6)
                    .pageSize(45)
                    .scrollType(ScrollType.VERTICAL)
                    .create();
@LichtHund
Copy link
Member

Hi, I just tested and seemed to have worked perfectly fine on Folia 1.21.1. Are you using 3.1.10? Try a few other things like relocating, or trying with no other plugin in the server.

@Euphillya
Copy link
Contributor Author

Euphillya commented Sep 27, 2024

Hi, I just tested and seemed to have worked perfectly fine on Folia 1.21.1. Are you using 3.1.10? Try a few other things like relocating, or trying with no other plugin in the server.

I did not use the implementation on gradle, but used libraries on the plugin.yml file

name: Plugins
version: '${version}'
main: fr.euphyllia.plugins.MyPlugins
api-version: 1.19
depend: [ NBTAPI ]
folia-supported: true

libraries:
  - com.google.code.gson:gson:2.11.0
  - dev.triumphteam:triumph-gui:3.1.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@LichtHund @Euphillya and others