Recent Discussions
[HELP] Custom Minecraft Plugin
Open in DiscordUnanswered
Costa's Hummingbird posted this in #questions
35 messages
0 views
Costa's HummingbirdOP
Hi! I used ChatGPT to help me make a Minecraft plugin that lets my Discord bot send commands to my server via HTTP POST. The plugin receives the request and logs all steps, but the client (Discord or curl) gets RemoteDisconnected and no response is returned. I’m not a programmer, so I’m not sure what’s wrong.
The plugin uses HttpServer, Gson, and Paper 1.21.4. I’ve tried flushing, closing, try-with-resources, etc. Still nothing.
Can someone help me figure out why the plugin doesn't send the response back?
Happy to share code or .jar — thanks so much!
Repo: https://github.com/LeivurGargiulo/NyttLandBridge
Let me know if anything else - files or info -are needed!
The plugin uses HttpServer, Gson, and Paper 1.21.4. I’ve tried flushing, closing, try-with-resources, etc. Still nothing.
Can someone help me figure out why the plugin doesn't send the response back?
Happy to share code or .jar — thanks so much!
Repo: https://github.com/LeivurGargiulo/NyttLandBridge
Let me know if anything else - files or info -are needed!
Stop using GPT
Really
Stop
You clearly have no idea what you're doing here and that is not helpful at all
Learn how to use Git
Learn how to write Java
Actually learn what you're doing
Costa's HummingbirdOP
I understand what you mean. Sadly, I have too much on my hands and head right now and was just looking for a quick solution to what I needed. But I understand.
In order for someone else to help you, as I completely am against this behaviour, actually share the code
Costa's HummingbirdOP
I did upload the .jar in the repo - is that enough?
Costa's HummingbirdOP
I understand I must upload the source code? The java file, correct?
You have to upload the entire project directly
But it's not drag and drop
Costa's HummingbirdOP
I have to upload it using Git, correct?
Yes
Costa's HummingbirdOP
Will do
feels like the purpose of github was passed through a telephone game
do people use github as like
MEGA or google drive for program-y things
is that what happened above
sometimes
wow
Costa's HummingbirdOP
I'm sorry - I personally think it is a bit mean to make fun of someone just for not knowing how something works.
I was also permanently banned from the subreddit for this matter - which I personally find as an overmeasure
Loading...
Loading...