Patbox / BanHammer

Simple punishment utility for Fabric
GNU Lesser General Public License v3.0
12 stars 3 forks source link

I keep getting this log in my server logs #23

Closed Imzxhir closed 1 year ago

Imzxhir commented 1 year ago

I keep getting this in my server log and I'm not sure what it means or how to fix / prevent it:

[STDERR]: java.lang.IllegalArgumentException: Failed to parse webhook URL [17:47:58] [Server thread/INFO]: [STDERR]: at club.minnced.discord.webhook.WebhookClientBuilder.(WebhookClientBuilder.java:91) [17:47:58] [Server thread/INFO]: [STDERR]: at eu.pb4.banhammer.impl.config.Config.(Config.java:112) [17:47:58] [Server thread/INFO]: [STDERR]: at eu.pb4.banhammer.impl.config.ConfigManager.loadConfig(ConfigManager.java:47) [17:47:58] [Server thread/INFO]: [STDERR]: at eu.pb4.banhammer.impl.BanHammerImpl.onServerStarting(BanHammerImpl.java:231) [17:47:58] [Server thread/INFO]: [STDERR]: at net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.lambda$static$0(ServerLifecycleEvents.java:38) [17:47:58] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.handler$zla000$beforeSetupServer(MinecraftServer.java:4796) [17:47:58] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:636) [17:47:58] [Server thread/INFO]: [STDERR]: at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:257) [17:47:58] [Server thread/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Thread.java:833)

Patbox commented 1 year ago

Your webhook url is invalid

Imzxhir commented 1 year ago

What does that mean? Is it in the config?

Patbox commented 1 year ago

Yes, through it sounds like you didn't set it?

Imzxhir commented 1 year ago

Is it this? image

Patbox commented 1 year ago

Yep, remove the ""

Imzxhir commented 1 year ago

Yep, remove the ""

This worked! Thank You