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

Add the cserverseed command #698

Open
wants to merge 11 commits into
base: fabric
Choose a base branch
from

Conversation

xpple
Copy link
Collaborator

@xpple xpple commented Dec 23, 2024

This PR adds a utility command for inspecting two seeds the server sends you for free:

  • The lower 16 bits of the enchantment seed
  • The lower 8 bytes of the SHA256-hashed world seed

In combination with the structure seed, the lower eight bytes of the world seed hash uniquely pinpoint the world seed. I added a subcommand for this too.

@xpple xpple added the enhancement New feature or request label Dec 23, 2024
@Johnsmith927
Copy link

How is this better than the current method of seedcracking? In both methods the player needs to crack the structure seed, no? I could be wrong, I'm just curious

@xpple
Copy link
Collaborator Author

xpple commented Dec 31, 2024

This command isn’t seed cracking in any way. It’s just for inspecting two bits of information the server sends the player for free.

The subcommand that determines the world seed from the structure seed and the hashed seed is just a brute force over all remaining world seed possibilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants