Reload jar

For example I changed part of code then updated jar file . Can I somehow reload plugins without server restart?

Sorry but Sponge is very different from bukkit, there is no way to reload plugins in the way you’re wanting. You can reload things like config by listening to GameReloadEvent.
From what I can gather, it seems you’re wanting this to test your plugin and change code without restarting every time. You can do that already with sponge, there’s even documentation on it here. If you use gradle to build your plugins, you may find the Spongestart gradle plugin much easier to use (I know I certainly have).

2 Likes

It is Code hotswapping what you are looking for.
I can recommend SpongeStart, too.

3 Likes