Skip to content

DynamicLoader usage

하이라이트 edited this page Mar 8, 2023 · 2 revisions

Actually, it is possible to do same with paper-plugin but some of libraries(tap, kommand, shotokonoko) are not working on them. if paperplugin is stable it will be removed

override fun onLoad() {
    DynamicLoader.load(
        listOf("jitpack" to "https://jitpack.io"),
        listOf("com.github.outstanding1301:donation-alert-api:1.0.0")
    )
}

if you wanna use this function
you should add this flag
--add-opens java.base/java.net=ALL-UNNAMED

Settings

All

Listening

CoolDowning

DynamicLoader

PluginMessageUtil

Bukkit

PlaceholderAPI

BungeeUtil

Bungee

ConfigAPI

Clone this wiki locally