addToClasspath

abstract fun addToClasspath(plugin: Any, path: Path)

Add the specified path to the server's classpath using the given plugin's class loader.

Parameters

plugin

the plugin who's loader to load the path with

path

the path to load