O'Reilly logo

A Beginner’s Guide to Writing Minecraft Plugins in JavaScript by Walter Higgins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Using ScriptCraft with Other Plugins

Scriptcraft can be used to work with and control other CanaryMod plugins. There are two ways ScriptCraft can interact with other plugins:

Image By issuing plugin commands

Image By using the plugin’s methods and classes

Issuing Commands

The server.executeVanillaCommand() method can be used to issue both built-in commands such as /time set or commands provided by plugins. ScriptCraft can be used to drive commands provided by other plugins.

Many plugins provide their own set of commands all of which can be issued ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required