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

[Feature Request] Geyser Support #18

Closed
Romvnly-Gaming opened this issue Apr 21, 2021 · 10 comments
Closed

[Feature Request] Geyser Support #18

Romvnly-Gaming opened this issue Apr 21, 2021 · 10 comments

Comments

@Romvnly-Gaming
Copy link

Hi, I'm currently using Geyser and OpenInv together however I cannot open Bedrock player's inventories.

Can you please add Geyser Support?

Popular Geyser Prefixes: ., *

javaw_LbW9qlahix

@Jikoo
Copy link
Owner

Jikoo commented Apr 21, 2021

See lishid#163 (comment) - make sure you are including the special character at the start of the name. If that fails, please attempt to open their inventory using their UUID.

As it stands, no one encountering this issue has gotten back to me with any additional information. I briefly looked into Geyser and it appeared to store Bedrock players in the exact same fashion as regular players, so I'm inclined to believe the commenter who said it's user error.

@Jikoo Jikoo closed this as completed Apr 21, 2021
@Romvnly-Gaming
Copy link
Author

Well, for some reason it's not working. It's not exactly optimal to have staff putting in UUIDs to check a player's inventory.

XxstpL7i24.mp4

@Jikoo
Copy link
Owner

Jikoo commented Apr 21, 2021

I'm willing to look into it again, but you're going to have to work with me on it to some degree - I don't have a Bedrock account and I don't intend to figure out how to set up Geyser locally.

I need a player data file belonging to a Bedrock user to inspect - they should be stored in world/playerdata/<their uuid>.dat. After I poke through that I may need you to run a build with additional debug information printed during the player identification process.

@Jikoo Jikoo reopened this Apr 21, 2021
@Romvnly-Gaming
Copy link
Author

Alright, I'm willing to work with you. Lemme grab my playerdata
http://www.mediafire.com/view/osmkrz4jx3mbm0a

@Jikoo
Copy link
Owner

Jikoo commented Apr 21, 2021

Ok, the last known name is set. That's good, I can work with that. I have to assume Geyser messes with the usercache, so that's the next step. If you would, please ensure that your usercache.json contains an entry for that user. It should look something like this:

{
  "name":"*RomvnlyYT",
  "uuid":"00000000-0000-0000-0009-00000da0f8ce",
  "expiresOn":"some date"
}

The usercache isn't technically relevant to the problem - how Geyser provides names for the players it injects is - but it's a good place to start for finding behavior that's out of the norm.

@Romvnly-Gaming
Copy link
Author

{
  "name": "*RomvnlyYT",
  "uuid": "00000000-0000-0000-0009-00000da0f8ce",
  "expiresOn": "2021-05-15 12:46:25 -0400"
}

yep, it has it.

@Jikoo
Copy link
Owner

Jikoo commented Apr 21, 2021

I see - you must be using FloodGate with Geyser, so your server's in online mode, correct?

@Jikoo
Copy link
Owner

Jikoo commented Apr 21, 2021

I've pushed a commit removing name validation for servers in online mode. When the run finishes, you can download the dev build from it here - the jar is inside the dist zip that will be at the bottom of the page.

/e: Build finished. In case you have trouble finding it (they keep moving the dang artifacts, they used to be at the top right) this should be a direct link.

@Romvnly-Gaming
Copy link
Author

I see - you must be using FloodGate with Geyser, so your server's in online mode, correct?

Yes

I've pushed a commit removing name validation for servers in online mode. When the run finishes, you can download the dev build from it here - the jar is inside the dist zip that will be at the bottom of the page.

Thanks! 😃

@Romvnly-Gaming
Copy link
Author

And confirmed, the build works. Thanks for such a speedy response!
javaw_aAfwBwIj4W

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants