/server-status-bot

Shows the current player count from a Minecraft server as a status on a Discord bot

Primary LanguageJavaScript

server-status-bot

Shows the current player count from a Minecraft server as a status on a Discord bot

Example

Example

Requirements

Instructions

  • Clone this repo
  • Run npm install
  • Rename .env.example to .env
  • Edit .env and add the following details:
    • DISCORD_TOKEN is the token for your bot
    • SERVER_ADDRESS is the address of your Minecraft server
  • Run node index.js

Your bot's status will begin to update every 10 seconds to show how many players are online.