i want to make a gui form in the plugin to make configuration managing easier… But how can i listen plugins execution event to understand whether server is using the plugin, or player executed jar…
class MyGUIForConfiguringMyPlugin {
public static void main(String[] args) {
start coding your gui entry point here.
}
}
https://docs.oracle.com/javase/tutorial/getStarted/application/
thank you but i dont need a gui script intellij has visual gui creation support all i need is call this form when jar is executed from windows explorer or a command used in game…
i think i found it thanks
Right sorry, forgot to mention that it probably needs a manifest entry.
https://docs.oracle.com/javase/tutorial/deployment/jar/appman.html