Recent Discussions

MC Paper: How do I add a class, which inherits from PluginBootstrap, into the paper-plugin.yml file.

Unanswered
Spectacled bear posted this in #questions
Messages4 messages
Views0 views
Spectacled bearOP
I am trying to add some dialogs to the registry, since I do not want to build them dynamically everytime I use them. The docs (https://docs.papermc.io/paper/dev/dialogs/) say, that I should use the registry for this. For this I have to create a Bootstrap class and add it cite: "the class of your implementation to the bootstrapper field in the paper-plugin.yml."...alright and when I go to the documentation of the plugin.yml file I do not find the field and when I add it to my own yml file it won't load the class. Anybody maybe used this feature, since I know the dialog API is pretty new.
Philippine Crocodile
you pretty much spelled out your problem.
you're looking at plugin.yml docs, but dialogs are clearly in experimental paper-plugin api
https://docs.papermc.io/paper/dev/getting-started/paper-plugins/
Spectacled bearOP
ah I see I did not saw that entry under dependencies
alright thx
Loading...