flying-squid
flying-squid copied to clipboard
Dynamically load plugin
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.
There is serv.addPlugin but why not just put your plugin in the config ?
On Sun, Nov 1, 2020, 10:57 Louis Beaumont [email protected] wrote:
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.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/flying-squid/issues/458, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437UDQ7W6NT3M3RY3LVLSNUWHJANCNFSM4TGNRKYA .
What's the use case of dynamically loading plugins ?
On Sun, Nov 1, 2020, 13:04 Romain Beaumont [email protected] wrote:
There is serv.addPlugin but why not just put your plugin in the config ?
On Sun, Nov 1, 2020, 10:57 Louis Beaumont [email protected] wrote:
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.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/flying-squid/issues/458, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437UDQ7W6NT3M3RY3LVLSNUWHJANCNFSM4TGNRKYA .
depending on previous code I want to load just a specific plugin
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.