Discord German Translation too long
SonnenPingu opened this issue · 0 comments
Type of bug
Error in console
/ess dump all
output
https://essentialsx.net/dump.html?id=fad24a6d09b34e2aa4c1524f59f5acd1
Error log (if applicable)
No response
Bug description
StartUP error Bot use with German translation is not possible.
Bot use not possible with German translation.
Quick fix from the Discord of Mdcef. THANK YOU for that.
In the meantime, you could also add a custom messages_de.properties
file and change the message
The default is discordCommandLinkDescription=Verwende Code vom /link Befehl in Minecraft und dein Discord Konto mit deinem Minecraft Konto zu verknüpfen
.
You can create an empty plugin/Essentials/messages_de.properties
, paste that in and edit the message to something shorter
Excerpt from the log.
[22:31:53] [Server thread/WARN]: [Essentials] Task #29 for Essentials v2.20.0-dev+56-fd49b70 generated an exception
java.lang.IllegalArgumentException: Description may not be longer than 100 characters! Provided: "Verwende Code vom /link Befehl in Minecraft und dein Discord Konto mit deinem Minecraft Konto zu verknüpfen"
at net.essentialsx.dep.net.dv8tion.jda.internal.utils.Checks.check(Checks.java:55) ~[EssentialsXDiscord-2.20.0-dev+56-fd49b70.jar:?]
at net.essentialsx.dep.net.dv8tion.jda.internal.utils.Checks.notLonger(Checks.java:161) ~[EssentialsXDiscord-2.20.0-dev+56-fd49b70.jar:?]
at net.essentialsx.dep.net.dv8tion.jda.api.interactions.commands.build.BaseCommand.(BaseCommand.java:39) ~[EssentialsXDiscord-2.20.0-dev+56-fd49b70.jar:?]
at net.essentialsx.dep.net.dv8tion.jda.api.interactions.commands.build.CommandData.(CommandData.java:58) ~[EssentialsXDiscord-2.20.0-dev+56-fd49b70.jar:?]
at net.essentialsx.discord.interactions.InteractionControllerImpl.processBatchRegistration(InteractionControllerImpl.java:77) ~[EssentialsXDiscord-2.20.0-dev+56-fd49b70.jar:?]
at net.essentialsx.discord.EssentialsDiscord.lambda$onEnable$0(EssentialsDiscord.java:60) ~[EssentialsXDiscord-2.20.0-dev+56-fd49b70.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.4.jar:git-Paper-510]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.4.jar:git-Paper-510]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1115) ~[paper-1.19.4.jar:git-Paper-510]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-510]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Steps to reproduce
Start the server with German translation.
Bot does not work if you have set essentialsx to german.
Expected behaviour
In English, functions such as /execute and /link /msg work.
Actual behaviour
On german the entire bot commands does not work.