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 support for Cuberite #36

Open
yangm97 opened this issue Nov 26, 2016 · 4 comments
Open

Add support for Cuberite #36

yangm97 opened this issue Nov 26, 2016 · 4 comments

Comments

@yangm97
Copy link

yangm97 commented Nov 26, 2016

GoLilyPad seems to be a resource efficient bungeecord replacement. Cuberite is a resource efficient minecraft server replacement. I wonder if we could marry these two together?

@coelho
Copy link
Member

coelho commented Nov 26, 2016

I think I looked into this once upon a time and basically concluded the Lua API doesn't provide enough functionality for Connect's plugin. We would need to get an alternative to this running on Cuberite for this to work: https://github.com/LilyPad/Bukkit-Connect

Maybe if we can do a native DLL/SO or something? But that sounds like a bit of work.

@yangm97
Copy link
Author

yangm97 commented Nov 26, 2016

Which features are missing exactly? I think it would be easier to ask Cuberite developers to add the needed bindings by opening issues. They usually like when plugins request such things.

Also, what the connect bit does exactly? Seems to be mostly about handling sessions. If so, I think you can get around changing the authentication server and authentication address bits on settings.ini.

PS: Coelho? Are you Brazilian or Portuguese by any chance?

@coelho
Copy link
Member

coelho commented Jun 16, 2017

Let me apologize for my delay on this. I'm Portugese by the way :D

Take a look at https://github.com/LilyPad/Bukkit-Connect

We need to be able to read the serverHost from the handshake and swap the IP address of the player, and the GameProfile of the player. We also need a TCP raw networking API to implement:

https://github.com/LilyPad/GoLilyPad/tree/master/client/connect

Or JLilyPad's Client-Connect-Lib which is the API for plugins. I'm pretty sure with the Lua API in Cuberite this is going to be very hard.

@yangm97
Copy link
Author

yangm97 commented Jun 16, 2017

Better late than never :P

For the TCP API, isn’t luasocket enough? Although not greatly advertised, cuberite supports loading external lua plugins, like luasocket from luarocks.

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

2 participants