Intergration with other plugins
PilgrimViis opened this issue ยท 3 comments
Hi. I read docs and exited to start using ScriptCraft. However I don't know how I can use API which other plugins provide (for example https://www.spigotmc.org/resources/vault.34315/). Will it be a problem?
Heh, looks like "The Young Person's Guide to Programming in Minecraft." is not docs. Real docs and FAQ located in docs folder on github without links from main ReadMe (or I again missed one?). Probably the line "The ScriptCraft API documentation." should be a link to one of the docs files instead of spigot.
var pluginName = "OtherPlugin"
var otherPlugin = __plugin.getServer().getPluginManager().getPlugin(pluginName)
otherPlugin.apiCall()