run-task
run-task copied to clipboard
Add and document jar argument
When developing paper plugins, occasionally it is useful to know when it's being run inside a dev environment.
Adding a jar argument or environment variable to run-paper would allow plugins to enable extra debug behavior when running from a debugging environment.
Note doPause inside net.minecraft.Util#doPause && net.minecraft.SharedConstants#IS_RUNNING_IN_IDE
I don't think it's appropriate to set Minecraft's IDE flag indiscriminately, when debugging plugins it's not particularly useful.
I'll set the xyz.jpenilla.run-task system property to to true though.