Hi! i am using IntelliJ IDEA to develop minecraft plugins. I don't know how to set it up so that when i build my .jar file/plugin for my minecraft server, it goes straight to my server plugins path. I know it's possible, and it would make the debugging process so much easier. Seemingly knowing that a lot of you are contributors, could someone assist me?
#(mrhoneybun) how to build a plugin jar to go directly into your server plugins folder.
13 messages · Page 1 of 1 (latest)
(mrhoneybun) how to build a plugin jar to go directly into your server plugins folder.
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
i'll make artifacts to copy the jar file, then the artifacts build going to the plugin folder
this is what i do
You can configure Intellij to automatically build and deploy your plugins directly to the plugin directory like a streamline workflow I would really recommend only doing that for debugging though
When you go to configure your build artifact after choosing your module you can select an output directory
You could also just make deployment tasks that ran before or after building your plugin; That might be a bit more advanced though if you want to automatically restart your server when you do it
There's tons of guides to doing both of those two things, but you could also take a look for some guides or tips and tricks that people may have posted in guides or tutorials to streamline their development process
Everyone's workflow is a little bit different tbh, It's whatever you're most comfortable with and what's easiest for you
I would also recommend something like https://github.com/jpenilla/run-task, way easier than having to compile and start the server and all every time
Thread Closing Reminder
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)