You are browsing as a guest. Sign up (or log in) to start making projects!

GoldMonke

@GoldMonke

Joined May 31st, 2026

  • 9Devlogs
  • 2Projects
  • 1Ships
  • 15Votes
Open comments for this post

1h 2m 16s logged

A lot of bugfixes :error:

I fixed a lot of bugs with the :slack: bot causing unnecessary errors and other unintended things. Some of these include:

  • Retrying failed requests (this fixes the images sometimes not generating because somehow once in a while the first request to mcheads fails.)
  • Add better error handling for players. (fixes the message that should happen when trying to fetch a player that does not exist (Wifies reference!!?? /s) )
  • Now register font separately from command for more performance
  • Fix some errors in logging

Changelog

0
0
3
Open comments for this post

37m 59s logged

Added a ton of debug logging to find out WHYYYY

sometimes my bot’s command, /craftie-player will just hang and only place the generating message and not anything else.

So now I added TONS of debug logging to (hopefully) finally find out
why this happen(s/ed).
I also changed the way it puts the image to use
axios with a timeout so it can still do something if it fails.

let’s hope this will work :)

0
0
3
Open comments for this post
Reposted by @GoldMonke

51m 31s logged

Devlog 7 - I don’t even know how I didn’t find this yet

Fixed a bug where the bot gives an error if you try to fetch a java server without an srv record. It now first checks if the srvrecord.port object is there in the api request and otherwise it sets the srvPort variable to a supplied port in the command (if given, although I don’t think doing that was even necessery whatsoever)

0
1
4
Open comments for this post

51m 31s logged

Devlog 7 - I don’t even know how I didn’t find this yet

Fixed a bug where the bot gives an error if you try to fetch a java server without an srv record. It now first checks if the srvrecord.port object is there in the api request and otherwise it sets the srvPort variable to a supplied port in the command (if given, although I don’t think doing that was even necessery whatsoever)

0
1
4
Ship

I made a slackbot that displays info on a minecraft server or player and puts that into a nice image or slack block. I had some struggles with creating and sending the image but it was overall a pretty easy project. To test this project you should know you can best use the channels #monke-coding or #bot-spam because otherwise you need to add the bot first to the channel for the image sending to work.

Try project → See source code →
Open comments for this post

41m 23s logged

Devlog 6

I now made a little fix to the player command to display the correct username and it now shows a full body image. I also wrote a README for the GitHub repo of the bot so it’s easier to understand how the bot works and how to use it.

0
0
4
Open comments for this post

2h 49m 16s logged

Good Bots Need Good Styling

I made a lot of QoL additions to the bot to make using it more pleasant. To start I added a pfp to the bot so it’s more recognizable, which as of right now is just a pixelated (minecraft) version of my pfp but I want to change it later if I got more time.
I also added the command /craftie-player <Name|UUID> where you can get information on players like their uuid and username (although you should already know one of them by using the command) with a nice profile-card like image generated with the canvas library.

It also shows the player head, and I want to later add buttons or something like that below to download the skins. I also want to add stuff like account creation name and maybe last three usernames to the image.

That’s it for this devlog and maybe I’ll see you in the next one :)

0
0
1
Open comments for this post

1h 12m 31s logged

Better Bedrock Support & SRV ports

I changed a lot of the code now to use a java server’s SRV port if it’s defined, so now the server icon’s display right if you don’t define a port. I also made servers without an icon (due to an error or it being a bedrock server) display the default server icon (pack.png in BW).

I also started making a new command, /craftie-player which will look up player info like their UUID and skin.

0
0
1
Open comments for this post

52m 33s logged

Statuses look good now!

I updated the status command to use a slack block kit instead of plain text so now it looks much cleaner. This also allows me to implement more features later like maybe a reload button.

I also fixed a bug causing the bot to freak out if the server being queried was offline because soms data wouldn’t be available then and I was requesting it at the wrong time. Now it just displays “Unavailable” for those stats.:stardance_star:

0
0
1
Open comments for this post

44m 16s logged

I finally made the first few commands for the bot!

Two commands were from the tutorial (ping and help) and one “from scratch” (of course with help from the tutorial).

  • /craftie-help - tells you all the commands
  • /craftie-ping - tells you the ping between the bot and slack
  • /craftie-status - tells you the status for a server.

It is now just saying “Server Online” if the response.online == true and “Server Offline” if false. Next I want to implement custom parameters so you can select what server you want to check the status for. Then I also want to make the status message look nicer.

0
0
2

Followers

Loading…