Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and document jar argument #14

Closed
ryantheleach opened this issue Jan 8, 2022 · 2 comments
Closed

Add and document jar argument #14

ryantheleach opened this issue Jan 8, 2022 · 2 comments

Comments

@ryantheleach
Copy link

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.

@ryantheleach
Copy link
Author

Note doPause inside net.minecraft.Util#doPause && net.minecraft.SharedConstants#IS_RUNNING_IN_IDE

@jpenilla
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants