Hotswapping | The BEST way to develop Minecraft plugins

Опубликовано: 26 Июль 2026
на канале: Slohth
1,745
61

Today I show you how to set up Hotswapping with the run-paper plugin for Minecraft development!

00:00 (Introduction)
00:35 (Setting up Project)
02:31 (Setting up run-paper)
05:00 (Setting up Hotswapping)
07:46 (Outro)

Questions with Minecraft plugin development? Join here!
https://learnspigot.com/discord

run-paper wiki:
https://github.com/jpenilla/run-task

Build configuration to enable hotswapping:
tasks.withType(xyz.jpenilla.runtask.task.AbstractRun::class) {
javaLauncher = javaToolchains.launcherFor {
vendor = JvmVendorSpec.JETBRAINS
languageVersion = JavaLanguageVersion.of(21)
}
jvmArgs("-XX:+AllowEnhancedClassRedefinition")
}

Instrumental:
Up There, Post Malone (Stoney)