💬 Discord Bridge 2.4.0 (aka SpongeDiscord)


#103

Getting a cannot pass ServerChatEvent error, might need an API update


#104

Can I have log? Thanks.


#105

Found it,
http://pastebin.com/pqyp2vg3


#106

I’m having issues verifying accounts. Tried using the account name and account email and nothing either way. Edited password to make sure it was the same and still nada :confused:
Any input from anyone would be appreciated :slight_smile:

Edit:
Oh yes, and versions being used are:
MinecraftForge 12.18.1.2099
SpongeForge 1.10.2-1788
Discord Bridge 1.4.0

11.10 10:15:27 [Server] Server thread/ERROR [com.nguyenquyhy.spongediscord]: Cannot login! Login error occurred! Are your login details correct?
11.10 10:15:27 [Server] INFO sx.blah.discord.util.DiscordException: Login error occurred! Are your login details correct?
11.10 10:15:27 [Server] INFO at sx.blah.discord.api.internal.DiscordClientImpl.login(DiscordClientImpl.java:218) ~[DiscordClientImpl.class:?]
11.10 10:15:27 [Server] INFO at com.nguyenquyhy.spongediscord.logics.LoginHandler.login(LoginHandler.java:121) [LoginHandler.class:?]
11.10 10:15:27 [Server] INFO at com.nguyenquyhy.spongediscord.commands.LoginCommand.execute(LoginCommand.java:23) [LoginCommand.class:?]
11.10 10:15:27 [Server] INFO at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:179) [ChildCommandElementExecutor.class:1.10.2-2098-5.0.0-BETA-1788]
11.10 10:15:27 [Server] INFO at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:351) [CommandSpec.class:1.10.2-2098-5.0.0-BETA-1788]
11.10 10:15:27 [Server] INFO at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333) [SimpleDispatcher.class:1.10.2-2098-5.0.0-BETA-1788]
11.10 10:15:27 [Server] INFO at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:291) [SpongeCommandManager.class:1.10.2-2098-5.0.0-BETA-1788]
11.10 10:15:27 [Server] INFO at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82) [bd.class:?]
11.10 10:15:27 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:913) [me.class:?]
11.10 10:15:27 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:892) [me.class:?]
11.10 10:15:27 [Server] INFO at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [im.class:?]
11.10 10:15:27 [Server] INFO at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [im.class:?]
11.10 10:15:27 [Server] INFO at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:122) [PacketUtil.class:1.10.2-2098-5.0.0-BETA-1788]
11.10 10:15:27 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$0(SourceFile:39) [fl$1.class:?]
11.10 10:15:27 [Server] INFO at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fl$1.class:?]
11.10 10:15:27 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_92]
11.10 10:15:27 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_92]
11.10 10:15:27 [Server] INFO at net.minecraft.util.Util.func_181617_a(SourceFile:45) [h.class:?]
11.10 10:15:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668) [MinecraftServer.class:?]
11.10 10:15:27 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
11.10 10:15:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
11.10 10:15:27 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
11.10 10:15:27 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92]

#107

Have you tried using bot token yet? I will check again soon, but Discord does not officially support logging in via username & password, so they might have changed their API.


#108

Using the token how?
I have a bot set up, and messages go between the Discord app / site and the server chat just fine. I’m just seeking to synch the accounts and falling short on the logging in aspect :confused:
And links from Discord are clickable in the server - saw that was still on your ToDo list


#109

Yes I also have similar problem on my server. I will update you on this soon.
And thank for the note on TODO :stuck_out_tongue:.


#110

Hmm. Not sure if relevant but I have this in the stacktrace:

11.10 10:41:15 [Server] Server thread/INFO [com.nguyenquyhy.spongediscord]: Logging in to bot Discord account...
11.10 10:41:16 [Server] Server thread/INFO [STDERR]: [sx.blah.discord.Discord4J:initLogger:200]: Discord4J: ERROR INITIALIZING LOGGER!
11.10 10:41:16 [Server] Server thread/INFO [STDERR]: [sx.blah.discord.Discord4J:initLogger:201]: Discord4J: No SLF4J implementation found, reverting to the internal implementation (sx.blah.discord.Discord4J$Discord4JLogger)
11.10 10:41:16 [Server] Server thread/INFO [STDERR]: [sx.blah.discord.Discord4J:initLogger:202]: Discord4J: It is *highly* recommended to use an full featured implementation like logback!
11.10 10:41:16 [Server] Server thread/INFO [STDERR]: [discord4j.org.slf4j.helpers.Util:report:127]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
11.10 10:41:16 [Server] Server thread/INFO [STDERR]: [discord4j.org.slf4j.helpers.Util:report:127]: SLF4J: Defaulting to no-operation (NOP) logger implementation
11.10 10:41:16 [Server] Server thread/INFO [STDERR]: [discord4j.org.slf4j.helpers.Util:report:127]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
11.10 10:41:16 [Server] INFO 10:41:16.063: [INFO][Server thread][sx.blah.discord.Discord4J] - Discord4J v2.5.2
11.10 10:41:16 [Server] INFO 10:41:16.063: [INFO][Server thread][sx.blah.discord.Discord4J] - A Java binding for the unofficial Discord API, forked from https://github.com/nerd/Discord4J. Copyright (c) 2016, Licensed under GNU GPLv2

