-
Notifications
You must be signed in to change notification settings - Fork 548
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
WIP - Refactored config handling + Added /sf reload #2822
Conversation
chore/config-rewrite Conflicts: src/main/java/io/github/thebusybiscuit/slimefun4/core/SlimefunRegistry.java src/main/java/io/github/thebusybiscuit/slimefun4/core/commands/subcommands/VersionsCommand.java src/main/java/io/github/thebusybiscuit/slimefun4/implementation/SlimefunPlugin.java
…to chore/config-rewrite
Your Pull Request was automatically labelled as: "🧹 Chores" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't spot anything, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only the Changelog was edited right? If so, still LGTM
src/main/java/io/github/thebusybiscuit/slimefun4/core/commands/subcommands/ReloadCommand.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/thebusybiscuit/slimefun4/core/config/SlimefunConfigManager.java
Outdated
Show resolved
Hide resolved
src/main/java/io/github/thebusybiscuit/slimefun4/core/config/SlimefunConfigManager.java
Show resolved
Hide resolved
…to chore/config-rewrite
…limefunConfigManager.java
PR looks good aside from the comment I still have open. |
7a3bc96
to
c48ccc0
Compare
Closing this |
Description
This pull requests moves the config-related stuff from SlimefunRegistry to a dedicated Config Manager.
It also allows some basic reload functionality,, accessible via
/sf reload
(Many people requested this for a long time).Note that this is not fully finished though, so not all changes are supported and a lot will still require a restart.
Changes
Checklist
Nonnull
andNullable
annotations to my methods to indicate their behaviour for null values