Hello!
I'm developing a plugin that needs to use a library based on netty (redisson to be specific), but I'm unsure how to make it work properly. Simply relocating the entire library (and netty) doesn't quite seem to work. I've seen people saying that Paper already provides netty, so it's unnecessary to shade and relocate everything, but I'm also unsure which parts are provided and which aren't. I've also seen people use
I'm looking for an overview of what needs to be done in order to have such libraries working as expected inside Paper plugins, and what sort of common gotchas there might be.
Thank you!
I'm developing a plugin that needs to use a library based on netty (redisson to be specific), but I'm unsure how to make it work properly. Simply relocating the entire library (and netty) doesn't quite seem to work. I've seen people saying that Paper already provides netty, so it's unnecessary to shade and relocate everything, but I'm also unsure which parts are provided and which aren't. I've also seen people use
mergeServiceFiles
and transform
to fix something related to netty services, which I don't understand how it works.I'm looking for an overview of what needs to be done in order to have such libraries working as expected inside Paper plugins, and what sort of common gotchas there might be.
Thank you!