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

Dynamically load plugin #458

Open
louis030195 opened this issue Nov 1, 2020 · 4 comments
Open

Dynamically load plugin #458

louis030195 opened this issue Nov 1, 2020 · 4 comments

Comments

@louis030195
Copy link
Contributor

In Mineflayer we can do bot.loadPlugin(foo) but I don't see that in flying-squid ?

Also would be nice to document on how to implement plugins in Typescript (since it seems Typescript is "a little bit" supported by Prismarine in general ?), especially for Typescript noobs like me.

@rom1504
Copy link
Member

rom1504 commented Nov 1, 2020 via email

@rom1504
Copy link
Member

rom1504 commented Nov 1, 2020 via email

@louis030195
Copy link
Contributor Author

depending on previous code I want to load just a specific plugin

@djfjfofoc3
Copy link

djfjfofoc3 commented Mar 20, 2022

What's the use case of dynamically loading plugins ?

If you, say, wanted to make a plugin to install other plugins (similar to the Spigot PlugManX), and wanted those other plugins to not require a server restart to be loaded.
Pretty niche, however still a use-case.

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