promotional bannermobile promotional banner

Rhino

Javascript on Bukkit. What's not to like?

Rhino is the name of the Javascript interpreter bundled with the Oracle Java Runtime Environment. This is a plugin to allow you to use it.

Current features

  • Runs Javascript from command, book, or file
  • There are no other features

Commands

CommandArgumentsDescription
rhino script<filepath>Filepath can be absolute, otherwise is based in current directory of server instance.
rhino eval<javascript>Passes the given js to Rhino for execution
rhino bookConcatenates the lines in an unsigned book held in the player's hand, then executes it. Linebreaks are disregarded entirely.

Variables exposed

Variable nameShorter nameDescription
bukkitServerbBukkit.getServer()
senderCommandSender instance
playerpPlayer instance. Null if run as server

Permissions

NodeDefaultDescription
rhino.commandOpPermission to use Rhino. Don't give this to anyone you wouldn't trust with a shell on your server.

Source code and Licence

RhinoPlugin source code is available here under the terms of the GNU General Public Licence (Version 3).

The Rhino Team

profile avatar
  • 2
    Projects
  • 183.7K
    Downloads

More from WolfLongclaw

  • CommandSpy project image

    CommandSpy

    • 181.9K
    • Bukkit Plugins

    allows you to see commands being used by other users.

    • 181.9K
    • May 8, 2021
    • Bukkit Plugins
    • +4
  • CommandSpy project image

    CommandSpy

    • 181.9K
    • Bukkit Plugins

    allows you to see commands being used by other users.

    • 181.9K
    • May 8, 2021
    • Bukkit Plugins
    • +4