#111

That one is not an issue. Just a quick workaround I do to stop the internal library from flooding server console with unnecessary Discord log ;).


#112

Discord Bridge 2.0.0 is out now!


#113

Hellows. I’m a new discord user, and new to discord bridge naturally.
My problem is that I cannot get discord to work on my 1.10.2 server.
After making a bot and adding it to the server, I took out the channel ID from here

After copying the ID by right clicking on the channel (enabled developer mode).

And pasted both of them in the configs area.
Restarted the server, tried sending in a message but that didn’t appear in my server. I know that I’m missing something vital but no idea on whatsoever it is. Please help me set this up.

Another problem to address would be this

I’ve authorized the IP address in my email but it still comes.


#114

Is there any error log?


#115

There’s this but I’m sure my login credentials are correct. Don’t there’s something which wouldn’t connect discord to minecraft

[nucleus]: OmegaXIS ran the command: /discord default login removed removed
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at sx.blah.discord.api.internal.Requests.request(Requests.java:153)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at sx.blah.discord.api.internal.DiscordClientImpl.login(DiscordClientImpl.java:204)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at com.nguyenquyhy.spongediscord.logics.LoginHandler.login(LoginHandler.java:121)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at com.nguyenquyhy.spongediscord.commands.DefaultLoginCommand.execute(DefaultLoginCommand.java:23)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:179)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:291)
22:50:06.351: [ERROR][Server thread][sx.blah.discord.Discord4J] - Exception caught, logging in!
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:179)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at sx.blah.discord.api.internal.Requests.makeRequest(Requests.java:116)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: sx.blah.discord.util.DiscordException: Error on request to https://discordapp.com/api/auth/login. Received response code 400. With response text: {“email”: [“New login location detected, please check your e-mail.”]}
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:913)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:892)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:122)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at java.lang.Thread.run(Thread.java:745)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.util.Util.func_181617_a(SourceFile:45)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
sx.blah.discord.util.DiscordException: Login error occurred! Are your login details correct?
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zja000(SourceFile:39)
at sx.blah.discord.api.internal.DiscordClientImpl.login(DiscordClientImpl.java:218) ~[DiscordClientImpl.class:?]
at com.nguyenquyhy.spongediscord.logics.LoginHandler.login(LoginHandler.java:121) [LoginHandler.class:?]
[22:50:06] [Server thread/ERROR] [com.nguyenquyhy.spongediscord]: Cannot login! Login error occurred! Are your login details correct?
at com.nguyenquyhy.spongediscord.commands.DefaultLoginCommand.execute(DefaultLoginCommand.java:23) [DefaultLoginCommand.class:?]
at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:179) [ChildCommandElementExecutor.class:1.10.2-2098-5.0.0-BETA-1798]
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:351) [CommandSpec.class:1.10.2-2098-5.0.0-BETA-1798]
at org.spongepowered.api.command.args.ChildCommandElementExecutor.execute(ChildCommandElementExecutor.java:179) [ChildCommandElementExecutor.class:1.10.2-2098-5.0.0-BETA-1798]
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:82) [bd.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:913) [me.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:892) [me.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [im.class:?]
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:122) [PacketUtil.class:1.10.2-2098-5.0.0-BETA-1798]
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:291) [SpongeCommandManager.class:1.10.2-2098-5.0.0-BETA-1798]
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zja000(SourceFile:39) [fl$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [fl$1.class:?]
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333) [SimpleDispatcher.class:1.10.2-2098-5.0.0-BETA-1798]
at net.minecraft.util.Util.func_181617_a(SourceFile:45) [h.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [im.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
[22:50:06] [Server thread/INFO] [STDERR]: [sx.blah.discord.Discord4J$Discord4JLogger:error:433]: at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:351)


#116

Oh what version of Discord Bridge are you using? Look like an old version. You can contact me (Hy) directly in Pixelmon’s Discord server if you want faster support :smile:.


#117

There is a message in there that you haven’t verified your Discord account email yet, check if that helps, if not, see above


#118

I resolved it with Hy on discord.
Thanks for the concern :grinning:


#119

What was the issue that was resolved?
Good practice to post it here incase others are searching :slight_smile:


#120

Ah here’s the solution for anyone who’s having a problem similar to mine.
Please refrain from drinking too much (jk) and check if you’re using the recommended version or not. In my case, I was using the 1.4.0 version, thinking it was the latest haha


#121

Continuing the discussion from :speech_balloon: Discord Bridge 2.0.0 (aka SpongeDiscord):

And progress on this?
Updated to 2.0 of Bridge.

I’m being told to check my email and password.
The details are correct.

Still on SpongeForge 1.10.2-1788 and MinecraftForge 12.18.1.2099.
Jetting out atm so no time to update those two but will when I’m back.


#122

Is there any log? 2.0.0 version has a different underlying library, so this may be a different error.