ScriptCraft

ScriptCraft

14.6k Downloads

Intergration with other plugins

PilgrimViis opened this issue ยท 3 comments

commented

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?

commented

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.

commented
var pluginName = "OtherPlugin"
var otherPlugin = __plugin.getServer().getPluginManager().getPlugin(pluginName)
otherPlugin.apiCall()
commented

I thought this was in the doc somewhere. I'll check and add if required and then we can close this ticket.