Skip to content

Allows Denizen scripts to directly interact with and manipulate Java objects.

License

Notifications You must be signed in to change notification settings

isnsest/denizen-reflect

Repository files navigation

Logo

Denizen-Reflect


Snippets Discord


denizen-reflect is an add-on for experienced scripters designed to combine the capabilities of Java directly within the Denizen development environment.

Supported Platforms


Features

  • 🔹 Importing classes
  • 🔹 Executing Java code (methods, fields, constructors)
  • 🔹 Creating your own placeholders (PlaceholderAPI)
  • 🔹 Creating custom Denizen commands & tags
  • 🔹 Renaming Denizen events
  • 🔹 Creating proxies
  • 🔹 Lambda expressions support
  • 🔹 And much more...

Example Usage

import:
    java.lang.System as alias
    java.lang.String

task:
    type: task
    script:
    - invoke player.kick()
    - invoke System.out.println("test")
    - define hello <invoke[new String("Hello")]>