Thanks for the recent update works alot better now!
1 question, is there a way we can link /staffchat to a discord channel?
nucleus uses it to have an ingame channel just for staff, it would be nice if we could follow up on it trough discord.
Also the plugin appears to go offline after awhile, and give an error.
It happend 2 times today, heres the log when i reboot, discord not working.
16.01 16:58:10 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]
16.01 16:58:10 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_66]
16.01 16:58:10 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_66]
16.01 16:58:10 [Server] INFO at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_66]
16.01 16:58:10 [Server] INFO at de.btobastian.javacord.ImplDiscordAPI$2.call(ImplDiscordAPI.java:141) ~[ImplDiscordAPI$2.class:?]
16.01 16:58:10 [Server] INFO at de.btobastian.javacord.ImplDiscordAPI$2.call(ImplDiscordAPI.java:144) ~[ImplDiscordAPI$2.class:?]
16.01 16:58:10 [Server] INFO at de.btobastian.javacord.ImplDiscordAPI.connectBlocking(ImplDiscordAPI.java:162) ~[ImplDiscordAPI.class:?]
16.01 16:58:10 [Server] INFO java.lang.IllegalStateException: Socket closed before ready packet was received!
16.01 16:58:10 [Server] pool-8-thread-1/ERROR [discordbridge]: Cannot connect to Discord!
I am having some trouble getting this plugin to work. Every time I try to use the /discord broadcast command it says “You have to set up a bot token first!” when I have already done so, and the token works on spigot versions of discord plugins.
any idea why i get this sometimes? Channel ID 214965366596567041 cannot be found! Please make sure the channel ID is correct and the bot has read & write permission for the channel.
The channel exists and the bot writes in the channel and reads form the channel into the game so it works, but in console i keep getting this message, also the bot has read/write permissions.
@nguyenquyhy That bot works fine, it posts text from server to discord and from discord to server.
Also there is no real log or errors. But here’s an example.
I don’t know how, but my server crashed a few times the other day and after all of that crashing it finally started working completely fine. No idea how cause I didn’t change the config since posting here.