skript-mirror
GitHub
1.x
1.x
  • skript-mirror
  • Getting Started
  • Basics
    • Reading Javadocs
    • Importing classes
    • Running Java code
    • Handling events
    • Utilities
  • Advanced
    • Error handling
    • Loading external libraries
    • Custom syntax
      • Effects
      • Conditions
      • Expressions
    • Computed Options
    • Experiments
  • Code Conventions
  • Frequently Asked Questions
Powered by GitBook
On this page
  1. Advanced

Loading external libraries

Normally, you may only access classes loaded in the server's classpath, such as Java standard library classes, Bukkit classes, and plugin classes. If you want to use third-party libraries that are not included on the server classpath, you must load them through skript-mirror first.

To load a jar file, place it in plugins/skript-mirror/ (create the folder if it doesn't exist).

Once an external library is loaded, its classes may be imported just like any other class.

PreviousError handlingNextCustom syntax

Last updated 6 years ago