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 automatic database seed fetching based on connection string and hashed seed #344

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

xpple
Copy link
Contributor

@xpple xpple commented Jan 3, 2025

As it is currently implemented, if there is a database match, the seed will be sent to the player every time they log in or respawn. If this is too annoying, it can be changed to only do so on log ins. However this may have the issue that when the nether has a different seed, it won't be communicated to the player.

Some notes:

  • I added DevAuth to be able to easily test on multiplayer servers. A server that currently works as a nice example of this feature is java.donutsmp.net.
  • The version is currently ignored when fetching the database, this can be changed if necessary.
  • The database URL for fetching the seeds is currently CSV-based, so far it has worked fine but perhaps it can be replaced with a script if necessary.

@19MisterX98 19MisterX98 merged commit 30d7f42 into 19MisterX98:master Jan 3, 2025
1 check passed
@19MisterX98
Copy link
Owner

thx

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.

2 participants