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

Improve world regeneration command. #2799

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

TraceLTRC
Copy link

@TraceLTRC TraceLTRC commented Aug 14, 2022

Fixes #2783, also fixes an unwanted behaviour where the spawn on regenerated worlds stays the same when providing a new seed.

When fixing #2783, I don't know if I'm allowed to modify the classes in the API package. If this shouldn't happen, we could always make the deleteWorldFolder boolean to keep the paper config instead of deleting all files in the directory if set to false.

Copy link
Member

@benwoo1110 benwoo1110 left a comment

Choose a reason for hiding this comment

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

Haven't tested yet, but here are some pointers based on looking at the code changes.

@nicegamer7 @zax71, if you all happen to have time, can help to try it out.

- Add an overload method for choosing what to delete in MVWorldManager#deleteWorld
- Deprecated deleteWorld method
- Renamed KeepWorld to WorldDeleteMode
@TraceLTRC TraceLTRC requested a review from benwoo1110 August 15, 2022 05:33
If you do `/mv regen worldName -s --keep-gamerules`, the plugin will think that "--keep-gamerules" is a seed we're supplying. That shouldn't happen.
@FakEEE14
Copy link

FakEEE14 commented Feb 1, 2023

hi
this is very nice thing, why it's not approved yet ?

@zax71
Copy link
Member

zax71 commented Feb 1, 2023

We are trying to get development back on track internally. As soon as we can review the code as a team this will get merged :)

@FakEEE14
Copy link

FakEEE14 commented Feb 1, 2023

thanks sir

@pjindras
Copy link

pjindras commented Apr 3, 2024

Any update in this case? I would greatly appreciate this improvement :D

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

Successfully merging this pull request may close these issues.

[Idea]: Avoid resetting Paper's paper-world.yml with /mv regen
6 participants