erdbeerbaerlp / discordintegration-forge Goto Github PK
View Code? Open in Web Editor NEWForge version of the Discord Integration mod
Home Page: https://modrinth.com/plugin/dcintegration
License: MIT License
Forge version of the Discord Integration mod
Home Page: https://modrinth.com/plugin/dcintegration
License: MIT License
What happened?
What should happen?
Steps to reproduce
Version
Mod version 1.1.14
Config file
Crash report if available (use https://paste.dimdev.org)
Additional info
What you want to be added?
/save-all, to allow people to save the world from discord
/time set, to allow people who have admin to set day and night
/ban, to allow admin role to ban people in server
Hello,
our discord server has a log system that logs every change in channels.
What happends here that the discord integration updates every 1-2 seconds, that causes our log system to be rate limited by Discord.
I think it would be nicer to have %hours% %minutes% and %seconds%
Kind regards :)
What happened?
Steps to reproduce
Mod version 1.1.13
newest to oldest
16.03 16:11:19 [Server] JDA MainWS-WriteThread/INFO [STDERR]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [JDA MainWS-WriteThread] INFO WebSocketClient - Connected to WebSocket
16.03 16:11:17 [Server] JDA MainWS-WriteThread/INFO [STDERR]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [JDA MainWS-WriteThread] WARN WebSocketClient - Got disconnected from WebSocket. Appending to reconnect queue
16.03 16:11:17 [Server] JDA MainWS-WriteThread/INFO [STDERR]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [JDA MainWS-WriteThread] ERROR WebSocketClient - Encountered IDENTIFY Rate Limit! Waiting 54 milliseconds before trying again!
16.03 16:11:12 [Server] JDA MainWS-ReadThread/INFO [STDERR]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [JDA MainWS-ReadThread] INFO WebSocketClient - Connected to WebSocket
16.03 16:11:11 [Server] Server thread/INFO [STDERR]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [Server thread] INFO JDA - Login Successful!
16.03 16:10:58 [Server] Server thread/INFO [STDERR]: [dcshadow.slf4j.helpers.Util:report:128]: SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details.
16.03 16:10:58 [Server] Server thread/INFO [STDERR]: [dcshadow.slf4j.helpers.Util:report:128]: SLF4J: Defaulting to no-operation MDCAdapter implementation.
16.03 16:10:58 [Server] Server thread/INFO [STDERR]: [dcshadow.slf4j.helpers.Util:report:128]: SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
16.03 16:10:54 [Server] Server thread/INFO [STDERR]: [dcshadow.slf4j.helpers.Util:report:128]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
16.03 16:10:54 [Server] Server thread/INFO [STDERR]: [dcshadow.slf4j.helpers.Util:report:128]: SLF4J: Defaulting to no-operation (NOP) logger implementation
16.03 16:10:54 [Server] Server thread/INFO [STDERR]: [dcshadow.slf4j.helpers.Util:report:128]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
16.03 16:10:54 [Server] Server thread/INFO [STDOUT]: [de.erdbeerbaerlp.dcintegration.DiscordIntegration:preInit:409]: Loading mod
Due to messages I have on my server meant for asking players to donate to keep it aloft, I would like an option to turn it off, so my discord is not flooded with messages for donations.
What happened?
Constant spam in logs:
OkHttp https://discordapp.com/.../INFO] [STDERR]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [OkHttp https://discordapp.com/...] WARN RateLimiter - Encountered 429 on route /channels/########
What should happen?
Not having the logs spammed to death
Steps to reproduce
Mod version
dcintegration-1.1.5-1.12
The logfile was bigger than the world save after only about a day. Not lookin' good.
Moved from the previous unsupported discord integration to this one, and one of the big features I liked was the commands functionality - where you could enter your own commands to be ran. Is this possible already within the cfg?
Error while shutting down the server using the stop
command potentially causing unclean shutdowns:
[05:35:19] [Server Shutdown Thread/ERROR] [FML]: Exception caught during firing event net.minecraftforge.fml.common.gameevent.PlayerEvent$PlayerLoggedOutEvent@136a5986:
java.lang.NullPointerException: FTBLib Universe == null!
at com.feed_the_beast.ftblib.lib.data.Universe.get(Universe.java:108) ~[Universe.class:?]
at de.erdbeerbaerlp.dcintegration.DiscordIntegration.formatPlayerName(DiscordIntegration.java:134) ~[DiscordIntegration.class:?]
at de.erdbeerbaerlp.dcintegration.DiscordIntegration.playerLeave(DiscordIntegration.java:326) ~[DiscordIntegration.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_650_DiscordIntegration_playerLeave_PlayerLoggedOutEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.firePlayerLoggedOut(FMLCommonHandler.java:580) [FMLCommonHandler.class:?]
at net.minecraft.server.management.PlayerList.playerLoggedOut(PlayerList.java:388) [pl.class:?]
at net.minecraft.network.NetHandlerPlayServer.onDisconnect(NetHandlerPlayServer.java:853) [pa.class:?]
at net.minecraft.network.NetworkManager.handleDisconnection(NetworkManager.java:453) [gw.class:?]
at net.minecraft.network.NetHandlerPlayServer$2.run(NetHandlerPlayServer.java:291) [pa$2.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]
at net.minecraft.server.MinecraftServer.callFromMainThread(MinecraftServer.java:1383) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.addScheduledTask(MinecraftServer.java:1395) [MinecraftServer.class:?]
at net.minecraft.network.NetHandlerPlayServer.disconnect(NetHandlerPlayServer.java:287) [pa.class:?]
at net.minecraft.server.management.PlayerList.removeAllPlayers(PlayerList.java:1084) [pl.class:?]
at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:431) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$4.run(MinecraftServer.java:1579) [MinecraftServer$4.class:?]
This happens when someone (or multiple people) are still on the server while it is shutting down.
I've been looking for a discord chat mod to link my modpacks together. However, yours is the only one that even remotely works in 1.12. I attempted to utilize the mod, have my discord set up and ready and everything, but the mod fails to load in Single Player. I checked my logs and found it gets disabled completely. Maybe don't do this and have it not work till LAN is opened?
What happened?
When the server has been running for a while the mod starts spamming the console with this message:
[31mrt2020 21:39:08.418] [OkHttp https://discordapp.com/.../INFO] [STDERR/]: [net.dv8tion.jda.internal.utils.SimpleLogger:write:277]: [OkHttp https://discordapp.com/...] WARN RateLimiter - Encountered 429 on route /channels/688576384859504655
I'm not sure it that is this is a problem with the mod or with discord but I thought I would post it here anyway.
What should happen?
Not spamming the console
Steps to reproduce
Version
Config file
Hespin2K
I just noticed that if I remove DI everything works, if I remove FTB everything works too. But not together. The logs took off. It is at this point that the server loads endlessly
https://paste.gg/p/anonymous/6640df1907704fa69b5eb1904d1b99e4
I am unable to reproduce this, can you send me the config file? Also which mod versions are you using (both ftb)?
What happened?
-Since updating to DCIntegration 1.1.8-1.14, messages relayed from Discord to Minecraft now appear as "%player% " rather than the usual player name.
What should happen?
-Presumably the token should be replace with the player's name.
Steps to reproduce
Mod version 1.1.8
https://paste.dimdev.org/coyayuwako.mccrash
This happens on startup very early on. I was trying to do a initial run so that the mod creates the configuration ... but it fails to do so.
What happened?
-Crash on startup
What should happen?
-Plugin should start
Steps to reproduce
Version
Paperspigot 1.15.2 This server is running Paper version git-Paper-105 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
Mod version Feb 12, 2020
Crash report if available (use https://paste.dimdev.org)
[16:39:03 ERROR]: Could not load 'plugins/dcintegration-1.1.14-1.15.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:159) ~[patched_1.15.2.jar:git-Paper-105]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:147) ~[patched_1.15.2.jar:git-Paper-105]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:358) ~[patched_1.15.2.jar:git-Paper-105]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:234) ~[patched_1.15.2.jar:git-Paper-105]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:885) ~[patched_1.15.2.jar:git-Paper-105]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 6 more
Additional info
What you want to be added?
I'd like to allow those who have the ADMIN_ROLE to be able to directly execute on the Server console. This is so I can easily give people remote access to the console for supporting my community where needed.
I know the CurseForge said 1.12.x would no longer receive feature updates, but it would be really appreciated if you could push this to it.
Having a license file would be cool! MIT, Apache 2.0, etc...
Github can even add it for you: https://stackoverflow.com/questions/31639059/how-to-add-license-to-an-existing-github-project
Mod version: DiscordIntegration-1.1.8 (MC 1.14)
What you want to be added?
Integrate something like this into the bots, can be handy and looks pretty cool
https://www.reddit.com/r/discordapp/comments/8yn9hp/i_made_a_bot_that_shows_the_live_status_of_our/
Possibly make it a final feature for 1.12.2? (:
What you want to be added?
Config entries to toggle chat messages from showing between Minecraft and discord and vice versa.
Suggested on CurseForge by Sasorito
What happened?
-joins server with forge 31.1.27
get spammed on console and gets kicked a few seconds later
What should happen?
Steps to reproduce
Version
1.15.2
Mod version 0.0.0
dcintegration-1.1.14-1.15.jar
I recommend adding a way for other mods to send messages to discord, for example Forge's IMC feature.
That way, other mods like BetterQuesting could send their own achievements to Discord, or server management mods could send notifications.
Hi!
This is more so a suggestion rather than an issue.
I would recommend making it so when a discord message is sent and is shown in game the person that sent the messages name is colour coded to their role's colour.
No crash report is generated
https://pste.eu/p/aXvm.html
I didn't fill out the form because it's pretty clear what's going on here: on the latest stable version for Minecraft 1.12.2 (so, version 1.1.5), the bot doesn't check that the channel description actually needs to be edited - it just tries to edit it immediately.
This causes issues with Discord on Android at the moment - if you're trying to edit a message, the cursor will jump back to the end of the message every time the channel description is updated, whether the actual text has changed or not.
The solution is to check the channel description before attempting to edit it - and don't try to edit it if it wouldn't have changed.
This is technically a Discord bug, but it's impossible to submit bug reports at the moment - they've decided to lock all of the bug reporting channels until the 5th of January or so. Still, this should be an easy fix for you!
The mod starts up and after you see your server is up, you can interact with it in Discord. However, it doesn't announce that it is starting in Discord.
It works perfectly in 1.14.4 tho.
I set up '?' as my command prefix, but on the usage of any command, an error is instead thrown by the server:
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:write:277]: [JDA MainWS-ReadThread] ERROR JDA - One of the EventListeners had an uncaught exception
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 0
?
^
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at java.util.regex.Pattern.error(Pattern.java:1957)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at java.util.regex.Pattern.sequence(Pattern.java:2125)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at java.util.regex.Pattern.expr(Pattern.java:1998)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at java.util.regex.Pattern.compile(Pattern.java:1698)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at java.util.regex.Pattern.<init>(Pattern.java:1351)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at java.util.regex.Pattern.compile(Pattern.java:1028)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at java.lang.String.replaceFirst(String.java:2178)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at de.erdbeerbaerlp.dcintegration.Discord.onEvent(Discord.java:326)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at net.dv8tion.jda.core.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:84)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at net.dv8tion.jda.core.handle.MessageCreateHandler.handleInternally(MessageCreateHandler.java:128)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at net.dv8tion.jda.core.handle.SocketHandler.handle(SocketHandler.java:37)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at net.dv8tion.jda.core.requests.WebSocketClient.onDispatch(WebSocketClient.java:868)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at net.dv8tion.jda.core.requests.WebSocketClient.onEvent(WebSocketClient.java:766)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at net.dv8tion.jda.core.requests.WebSocketClient.handleEvent(WebSocketClient.java:745)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at net.dv8tion.jda.core.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:903)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at dcshadow.com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:368)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at dcshadow.com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:270)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at dcshadow.com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:990)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at dcshadow.com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:749)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at dcshadow.com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at dcshadow.com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
[20:30:55] [JDA MainWS-ReadThread/INFO] [STDERR]: [net.dv8tion.jda.core.utils.SimpleLogger:log:272]: at dcshadow.com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)
Forge is 1.12.2-14.23.5.2836
Mod version is 1.0.9
I have a few suggestions related to the title:
Again thanks for this great mod and your hard work!
What you want to be added?
Hi! I have another suggestion (Sorry for all the suggestions!) a command such as /ignore for players to use ingame or /dcdisable to not get relayed messages from the Discord if they wanted to disable it as some players may not like the spam if it is a heavily populated or talkative server such as mine.
I've had quite a few players request this.
As the title says (:
Is there any possibility of you adding a way of it allowing people to see peoples Ranks, Prefixes (That are added via ranks) and Nicknames set via /nick. Via Discord and Vice Versa if multiple bots are in one chat to enable Network Wide chat intergration?
Many thanks, you have made an amazing mod, thank you!
What happened?
What should happen?
Steps to reproduce
Versions
Server Crash report
Additional info
What happened?
Server crashes when a player leaves.
What should happen?
Server should not crash when a player leaves.
Steps to reproduce
Install mod, join server, leave server, observe crash.
Version
Minecraft: 1.15.1
Mod version 1.1.11
Forge version: 30.0.36
Crash report if available (use https://paste.dimdev.org)
https://gist.github.com/Fenrirthviti/d477ff1c338cae788663f967d01cb405
What happened?
What should happen?
Steps to reproduce
Version
Mod version - dcintegration-1.1.10-1.12
Additional info
Config - https://gist.github.com/Osprey4444/8dc1b9e7169aee0fdeb7168876b045ea
Discord Screenshot - https://i.imgur.com/pYWCXdv.png
It looks like if you command shutdown through signals (such as happens when docker closes the instance), the JDA shutdown hook kills the instance before the server itself.
You should register JDA not to use the shutdown hook, but rather, shutdown JDA during the server halt event. This way there won't be error spam during shutdown.
[27Oct2019 16:11:55.638] [Server thread/ERROR] [net.minecraftforge.eventbus.EventBus/EVENTBUS]: Exception caught during firing event: java.lang.IllegalStateException: The Requester has been shutdown! No new requests can be requested!
Index: 8
Listeners:
0: NORMAL
1: ASM: everlastingabilities onServerStopping(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
2: ASM: sampler.FmlMod@69853bb1 a(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
3: ASM: flopper onServerStopping(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
4: ASM: commoncapabilities onServerStopping(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
5: ASM: ovh.corail.tombstone.ModTombstone@572f3180 onServerStoppingEvent(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
6: ASM: class com.simibubi.create.Events onClose(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
7: net.minecraftforge.eventbus.EventBus$$Lambda$2462/1565568596@4327d9e
8: ASM: de.erdbeerbaerlp.dcintegration.DiscordIntegration@292b5d61 serverStopping(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
9: ASM: energeticsheep onServerStopping(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
10: ASM: structuredcrafting onServerStopping(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
11: ASM: cyclopscore onServerStopping(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
12: ASM: colossalchests onServerStopping(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
13: ASM: capabilityproxy onServerStopping(Lnet/minecraftforge/fml/event/server/FMLServerStoppingEvent;)V
java.lang.RuntimeException: java.lang.IllegalStateException: The Requester has been shutdown! No new requests can be requested!
at net.dv8tion.jda.core.requests.RestAction.complete(RestAction.java:446)
at net.dv8tion.jda.core.requests.RestAction.complete(RestAction.java:399)
at de.erdbeerbaerlp.dcintegration.Discord.getWebhook(Discord.java:449)
at de.erdbeerbaerlp.dcintegration.DiscordIntegration.serverStopping(DiscordIntegration.java:329)
at net.minecraftforge.eventbus.ASMEventHandler_140_DiscordIntegration_serverStopping_FMLServerStoppingEvent.invoke(.dynamic)
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
at net.minecraftforge.fml.server.ServerLifecycleHooks.handleServerStopping(ServerLifecycleHooks.java:101)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:631)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: The Requester has been shutdown! No new requests can be requested!
at net.dv8tion.jda.core.requests.Requester.request(Requester.java:106)
at net.dv8tion.jda.core.requests.RestFuture.<init>(RestFuture.java:36)
at net.dv8tion.jda.core.requests.RestAction.submit(RestAction.java:380)
at net.dv8tion.jda.core.requests.RestAction.complete(RestAction.java:432)
... 9 more
It looks like there is an option to tell JDA not to register a shutdown hook..
What happened?
Discord was having issues so the messages could take a while to get through. The server hanged every time that a message was send to discord (chat/advancement etc)
What should happen?
The server shouldnt have to wait for the message to arrive at Discord's end, and should not hang waiting.
Steps to reproduce
Have discord laggy and say something in minecraft chat
Version
Mod version 1.1.5
Hi! Small issue I found. The config says this:
# This is what will be displayed ingame when someone types into the bot´s channel
# PLACEHOLDERS:
# %name% - The username
# %id% - The user ID
# %msg% - The Message
S:INGAME_DISCORD_MSG=§6[§5DISCORD§6]§r <%user%> %msg%
Currently, it prints the discord username instead of the nickname, which I was hoping to change. I thought perhaps changing it to <%name%>
would do the trick, but it turns out that's not actually a proper variable, and it just prints to chat as <%name%>
. So you may want to change the placeholders.
Also, if it's possible, I'd really like to have the name print as their Discord server nickname, as most of us know each other by name and not by xXpro_reapsXx :P
Also, since I see you have a lot of FTB Utilities support, would it be possible to have the name printed to Discord be someone's FTBU /nick
set name, instead of their Minecraft username? It's not as important, but it'd be a nice feature.
Thanks for your time, sorry for making two issues in such quick succession!
Every time the server gets either manually stopped or scheduled restart runs through the server crashes.
https://pastebin.com/RgWMgW6r
I thought that was the bot just saying oh it crashed but I noticed a bunch of the same crash reports.
What happened?
Downloaded last version for 1.12.2 and there were some errors in loading server and after the the server finished loading, nothing happened about bot on discord. Though I must say that config file was actually created
What should happen?
well, you know
Steps to reproduce
Mod version 1.12
**Crash report if available **
https://paste.dimdev.org/oxaqibolaw.rb
I have 2 servers setup one is 1.12.2 and one is 1.14.4 everything is setup perfectly and messages and can sent from both servers to discord and discord messages to the servers. the issue seems to be when a player from the 1.12.2 server says something the person on the 1.14.4 server does not see the message. only on discord they see it. I'm guessing its cause the messages show up as bot messages on discord and the mod ignores these messeges since it would create an infinite loop of some sort I would presume. I was wondering if there is some sort of work around to get these 2 servers to be able to talk to each other.
Example of what im talking about:
player on 1.12.2 server: HI
discord bot: HI
player on 1.14.4 server receives no response from the player on the 1.12.2 server just on the discord app itself.
person replying on discord: Hello
both servers: Hello
What happened?
What should happen?
Mod version: 1.1.8-1.14
Information:
Right now when i have %user% for "msgChatMessage =" it shows up normally from Discord Chat to MC, like this: "[GYAZO]"| But if I have %user% it won't work from MC to Discord. Then it'll show up like this: [GYAZO] And if i swap them around its the same thing. Only one way works. Sorry if i explained this poorly.
Hi,
I have a suggestion, allowing commands to be used in a different channel which can be defined within the config, this would be useful for servers which use one dedicated channel to sync multiple server chats as !list would spam the chat giving players on the servers a spammed chat.
Add a command to refresh the config and possibly the discord connection.
This is useful if you change any part of the discordintegration config like adding a new command or a bot setting.
I cannot get admin commands working. Everything else seems to be working just fine.
Steps to reproduce
Set up Admin commands:
not 100% sure how to add the UUID as it is now a json and needs a name.
Version
Minecraft: 1.15.1
forge: 30.0.41
dcintegration-1.1.12-1.15
Config file (without bot token): https://pastebin.com/LkDYsf6w
latest.log: https://pastebin.com/M3tfCQn2
debug.log: https://pastebin.com/ECyy7iLk
I was on DigitalJesuit, a famous public server and noticed a interesting feature: the ability to "link/verify" Discord accounts (members of the server's guild) with Minecraft player names, and it allows a discord-based whitelist to be setup. If i'm not mistaken, only players with verified accounts on the Discord guild can join the server.
I think the plugin they are using is this one or this one for Spigot.
So, can this system be added to dcintegration as well? Thanks in advance!
What happened?
Channel's topic doesn't update after 2 hours server uptime.
What should happen?
It's should be work fine I guess.
Steps to reproduce
Versions
Minecraft version 1.15.2
Forge version 31.1.0
Mod version 1.1.13
Crash report if available
Additional info
What happened?
https://cdn.discordapp.com/attachments/684977927732854785/692866169501384724/unknown.png
Despite using a valid command, bot is saying the command is unknown
What should happen?
Bot executes the command as expected
Steps to reproduce
See "What Happened"
Version
1.12.2
Mod version 1.1.13
Hi! I recently swapped from Chikachi's discord integration mod to yours. I'm super excited about the custom commands feature, but there are some things that the other mod did that I kind of miss.
Mostly, the fact that /say
and /me
were broadcast to the server. Interestingly, it does print the say command when I do it in the server console. But when the worldprimer mod executes it, it doesn't. I do not have anything blacklisted in the config. In Chikachi, I think this was covered under the "ignoreFakePlayerChat" boolean.
The /me
command doesn't seem to work under any circumstances.
Also, the ability to ping Discord users from ingame. That one is pretty minor, we didn't use it a whole lot. But it'd be nice to have.
And the last thing, which is incredibly minor, is the fact that you could use /online
or /list
to get a list of online people. I can, of course, get used to the new one eventually, but I figured I'd bring it up just in case.
Anyway, thanks for the excellent mod! And also thank you for your time :)
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.