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

Migrate to Configurate #4072

Merged
merged 78 commits into from
Jun 7, 2021
Merged

Migrate to Configurate #4072

merged 78 commits into from
Jun 7, 2021

Conversation

JRoy
Copy link
Member

@JRoy JRoy commented Mar 20, 2021

Migrates all uses of SnakeYAML and Bukkit's Configuration API to Sponge's Configurate.

Configurate enables us to the do the following stuff;

  • Serialize YAML off the main thread
  • (in the future) Automatically update our config
  • (in the future) Manipulate comments in configs
  • Be epic

@JRoy JRoy added the type: enhancement Features and feature requests. label Mar 20, 2021
@JRoy JRoy added this to the 2.19.0 milestone Mar 20, 2021
@JRoy JRoy requested review from zml2008 and mdcfe March 20, 2021 16:47
Co-authored-by: Riley Park <riley.park@meino.net>
@JRoy JRoy requested review from mdcfe, pop4959 and kashike June 6, 2021 21:04
Copy link
Contributor

@zml2008 zml2008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few minor things


try {
final UUID worldId = UUID.fromString(worldValue);
world = Bukkit.getWorld(worldId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is bad --- what if a location is stored for an unloaded world?

probably a pain to fix and I've seen this in iirc Jails as well, so can be handled in a later pass

zml2008
zml2008 previously approved these changes Jun 6, 2021
pop4959
pop4959 previously approved these changes Jun 6, 2021
@JRoy JRoy dismissed kashike’s stale review June 6, 2021 23:01

addressed

mdcfe
mdcfe previously requested changes Jun 7, 2021
@JRoy JRoy dismissed stale reviews from pop4959 and zml2008 via 13f614d June 7, 2021 11:32
@JRoy JRoy requested a review from mdcfe June 7, 2021 12:03
@JRoy JRoy dismissed mdcfe’s stale review June 7, 2021 12:03

addressed

# Conflicts:
#	build.gradle
Copy link
Member

@mdcfe mdcfe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

green tick go brrrrr

@mdcfe mdcfe merged commit 7653da0 into EssentialsX:2.x Jun 7, 2021
@mdcfe mdcfe deleted the feature/configurate branch June 7, 2021 12:49
@JRoy
Copy link
Member Author

JRoy commented Jun 7, 2021

Thanks to all the reviewers for helping us get this merged and to @zml2008 for being epic

mdcfe pushed a commit that referenced this pull request Jun 9, 2021
Fix regression from #4072, tested in #essx-support on MOSS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Features and feature requests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants