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

Error messages from minecraft server to broker #8

Open
ca-schaefer opened this issue Dec 5, 2019 · 1 comment
Open

Error messages from minecraft server to broker #8

ca-schaefer opened this issue Dec 5, 2019 · 1 comment

Comments

@ca-schaefer
Copy link
Contributor

If the minecraft plugin has an error during experiment setup, it should inform the broker that it could not start the experiment.

Possible errors are:

  1. The plugin cannot find the initial world state file
  2. The initial world state file contains errors
  3. The player was not teleported into the correct player world

For this, the broker has to accept error messages.

@ca-schaefer
Copy link
Contributor Author

Added two error messages to shared.proto:

  • WorldFileError: the initial world state could not be loaded properly
  • MinecraftServerError: something else on the server went wrong (e.g. the player is in the wrong world)

Currently, the broker only logs the error messages and continues.

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

No branches or pull requests

1 participant