rtm516 / mcxboxbroadcast Goto Github PK
View Code? Open in Web Editor NEWA simple Geyser extension that broadcasts the server over Xbox Live.
License: GNU General Public License v3.0
A simple Geyser extension that broadcasts the server over Xbox Live.
License: GNU General Public License v3.0
I think publishing an official docker image for MCXboxBroadcast that is updated every time a new release is made would be really nice for users that are not running Pterodactyl Panel or simply wish to run it outside of Pterodactyl.
I get "[Geyser-Spigot] [MCXboxBroadcast] Created Xbox session!" but no server is displayed. What should I do? I have linked with the xbox displayed on the console.
so I've been running tests with this extension and they have all worked so far, or all the tests that I can do on the same network, unfortunately everytime I try to conduct the test with a friend online they cannot connect, is there any online networking I need to do for the server or am I doing something wrong?
It looks like this project can no longer be built due to GeyserMC/Floodgate#456 being merged. The WhitelistUtils.addPlayer
method now expects SpigotVersionSpecificMethods
as the third argument.
If you ever have free time and feel like looking into this, can you add an option to fallback to session-info in config when server is not reachable in standalone?
ok so I've used both the standalone and extension for this and I've have the same issue where they both disconnect, the Extension disconnects in a matter of hours, and when I used the Standalone it worked fine for a little over two weeks and now all of the sudden it just refuses to work now it barely stays connected for more than five minutes.
Hi There,
I currently have a bungee network with 2 whitelisted backend servers running behind it,
Geyser+Floodgate & your extension are running on the bungee with Floodgate on the backend servers
My problem is i have it setup where people can add the account used and they will get auto-whitelisted,
But that doesn't work since the extension is on the bungee rather than the backend servers
Any solutions would be greatly appreciated, I would rather not have to complicate my setup to accomidate the extension if at all possible
[22:25:42 WARN]: [Geyser-Spigot] [mcxboxbroadcast] [Primary Session] Failed to update session information!
com.rtm516.mcxboxbroadcast.core.exceptions.SessionUpdateException: HTTP/1.1 header parser received no bytes
at com.rtm516.mcxboxbroadcast.core.SessionManagerCore.updateSessionInternal(SessionManagerCore.java:304) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManager.updateSession(SessionManager.java:130) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManager.updateSession(SessionManager.java:122) ~[?:?]
at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.tick(MCXboxBroadcastExtension.java:181) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Hello,
I installed this extension on my Geyser Spigot Plugin but it doesn't seem to load correctly after changing the host where my Minecraft server runs.
Geyser prints that the extension is successfully loaded but I can't get the new code for logging in.
I noticed that it currently doesn't work when I opened Minecraft Bedrock as the Broadcast wasn't showing up.
Since then I tried to delete all Geyser configs, deleted the extensions configs but nothing seems to work.
I've also read that clearing the cache may help. But what folder do I need to delete?
Thanks for help
Self explanatory. Due to this, other people are unable to join from the friends tab.
I'm using this on a Waterfall proxy if this has anything to do with it.
Works perfect when they get added as a friend manually, this is the only issue I've had.
Jul. 3, 2023 build of standalone from jenkins
happens every time it tries to check friends, I just set it to the integer limit to disable friend syncing to avoid this error.
2023-07-25 10:35:26.228 [ERROR] Failed to sync friends com.rtm516.mcxboxbroadcast.core.exceptions.XboxFriendsException: Unrecognized field "version" (class com.rtm516.mcxboxbroadcast.core.models.FollowerResponse), not marked as ignorable (4 known properties: "accountLinkDetails", "recommendationSummary", "people", "friendFinderState"]) at [Source: (String)"{"version":1,"currentRequests":14,"maxRequests":10,"periodInSeconds":15,"limitType":"Rate"}"; line: 1, column: 13] (through reference chain: com.rtm516.mcxboxbroadcast.core.models.FollowerResponse["version"]) com.rtm516.mcxboxbroadcast.core.exceptions.XboxFriendsException: Unrecognized field "version" (class com.rtm516.mcxboxbroadcast.core.models.FollowerResponse), not marked as ignorable (4 known properties: "accountLinkDetails", "recommendationSummary", "people", "friendFinderState"]) at [Source: (String)"{"version":1,"currentRequests":15,"maxRequests":10,"periodInSeconds":15,"limitType":"Rate"}"; line: 1, column: 13] (through reference chain: com.rtm516.mcxboxbroadcast.core.models.FollowerResponse["version"]) at com.rtm516.mcxboxbroadcast.core.SessionManager.getXboxFriends(SessionManager.java:327) at com.rtm516.mcxboxbroadcast.bootstrap.standalone.StandaloneMain.lambda$main$1(StandaloneMain.java:104) at com.rtm516.mcxboxbroadcast.core.SessionManager.getXboxFriends(SessionManager.java:327) at com.rtm516.mcxboxbroadcast.bootstrap.standalone.StandaloneMain.lambda$main$1(StandaloneMain.java:104) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:358) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1589) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1589)
I get this error when a player tries to connect. I am running spigot+geyser+floodgate
[23:28:17] [Geyser Scheduled Thread-2-1/WARN]: [Geyser-Spigot] [MCXboxBroadcast] Failed to update session information! com.rtm516.mcxboxbroadcast.core.exceptions.SessionUpdateException: Unable to update session information, got status 401 trying to update at com.rtm516.mcxboxbroadcast.core.SessionManager.updateSession(SessionManager.java:243) ~[?:?] at com.rtm516.mcxboxbroadcast.core.SessionManager.updateSession(SessionManager.java:210) ~[?:?] at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.tick(MCXboxBroadcastExtension.java:139) ~[?:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.82.Final.jar:4.1.82.Final] at java.lang.Thread.run(Thread.java:833) ~[?:?]
I have a fabric server with geyser and mcxboxbrodcast and when I stop the server the extension keeps running making it appear the server is online to bedrock players
Randomly every 5~20mins the session will sometimes break and wont let players add correctly.
If there were a way to set every 5 mins in the config to restart or something would fix that problem.
Hi there,
Got your plugin setup but im just curious if you can setup session info and setup multiple servers with sub-sessions if at all possible
Thanks,
RADICAL
[15:30:23] [Geyser Scheduled Thread-2-1/WARN]: [Geyser-Spigot] [MCXboxBroadcast] Failed to sync friends
com.rtm516.mcxboxbroadcast.core.exceptions.XboxFriendsException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens
at [Source: (String)"\u001F?\u0008\u0000\u0000\u0000\u0000\u0000\u0004\u0000?VJ?OIU?2402?QJI-N.?,(???S?RrK??IMQ(?W?L)J,IU??\u0003?"????T????b?Z\u0000?)?\u0019A\u0000\u0000\u0000"; line: 1, column: 2]
at com.rtm516.mcxboxbroadcast.core.SessionManager.getXboxFriends(SessionManager.java:308) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.FriendUtils.autoFriend(FriendUtils.java:15) ~[?:?]
at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.lambda$createSession$3(MCXboxBroadcastExtension.java:188) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.87.Final.jar:4.1.87.Final]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[15:30:43] [Geyser Scheduled Thread-2-1/WARN]: [Geyser-Spigot] [MCXboxBroadcast] Failed to sync friends
com.rtm516.mcxboxbroadcast.core.exceptions.XboxFriendsException: Illegal character ((CTRL-CHAR, code 31)): only regular white space (\r, \n, \t) is allowed between tokens
at [Source: (String)"\u001F?\u0008\u0000\u0000\u0000\u0000\u0000\u0004\u0000?VJ?OIU?2402?QJI-N.?,(???S?RrK??IMQ(?W?L)J,IU??\u0003?"????T????b?Z\u0000?)?\u0019A\u0000\u0000\u0000"; line: 1, column: 2]
at com.rtm516.mcxboxbroadcast.core.SessionManager.getXboxFriends(SessionManager.java:308) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.FriendUtils.autoFriend(FriendUtils.java:15) ~[?:?]
at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.lambda$createSession$3(MCXboxBroadcastExtension.java:188) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.87.Final.jar:4.1.87.Final]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
I'm using the latest build version of mcxbox and geysermc, it was fine, but after restarting the error started to generate a lot of spam in the console
[02:04:28] [Geyser Scheduled Thread-2-1/INFO]: [Geyser-Spigot] [MCXboxBroadcast] Connection to websocket lost, re-creating session...
This shows up in the console and the Xbox Session is unreachable, this happens after a few hours of running and every single time. It won't reconnect either.
Here is some information about my server: https://dump.geysermc.org/48CLERhZLI5wiQqSonsFT7dmmQ1XtY2z
Edit: I'm using the geyser extension
Hey, I recently noticed that the bot doesn't re-add you automatically so I have to accept friend requests manually on the account first. Would it be possible for the extension to do so automatically?
thanks in advance!
this is the error message I get:
[20:14:48 ERROR]: An exception occurred while executing event GeyserPostInitializeEvent for subscriber org.geysermc.geyser.event.GeyserEventSubscriber
java.lang.NoSuchMethodError: 'void org.yaml.snakeyaml.parser.ParserImpl.(org.yaml.snakeyaml.reader.StreamReader)'
at com.fasterxml.jackson.dataformat.yaml.YAMLParser.(YAMLParser.java:191) ~[?:?]
at com.fasterxml.jackson.dataformat.yaml.YAMLFactory._createParser(YAMLFactory.java:504) ~[?:?]
at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:392) ~[?:?]
at com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:15) ~[?:?]
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3542) ~[?:?]
at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.onPostInitialize(MCXboxBroadcastExtension.java:71) ~[?:?]
at org.lanternpowered.lmbda.Lmbda$1.accept(Unknown Source) ~[Geyser-Spigot.jar:?]
at org.geysermc.event.subscribe.impl.SubscriberImpl.lambda$new$0(SubscriberImpl.java:55) ~[Geyser-Spigot.jar:?]
at org.geysermc.event.subscribe.impl.SubscriberImpl.invoke(SubscriberImpl.java:75) ~[Geyser-Spigot.jar:?]
at org.geysermc.event.bus.impl.BaseBusImpl.fireSilently(BaseBusImpl.java:201) ~[Geyser-Spigot.jar:?]
at org.geysermc.event.bus.impl.OwnedEventBusImpl.fireSilently(OwnedEventBusImpl.java:41) ~[Geyser-Spigot.jar:?]
at org.geysermc.event.bus.impl.BaseBusImpl.fire(BaseBusImpl.java:180) ~[Geyser-Spigot.jar:?]
at org.geysermc.event.bus.impl.OwnedEventBusImpl.fire(OwnedEventBusImpl.java:41) ~[Geyser-Spigot.jar:?]
at org.geysermc.geyser.GeyserImpl.startInstance(GeyserImpl.java:524) ~[Geyser-Spigot.jar:?]
at org.geysermc.geyser.GeyserImpl.initialize(GeyserImpl.java:217) ~[Geyser-Spigot.jar:?]
at org.geysermc.geyser.GeyserImpl.start(GeyserImpl.java:713) ~[Geyser-Spigot.jar:?]
at org.geysermc.geyser.platform.spigot.GeyserSpigotPlugin.postStartup(GeyserSpigotPlugin.java:216) ~[Geyser-Spigot.jar:?]
at org.geysermc.geyser.platform.spigot.GeyserSpigotPlugin$1.onServerLoaded(GeyserSpigotPlugin.java:185) ~[Geyser-Spigot.jar:?]
at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:git-Paper-52]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.1.jar:git-Paper-52]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.20.1.jar:git-Paper-52]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:637) ~[paper-1.20.1.jar:git-Paper-52]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:435) ~[paper-1.20.1.jar:git-Paper-52]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.20.1.jar:git-Paper-52]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1101) ~[paper-1.20.1.jar:git-Paper-52]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[paper-1.20.1.jar:git-Paper-52]
at java.lang.Thread.run(Thread.java:1623) ~[?:?]
Cannot join World
It appears in my friends list, but I get a message like "could not join world" and cannot join.
According to my verification, I can enter correctly on the local network.
And one question, what is the difference between the standalone version and the extension version?
The SessionInfo world name is set to geyser's motd2. When the motd2 option is empty (motd2: ""), the server does not appear in the "Joinable Friends" tab.
Good day
The Download link is Broken? Or is it just me?
This issue might be similar to #15 but I on the other hand do not have any logs at all, possibly due to me using the standalone version.
My setup is probably a bit cursed. I run a Minecraft Java (PaperMC paper-1.20.1-21) server. This server however is not running 24/7, instead I expose a proxy, which puts the server to sleep when nobody is connected (https://github.com/timvisee/lazymc). I also want Bedrock players to connect to my server, therefore I run Geyser. But because the java server is not running 24/7 I run the Geyser standalone, which then connects to the lazymc proxy.
This all works:
Now I wanted to add mcxboxbroadcast to that mix, making it comfortable for people to join the minecraft server, especially from consoles. This however does not seem to work. I made a new Microsoft-Account + XBox-Account and managed to connect the mcxboxbroadcast to it. I also successfully managed to add myself as a friend to that application. That application should connect to my geyser-server. This does seem to "kind of" work. On my phone (Android) I can go to the friends list and under "Joinable Friends" I can see my new account. I can also see the motd "Server is sleeping - Join to start it up". So it seems like it knows about the server. However connecting to it only results in "Unable to connect to world". I do not get any logs in mcxboxbroadcast, all it prints is "Updated session!" every 30 seconds. My geyser standalone server also prints nothing, indicating that the mcxboxbroadcast does not attempt to connect to the server. Running mcxboxbroadcast with debug: true
does not yield anything useful, now it prints Websocket message
with "resourceType":"mpsd/session"
(which I assume is basically the what happens in the background for "Updated session!")
I have no clue what I could provide for meaningful information. There is nothing in any debug logs.
Versions:
OS: Arch Linux (btw)
Java: openjdk version "20.0.1" 2023-04-18
MCXboxBroadcast: Build #19 (27 Mar 2023, 09:40:44)
Geyser Standalone: Geyser version 2.1.1-SNAPSHOT
PaperMC: paper-1.20.1-21
LazyMC: v0.2.10
When you have passthrough MOTD on in the geyser settings it makes the MOTD match the java servers, which the actual bedrock server listing shows but the friend listing shows the provided MOTD in the geyser config.
Suggestion: broadcast Open to LAN worlds to Xbox friends that are in the same Microsoft account as the Java Edition player.
Hey! ever since protocol 3.0; i get this error when trying to run the master version of the extension:
https://paste.gg/p/anonymous/8715e23da8b842398a4e81a8af1b303a
This does not occur with the PR #21 ; however; it does not start.
Roughly two hours after the session is started, the websocket disconnects. After turning on geyser's debug mode, I received this message in the console when it would disconnect: '[MCXboxBroadcast] Websocket disconnected: (1006)'. Reloading geyser or restarting my server does bring it back, but unfortunately it disconnects again after another two hours.
2022-07-17 21:39:06.083 [ERROR] Failed to sync friends
com.rtm516.mcxboxbroadcast.core.exceptions.XboxFriendsException: No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0]
at com.rtm516.mcxboxbroadcast.core.SessionManager.getXboxFriends(SessionManager.java:300)
at com.rtm516.mcxboxbroadcast.bootstrap.standalone.StandaloneMain.lambda$main$1(StandaloneMain.java:104)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Let it run over night an saw that the friend (this bot) is not online in Minecraft, checked, the console and all I saw is "Failed to update presence, got status 401" over and over again, than check trough all logs and had a few exceptions as well.
Now, after restart the "friend" seems to be online again, but I still have "Failed to update presence, got status 401" – tried to set the presence update to 60 (30 higher than default) and also the following to 30.
Not sure if there is much I could do to fix the issue with the exceptions and the "Failed to update presence, got status 401"
Especially interesting: 2023-08-12-2.log, 2023-08-12-7.log and latest.log
2023-08-12-2.log
2023-08-12-3.log
2023-08-12-4.log
2023-08-12-5.log
2023-08-12-6.log
2023-08-12-7.log
latest.log
The problem is when you join a server that uses a server selector item it doesn't load but when you join it using dns like geyser connect it works or using geyser connects mcxb because geyser connects mcxb redirects to the server like the dns so it isn't a issue for them but if the server uses mcxb directly the item selector disappears the item selector plugin I use is cross plats
I am getting:
[04:00:56] [Thread-7/INFO] [geyser]: [mcxboxbroadcast] [Primary Session] Starting SessionManager...
[04:00:56] [Thread-7/INFO] [geyser]: [mcxboxbroadcast] [Primary Session] Successfully authenticated as AxlRose6782 (2535456959930114)
[04:00:56] [Thread-7/INFO] [geyser]: [mcxboxbroadcast] [Primary Session] Creating Xbox LIVE session...
[04:00:57] [ForkJoinPool.commonPool-worker-1/INFO] [geyser]: Downloading Minecraft JAR to extract required files, please wait... (this may take some time depending on the speed of your internet connection)
[04:00:58] [Thread-7/INFO] [geyser]: [mcxboxbroadcast] [Primary Session] Creation of Xbox LIVE session was successful!
[04:00:58] [Thread-7/INFO] [geyser]: [mcxboxbroadcast] [Sub-Session CerealSeeker795] Starting SessionManager...
[04:00:58] [Thread-7/INFO] [geyser]: [mcxboxbroadcast] [Sub-Session CerealSeeker795] Successfully authenticated as CerealSeeker795 (2535405149804674)
[04:00:58] [MCXboxBroadcast Thread-1/WARN] [geyser]: [mcxboxbroadcast] [Sub-Session CerealSeeker795] Failed to add AxlRose6782 (2535456959930114) as a friend: (403) {"code":1000,"source":"PeopleFd","description":"Could not read XUID claim value","traceInformation":null}
[04:00:59] [Thread-7/INFO] [geyser]: [mcxboxbroadcast] [Sub-Session CerealSeeker795] Waiting for friendship to be processed...
[04:01:00] [Velocity Async Event Executor - #0/INFO] [com.velocitypowered.proxy.console.VelocityConsole]: Command is only for players.
[04:01:04] [Thread-7/INFO] [geyser]: [mcxboxbroadcast] [Sub-Session CerealSeeker795] Creating Xbox LIVE session...
[04:01:04] [Thread-7/ERROR] [geyser]: [mcxboxbroadcast] [Primary Session] Failed to create sub-session CerealSeeker795
com.rtm516.mcxboxbroadcast.core.exceptions.SessionUpdateException: Unable to update session information, got status 401 trying to update
at com.rtm516.mcxboxbroadcast.core.SessionManagerCore.updateSessionInternal(SessionManagerCore.java:309) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SubSessionManager.updateSession(SubSessionManager.java:52) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManagerCore.createSession(SessionManagerCore.java:223) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManagerCore.init(SessionManagerCore.java:174) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManager.init(SessionManager.java:98) ~[?:?]
at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.createSession(MCXboxBroadcastExtension.java:164) ~[?:?]
at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.lambda$onPostInitialize$3(MCXboxBroadcastExtension.java:156) ~[?:?]
at java.lang.Thread.run(Thread.java:1623) [?:?]
[04:01:18] [Netty epoll Worker #1/INFO] [com.velocitypowered.proxy.connection.client.StatusSessionHandler]: [initial connection]
Sorry about this not really being an issue with the program, but I can't find where to get binaries! Do you provide builds as a plugin/mod, have them hidden in a tab I haven't found, or just not provide builds at all?
I double-checked the EULA and it doesnt say that this is not allowed?
This extension is not loaded when you update the server to 1.20 So it is already loaded, but no connection to the bot is established
Multiple reboots and reload but you don't get the link and the corresponding code
And standalone doesn't work for me, so I can't get that to work at all.
I ask for a check and, if necessary, a fix.
I'm moving all the disconnect issues into this issue. Please follow the below if you wish to assist in getting to the bottom of this.
By disconnect issues I mean some people experience an issue where after some time the tool stops broadcasting on Xbox live without warning so stops appearing ingame, I've been unable to replicate this myself so if could follow the below it would likely help get the issue resolved faster.
debug-mode
to true
in the Geyser config.ymldebug-log
to true
in the config.ymlmcxboxbroadcast dumpsession
(in the server console)dumpsession
(in the MCXboxBroadcast console)lastSessionResponse.json
and currentSessionResponse.json
files
When i login using the code with a brand new acc, i get:
[06:14:50] [pool-18-thread-1/INFO] [Geyser-BungeeCord]: [MCXboxBroadcast] To sign in, use a web browser to open the page https://www.microsoft.com/link and enter the code *** to authenticate.
[06:16:58] [Thread-47/WARN] [Geyser-BungeeCord]: [MCXboxBroadcast] Failed to get SISU authentication token
com.rtm516.mcxboxbroadcast.shaded.com.fasterxml.jackson.databind.exc.MismatchedInputException: No content to map due to end-of-input
at [Source: (String)""; line: 1, column: 0]
at com.rtm516.mcxboxbroadcast.shaded.com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59) ~[?:?]
at com.rtm516.mcxboxbroadcast.shaded.com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:4821) ~[?:?]
at com.rtm516.mcxboxbroadcast.shaded.com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4723) ~[?:?]
at com.rtm516.mcxboxbroadcast.shaded.com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3677) ~[?:?]
at com.rtm516.mcxboxbroadcast.shaded.com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3645) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.XboxTokenManager.getSISUToken(XboxTokenManager.java:267) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManager.getXboxToken(SessionManager.java:112) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManager.getXboxToken(SessionManager.java:116) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManager.createSession(SessionManager.java:149) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManager.createSession(SessionManager.java:138) ~[?:?]
at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.createSession(MCXboxBroadcastExtension.java:176) ~[?:?]
at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.lambda$onPostInitialize$2(MCXboxBroadcastExtension.java:168) ~[?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
[06:16:58] [Thread-47/INFO] [Geyser-BungeeCord]: [MCXboxBroadcast] SISU authentication response is null, please login again
[06:16:58] [pool-19-thread-1/INFO] [Geyser-BungeeCord]: [MCXboxBroadcast] To sign in, use a web browser to open the page https://www.microsoft.com/link and enter the code ***L9E** to authenticate.
I don't know what I'm doing wrong? I can't host my server on 1.20.2 because of how buggy it is, so I have to use 1.19.4 and it just simply errors with that
I'm tried this with a playstation user and they were having issues with the friend connection showing up. Is there a way to make it work with them? Not sure if it's ust my friend or not.
java -Xms128M -Xmx1024M -jar MCXboxBroadcastStandalone.jar
2023-02-07 04:28:46.981 [INFO] Creating session...
2023-02-07 04:28:47.611 [INFO] To sign in, use a web browser to open the page https://www.microsoft.com/link and enter the code MAJDY9TU to authenticate.
2023-02-07 04:29:12.383 [ERROR] Failed to get XSTS authentication token
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "Identity" (class com.rtm516.mcxboxbroadcast.core.models.GenericAuthenticationResponse), not marked as ignorable (4 known properties: "IssueInstant", "NotAfter", "Token", "DisplayClaims"])
at [Source: (String)"{"Identity":"0","XErr":2148916233,"Message":"","Redirect":"https://start.ui.xboxlive.com/CreateAccount"}"; line: 1, column: 14] (through reference chain: com.rtm516.mcxboxbroadcast.core.models.GenericAuthenticationResponse["Identity"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:1127)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1989)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1700)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1678)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:319)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:176)
at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:322)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4674)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3629)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3597)
at com.rtm516.mcxboxbroadcast.core.XboxTokenManager.getXSTSToken(XboxTokenManager.java:302)
at com.rtm516.mcxboxbroadcast.core.SessionManager.getXboxToken(SessionManager.java:108)
at com.rtm516.mcxboxbroadcast.core.SessionManager.createSession(SessionManager.java:140)
at com.rtm516.mcxboxbroadcast.core.SessionManager.createSession(SessionManager.java:129)
at com.rtm516.mcxboxbroadcast.bootstrap.standalone.StandaloneMain.main(StandaloneMain.java:82)
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.rtm516.mcxboxbroadcast.core.models.XboxTokenInfo.tokenHeader()" because "tokenInfo" is null
at com.rtm516.mcxboxbroadcast.core.SessionManager.createSession(SessionManager.java:141)
at com.rtm516.mcxboxbroadcast.core.SessionManager.createSession(SessionManager.java:129)
at com.rtm516.mcxboxbroadcast.bootstrap.standalone.StandaloneMain.main(StandaloneMain.java:82)
I have Geyser+Floodgate+MCXboxBroadcastExtension on my server. When issuing the stop command (eg from Pterodactyl panel), the server hangs on the last console output and does not shut down unless the process is killed.
May be related to similar issues on Geyser/Floodgate that cause the same problem.
Hey sry for opening an issue for that. But how i get this plugin to work? when i put the jar file from the jenkins build server in my plugins folder it cant get initialized because of an invalid plugin.yml
Currently the only customization you can do in the extension is the port and address. In the standalone you can do both of those as well as host-name, world-name, version, players, max-players, and protocol (which i leave on default.)
Hello, I'm getting this error, constant on the console, the connections on the server are being made correctly without any problem using the standalone version, but this error appears
[WARN] Unknown channel option 'IP_DONTFRAG' for channel '[id: 0xd9a9d65a]'
I would like to know if it's normal, or what can be done to solve it, or if it doesn't impact anything...
Cannot open the link you provided in releases
I found out that for me, enabling the "auto whitelist friends" in the config will cause the extention to disconect after 4 hours and then never reconnect
download link is broken and
[MCXboxBroadcast] Connection to websocket lost, re-creating session...
[04:11:00 INFO] [geyser]: [MCXboxBroadcast] Re-connected!
[05:08:37 ERROR] [geyser]: [MCXboxBroadcast] Failed to update session information!
com.rtm516.mcxboxbroadcast.core.exceptions.SessionUpdateException: HTTP/1.1 header parser received no bytes
at com.rtm516.mcxboxbroadcast.core.SessionManager.updateSession(SessionManager.java:238) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManager.updateSession(SessionManager.java:210) ~[?:?]
at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.tick(MCXboxBroadcastExtension.java:139) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.2.0-SNAPSHOT (git-40b76c63-b256)]
at java.lang.Thread.run(Thread.java:833) [?:?]
[06:04:36 INFO] [geyser]: [MCXboxBroadcast] Connection to websocket lost, re-creating session...
[06:04:37 INFO] [geyser]: [MCXboxBroadcast] Re-connected!
[06:20:47 ERROR] [geyser]: [MCXboxBroadcast] Failed to update session information!
com.rtm516.mcxboxbroadcast.core.exceptions.SessionUpdateException: HTTP/1.1 header parser received no bytes
at com.rtm516.mcxboxbroadcast.core.SessionManager.updateSession(SessionManager.java:238) ~[?:?]
at com.rtm516.mcxboxbroadcast.core.SessionManager.updateSession(SessionManager.java:210) ~[?:?]
at com.rtm516.mcxboxbroadcast.bootstrap.geyser.MCXboxBroadcastExtension.tick(MCXboxBroadcastExtension.java:139) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[velocity.jar:3.2.0-SNAPSHOT (git-40b76c63-b256)]
at java.lang.Thread.run(Thread.java:833) [?:?]
[08:18:44 INFO] [geyser]: [MCXboxBroadcast] Connection to websocket lost, re-creating session...
[08:18:45 INFO] [geyser]: [MCXboxBroadcast] Re-connected!
[10:05:03 INFO] [geyser]: [MCXboxBroadcast] Connection to websocket lost, re-creating session...
[10:05:04 INFO] [geyser]: [MCXboxBroadcast] Re-connected!
[12:15:35 INFO] [geyser]: [MCXboxBroadcast] Connection to websocket lost, re-creating session...
[12:15:36 INFO] [geyser]: [MCXboxBroadcast] Re-connected!
2023-01-05 18:29:51.110 [ERROR] Failed to get XSTS authentication token
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "Identity" (class com.rtm516.mcxboxbroadcast.core.models.GenericAuthenticationResponse), not marked as ignorable (4 known properties: "IssueInstant", "NotAfter", "Token", "DisplayClaims"])
at [Source: (String)"{"Identity":"0","XErr":2148916233,"Message":"","Redirect":"https://start.ui.xboxlive.com/CreateAccount"}"; line: 1, column: 14] (through reference chain: com.rtm516.mcxboxbroadcast.core.models.GenericAuthenticationResponse["Identity"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61)
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:1127)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1989)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1700)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1678)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:319)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:176)
at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:322)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4674)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3629)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3597)
at com.rtm516.mcxboxbroadcast.core.XboxTokenManager.getXSTSToken(XboxTokenManager.java:302)
at com.rtm516.mcxboxbroadcast.core.SessionManager.getXboxToken(SessionManager.java:108)
at com.rtm516.mcxboxbroadcast.core.SessionManager.createSession(SessionManager.java:140)
at com.rtm516.mcxboxbroadcast.core.SessionManager.createSession(SessionManager.java:129)
at com.rtm516.mcxboxbroadcast.bootstrap.standalone.StandaloneMain.main(StandaloneMain.java:82)
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.rtm516.mcxboxbroadcast.core.models.XboxTokenInfo.tokenHeader()" because "tokenInfo" is null
at com.rtm516.mcxboxbroadcast.core.SessionManager.createSession(SessionManager.java:141)
at com.rtm516.mcxboxbroadcast.core.SessionManager.createSession(SessionManager.java:129)
at com.rtm516.mcxboxbroadcast.bootstrap.standalone.StandaloneMain.main(StandaloneMain.java:82)
Yesterday I suddenly started getting "Failed to sync friends" errors.
Is there any way to fix it?
So I’m setting up a server with this extension and I’ve kept the server up for a bit but the broadcast extension keeps going offline after a few hours up is there a way I can keep the server being broadcasted through Xbox live indefinitely?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.