-
-
Save vegeta897/e4410669c921c2ab7635e1d0153b0bc6 to your computer and use it in GitHub Desktop.
/* | |
############################################################################## | |
# # | |
# Sorry, this script is outdated and I can't justify maintaining it anymore. # | |
# # | |
# If you want to view the last version, it's archived here: # | |
# https://gist.github.com/vegeta897/e3d2fcd4b661bd9d021c397e7505be05 # | |
# # | |
# If you want to see a newer one that is similar, look here: # | |
# https://github.com/Baggette/minecraft-server-ping-example # | |
# # | |
############################################################################## | |
*/ |
i need help so i put the tokan and invited it to the server and when i run with visual studio code the bot just dosnt turn on pls help asap
Hello @PurusWorldYT, are you using the console in Visual Studio Code to run node bot.js
or whatever you named the script file? If so, does it show any errors after running that?
How do I make the bots precense change to say the amount of ppl online?
How can i make it do this for multiple mc servers and also autoupdate like every 5 mins
how to run
how to run
node mc-status-bot.js
can i use it somehow to see who is playing?
@mroowak you can modify the script to use util.queryFull
on line 48 and adjust the message to include the player list. See the docs for more info on that function: https://passthemayo.gitbook.io/minecraft-server-util/api/query#queryfull
Can you update your script to discord.js@13?
Can you update your script to discord.js@13?
Hi @Timong-craft, I appreciate the interest but I think it's time for me to archive this script. I just can't justify maintaining it any longer. If I was a user of discord.js and didn't have to research what changed in version 13 and test everything out I'd be more inclined, but at this point I feel this is one thing I need to let go. Sorry, and I hope you find another solution without much trouble!
Hello, it seems the problem is that you inserted a space at the end of your IP address (between the 7 and the end-quote). Make sure it's
'173.67.133.217'