!OCUuWVrpIGfQMTcubb:matrix.org

Leafish

300 Members
Discuss all things Leafish, an open-source Minecraft client written in Rust!22 Servers

Load older messages


SenderMessageTime
11 Dec 2023
@_discord_160877998155759616:t2bot.ioskillman623 * I tried my hand at implementing it (as did others). The main issue is figuring out how to implement the azure gateway to process logins.

Should anyone be interested in making their own attempt see my post history in #development . I collected bits and pieces of official guides on how to implement it over time but could never get it working.
14:37:14
@_discord_1121159551815782481:t2bot.iomolasseslover I keep forgetting to take a look at it 15:40:21
@PureTryOut:matrix.orgPureTryOut (matrix.org)Honestly I still think authentication should be left to dedicated, 3rdparty, launchers like PolyMC15:44:17
@_discord_309408702530846730:t2bot.iomatrix-t2bot joined the room.16:07:22
@v90c:matrix.homelab.wf@v90c:matrix.homelab.wfWeird, that bot just joined a ton of rooms I'm in with t2bot integrated, but it's not the official bridge bot account16:16:21
@_discord_1121159551815782481:t2bot.iomolasseslover What do you mean? 17:09:47
@molasseslover:matrix.orgMolassesLover
In reply to @v90c:matrix.homelab.wf
Weird, that bot just joined a ton of rooms I'm in with t2bot integrated, but it's not the official bridge bot account
Oh that's shady
17:10:27
@v90c:matrix.homelab.wf@v90c:matrix.homelab.wf
In reply to @molasseslover:matrix.org
Oh that's shady
Definitely.
17:53:26
@PureTryOut:matrix.orgPureTryOut (matrix.org)
In reply to @_discord_1121159551815782481:t2bot.io
What do you mean?
Like I said? A dedicated launcher, like PolyMC, should handle the authentication. It can then just pass the auth token it retrieved to the client, in this case Leafish.
That's also how the official Java client works
23:12:34
@_discord_1121159551815782481:t2bot.iomolasseslover That wasn't obvious 23:19:48
@_discord_1121159551815782481:t2bot.iomolasseslover But yeah, that could work. I don't feel like using a separate application to do that would be a very elegant solution, though 23:20:41
@_discord_1121159551815782481:t2bot.iomolasseslover Being able to manage authentication on a lower level would allow for futures to be added more easily, things to be done programmatically, and it wouldn't need MultiMC/PolyMC/PrismMC as dependency 23:22:19
@_discord_1121159551815782481:t2bot.iomolasseslover Maybe there's a lightweight launcher with good authentication that wouldn't be a big dependency, but MultiMC and its forks are big 23:23:08
@_discord_1121159551815782481:t2bot.iomolasseslover Also, worth noting that PolyMC specifically would also be a terrible dependency given that the developer is a transphobuc bigot, and people rightfully do not want to contribute to that. Most of the developers that worked on it moved to PrismMC 23:25:17
@_discord_1121159551815782481:t2bot.iomolasseslover * Also, worth noting that PolyMC specifically would also be a terrible dependency given that the developer is a transphobic bigot, and people rightfully do not want to contribute to that. Most of the developers that worked on it moved to PrismMC 23:25:34
@_discord_1121159551815782481:t2bot.iomolasseslover * Also, worth noting that PolyMC specifically would also be a terrible dependency given that the developer is a transphobic bigot, and people rightfully do not want to contribute to it. Most of the developers that worked on it moved to PrismMC 23:28:30
@_discord_160877998155759616:t2bot.ioskillman623 I'm pretty sure we'd have to get permission to use another launcher's auth token (after a certain threshold you are charged per API call).

That's the main reason why I'm not supporting that route.
23:29:35
@_discord_1121159551815782481:t2bot.iomolasseslover Oh what's the threshold? 23:30:44
12 Dec 2023
@_discord_160877998155759616:t2bot.ioskillman623 I don't remember. I want to say like 20,000 calls a month? 02:45:48
@_discord_1121159551815782481:t2bot.iomolasseslover Damn, that's low 09:37:13
@_discord_1121159551815782481:t2bot.iomolasseslover Yeah that's really demotivating because that immediately means this project needs some sort of investment eventually 09:38:05
@_discord_1121159551815782481:t2bot.iomolasseslover * Yeah that's really demotivating because that means this project needs some sort of investment eventually 09:38:13
@_discord_160877998155759616:t2bot.ioskillman623 Eh, kinda. Realistically either donaters or having instructions for the end user to set up their gateway would be would work. 18:56:27
@PureTryOut:matrix.orgPureTryOut (matrix.org)
In reply to @_discord_160877998155759616:t2bot.io
I'm pretty sure we'd have to get permission to use another launcher's auth token (after a certain threshold you are charged per API call).

That's the main reason why I'm not supporting that route.

What? No, not at all. You're not using their auth token. They're logging you in and just pass the result they get from that to the client that's launching.

Like I said, that's literally what the Java client does. With the official launcher and third party ones

22:32:16
@PureTryOut:matrix.orgPureTryOut (matrix.org)
In reply to @_discord_160877998155759616:t2bot.io
I'm pretty sure we'd have to get permission to use another launcher's auth token (after a certain threshold you are charged per API call).

That's the main reason why I'm not supporting that route.
*

What? No, not at all. You're not using their API token. They're logging you in and just pass the result they get from that to the client that's launching.

Like I said, that's literally what the Java client does. With the official launcher and third party ones

22:32:25
@PureTryOut:matrix.orgPureTryOut (matrix.org)It's more elegant than doing it ourselves. Again, it's literally what the official client does as well. "Do one thing and do it well" is something more programs should abide too, and leaving authentication to a dedicated launcher is a good way to do so.22:33:28
13 Dec 2023
@_discord_160877998155759616:t2bot.ioskillman623 Okay. Admittedly I have no idea on how to do that. 00:07:54
14 Dec 2023
@_discord_265935563864014878:t2bot.io.pedrosf joined the room.03:25:45
22 Dec 2023
@_discord_160877998155759616:t2bot.ioskillman623 Correction - billing starts at 50,000 active users/month, and then at $.00325 per additional user. It's enough to go quite a ways while it is still small.

I might limit access to devs or a whitelist later on though so I don't get billed, maybe a small donation campaign ($5/month or whatever).
05:03:12
23 Dec 2023
@chillerdragon:matrix.orgchillerdragon
In reply to @_discord_1121159551815782481:t2bot.io
Also, worth noting that PolyMC specifically would also be a terrible dependency given that the developer is a transphobic bigot, and people rightfully do not want to contribute to that. Most of the developers that worked on it moved to PrismMC
Who is a transphobic bigot?
09:52:38

Show newer messages


Back to Room ListRoom Version: 6