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

Non-authoritative multiplayer #18

Open
Inspirateur opened this issue Jul 22, 2024 · 0 comments
Open

Non-authoritative multiplayer #18

Inspirateur opened this issue Jul 22, 2024 · 0 comments
Labels
feature Feature request

Comments

@Inspirateur
Copy link
Owner

Inspirateur commented Jul 22, 2024

In a non-authoritative multiplayer setting, the server just relays player's packets to each other, not checking if the players are sending valid stuff or cheating.
This is enough to play with friends but obviously isn't enough to support public servers. Nonetheless, it is the most sensible first step to take on the way to true multiplayer, as it is significantly easier to implement.

There should be a new Client/Server state enum controlling which systems run.

The server should:

  • relay player positions/display players
  • relay block changes
  • send chunk data as they are loaded
@Inspirateur Inspirateur added the feature Feature request label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request
Projects
None yet
Development

No branches or pull requests

1 participant