Skip to content

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 mdcfe and zml2008 March 20, 2021 16:47
@JRoy JRoy requested review from kashike, mdcfe and pop4959 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
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
Co-authored-by: MD <[email protected]>
Co-authored-by: Riley Park <[email protected]>
Co-authored-by: zml <[email protected]>

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

This commit also *finally* strips out the 3.x storage/object mapping system in favour of Configurate's object mapper.
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
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