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

[BUG] Reloading configuration breaks the plugin #365

Open
burdoto opened this issue Nov 1, 2024 · 0 comments
Open

[BUG] Reloading configuration breaks the plugin #365

burdoto opened this issue Nov 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@burdoto
Copy link

burdoto commented Nov 1, 2024

Describe the bug
Running /jobadmin reload breaks the plugin in various ways.
For example, when trying to reload to enable auto-work, the property is never actually enabled.
Also, when trying to reload jobs while auto-work is enabled, auto-work gets set to false internally; the jobs menu shows that work has already been accepted, yet no progress is ever recorded.

To Reproduce
Steps to reproduce the behavior:

  1. Start server
  2. Change the picojobs config, e.g. change the value of auto-work
  3. Run /jobadmin reload
  4. The actual value was not changed
    This also applies for the database connection.

Expected behavior
The configuration should be reloaded and the database connection restarted with new parameters.

Screenshots and Logs
unneeded

Software Details:

  • Server Software: Paper
  • Server Software Version: 1.21.1, build 131
  • Plugin Version: 1.0-pre
  • Java Version: openjdk 21.0.5
@burdoto burdoto added the bug Something isn't working label Nov 1, 2024
@burdoto burdoto changed the title [BUG] Reloading configuration has no effect [BUG] Reloading configuration breaks the plugin Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants