Skip to content

java-client-demo #58

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

Open
vorburger opened this issue May 19, 2018 · 4 comments
Open

java-client-demo #58

vorburger opened this issue May 19, 2018 · 4 comments
Assignees

Comments

@vorburger
Copy link
Member

As the new Vert.x api/ progresses (#53) and once #41 is resolved, then I would like to build a java-client-demo - a simple Java main() which remote connects to a Minecraft server, via Vert.x, and runs actions from our Minecraft API such as showTitle (so NOT as an in-process plugin).

I'm not clear yet how this remote API would expose events, such as when Player joins...

This could also be handy to build a kind of test suite for manual testing - I imagine something like:

showing title in Minecraft in a loop, are you seeing it? [Y/N]
running Minecraft command /time set day|night in a loop, are you seeing it? [Y/N]
making entity named 'Piggy' say "oink, oink", are you seeing it? [Y/N]
please open chat and run /test command
please hold an Apple
please right click something
waiting for event player join, and checking last player joined, please disconnect and reconnect

@edewit FYI

vorburger added a commit that referenced this issue Jun 9, 2018
@vorburger
Copy link
Member Author

https://github.com/vorburger/minecraft-storeys-maker/compare/issue58_java-client-demo

but how to make a "client" EventBus WITHOUT running an (incoming) HTTP Server?

probably need to re-use MinecraftVerticle and VertxStarter but without new ServiceBinder(vertx).setAddress(address).register(Minecraft.class, minecraftServerSideImplementation); ...

@vorburger
Copy link
Member Author

@vorburger
Copy link
Member Author

so this would require sebastienblanc/vertx-java-tcp-eventbus-bridge#3

@vorburger
Copy link
Member Author

Or... maybe I'll try to do this without Vert.x? See #322.

vorburger added a commit to vorburger/HoTea that referenced this issue Apr 4, 2022
This class was still used in the Minecraft demo, but that's broken
anyway, because it required a FORKED HACKED Sponge; see
https://forums.spongepowered.org/t/plugin-reloader/10666/7.

Watch OASIS-learn-study/minecraft-storeys-maker#58
and related work for future work about this idea.
This was referenced Jun 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant