BA
Baggette/minecraft-server-ping-example
minecraft-server-ping-example
this was inspired by this gist
do not use this gist, it is outdated and no longer works.
I noticed alot of people were having issues creating a command to ping a minecraft server, and I had the same issues, so I made this template.
Running the bot
- first git clone or download a zip of this repo
(you need git and nodejs to run the bot) - run npm i
- edit index.js to your liking (server ip, embed, activity status... etc)
- make sure to place your bot token in the last line of the script where client.login() is
- them run node . or node index.js
- profit, you should be all set!!
Issues
if you have any issues or ideas to make the template better feel free to drop a pr or issue!