promotional bannermobile promotional banner

Javascript

Write Javascript Bukkit Plugins In Game

Javascript

Javascript lets you eval javascript code in game and basically create Bukkikt plugins in javascript!
The recommended way to use the plugin is to upload the javascript code to pastebin then run that. Heres a tutorial:
So you uploaded the javascript code to pastebin.com and have this link: http://pastebin.com/4N1V8WgP (this one will say "hi" 4 times to the server)
You take the text that is after the http://pastebin.com/ and copy that (it is 4N1V8WgP)
In the game you do /eval and then press ctrl+v and press enter
It just executed your javascript code!

You may also put the code into a book and quill and hold it and do /eval :P
The code is basically just like you would hopefully assume. It's all Javascript but you can access bukkit stuff like you would in Java. Read about the Rhino type of Javascript here
Command Permission Description
/eval <pastebin id> javascript.eval Eval Javascript code from pastebin.com
/eval javascript.eval Eval Javascript code from a book

The Javascript Team

profile avatar
  • 1
    Followers
  • 2
    Projects
  • 3.3K
    Downloads

More from _ForgeUser19609653

  • Light Saber project image

    Light Saber

    • 2.1K
    • Bukkit Plugins

    May the force be with you!

    • 2.1K
    • April 9, 2015
    • Bukkit Plugins
    • +2
  • Light Saber project image

    Light Saber

    • 2.1K
    • Bukkit Plugins

    May the force be with you!

    • 2.1K
    • April 9, 2015
    • Bukkit Plugins
    • +2