Git Product home page Git Product logo

Comments (4)

coelho avatar coelho commented on September 3, 2024

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.

from golilypad.

yangm97 avatar yangm97 commented on September 3, 2024

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?

from golilypad.

coelho avatar coelho commented on September 3, 2024

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.

from golilypad.

yangm97 avatar yangm97 commented on September 3, 2024

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.

from golilypad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.