---
title: "Discord bot that shows your Minecraft server status online | StreetHosting"
description: "Build a bot that queries your Minecraft server and shows whether it is online and how many players it has, in a channel name or the bot status, with cache."
url: "https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status"
type: "page"
language: "en-US"
---

Discord Bots · 3 min · Intermediate

Published on Jun 17, 2026 · Updated on Jun 17, 2026

# Minecraft server status bot for Discord

Showing how many players are online encourages the community to join. See how a bot queries the Minecraft server and displays the status in a voice channel, in its status or in an embed.

By [Equipe StreetHosting](https://streethosting.com.br/en/autores#equipe-streethosting) · StreetHosting infrastructure and support team

[Monitoring and alerts](https://streethosting.com.br/en/guides/topics/monitoring)

Summarize with:

[](https://chat.openai.com/?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fdiscord-bots%2Fdiscord-bot-minecraft-server-status.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "ChatGPT") [](https://claude.ai/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fdiscord-bots%2Fdiscord-bot-minecraft-server-status.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Claude") [](https://www.google.com/search?udm=50&aep=11&q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fdiscord-bots%2Fdiscord-bot-minecraft-server-status.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Google AI Mode") [](https://x.com/i/grok?text=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fdiscord-bots%2Fdiscord-bot-minecraft-server-status.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Grok") [](https://www.perplexity.ai/search/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fdiscord-bots%2Fdiscord-bot-minecraft-server-status.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Perplexity")

Share:

[](https://x.com/intent/tweet?text=Discord%20bot%20that%20shows%20your%20Minecraft%20server%20status%20online&url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fdiscord-bots%2Fdiscord-bot-minecraft-server-status "Share on X") [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fdiscord-bots%2Fdiscord-bot-minecraft-server-status "Share on Facebook") [](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fdiscord-bots%2Fdiscord-bot-minecraft-server-status "Share on LinkedIn") [](https://wa.me/?text=Discord%20bot%20that%20shows%20your%20Minecraft%20server%20status%20online%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fdiscord-bots%2Fdiscord-bot-minecraft-server-status "Share on WhatsApp")

For agents: Copy as Markdown [.md](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status.md)

In this guide 5 sections

* [Why show the status](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#por-que-mostrar)
* [How to query](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#como-consultar)
* [Where to display it](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#onde-exibir)
* [Cache and limits](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#cache-e-limite)
* [Tie it into the community](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#integrar)

Quick answer

A **status bot**queries the Minecraft server, reads whether it is online and how many players it has, and shows that on Discord, in a voice channel name, in the bot's status or in a message that updates. Query at reasonable intervals and use cache so you do not overload the server or hit the Discord limit.

## Why show the status[](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#por-que-mostrar)

Seeing that people are online is an invitation to join. A bot that shows the player count creates social proof and warms up the community during peak hours. It is a perfect companion to the [chat integration with DiscordSRV](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup).

## How to query[](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#como-consultar)

The bot sends a status query to the server address and gets back whether the server is up and how many players are connected. This is the same information that appears in the game's server list. In the code, you just handle the response and store the numbers.

## Where to display it[](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#onde-exibir)

1. In a voice channel name, with the number of players.
2. In the bot's own status, as a custom activity.
3. In a pinned message that the bot updates from time to time.

The voice channel format with the player count catches the eye, but Discord limits channel renaming. Use a longer interval just for that update.

## Cache and limits[](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#cache-e-limite)

Querying the server every second and updating Discord nonstop leads to rate limiting and extra load on the game. Keep the last value in cache and update at sensible intervals.

* Queries at a reasonable interval
* Cache of the last status to reduce load
* Respect for the channel renaming limit
* Error handling for when the server is offline

## Tie it into the community[](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#integrar)

Pair the status bot with a [moderation bot](https://streethosting.com.br/en/guides/discord-bots/discord-moderation-bot-minecraft) and keep everything online with [24/7 hosting](https://streethosting.com.br/en/guides/discord-bots/discord-bot-hosting-24-7). To run the game and the bot with low latency, check out [Minecraft Pro](https://streethosting.com.br/en/minecraft-pro) and the [bot hosting plans](https://streethosting.com.br/en/bots).

In this guide

* [Why show the status](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#por-que-mostrar)
* [How to query](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#como-consultar)
* [Where to display it](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#onde-exibir)
* [Cache and limits](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#cache-e-limite)
* [Tie it into the community](https://streethosting.com.br/en/guides/discord-bots/discord-bot-minecraft-server-status#integrar)

## Frequently asked questions

How does the bot know how many players are online?

It sends a status query to the Minecraft server, which replies with whether it is online and how many players it has. The bot reads that reply and shows it on Discord. It is the same kind of query that server list sites use.

Do I need to open a port on the server?

The bot queries the server address on the game's default port or on the query port, depending on your configuration. Keep exposed only what is necessary and avoid opening extra ports without a reason.

How often should the bot query?

An interval of a few seconds or minutes is usually enough. Querying too fast overloads the server and can hit the Discord limit when updating channel names. Cache the last value.

Can I show it in the voice channel name?

Yes, and it is a popular format. The bot renames a voice channel with the player count. Keep in mind that Discord limits how often channels can be renamed, so use a longer interval in that case.

Next step

See bot plans

24/7 Discord bots with fast activation and support in Portuguese.

[See bot plans](https://streethosting.com.br/en/bots)

[See Minecraft Pro Managed hosting on Ryzen with modpacks, optimized Paper and technical support.](https://streethosting.com.br/en/minecraft-pro) [See Ryzen VPS Ryzen 9 9950X VPS in São Paulo with root access, NVMe and gamer Anti-DDoS.](https://streethosting.com.br/en/vps/ryzen)

## Related guides

[Minecraft Intermediate How to connect Discord and Minecraft with DiscordSRV DiscordSRV makes in-game chat show up on Discord and the other way around. Here is how to create the bot, link the channel and sync roles to bring your community together on both sides. 3 min Read guide](https://streethosting.com.br/en/guides/minecraft/discordsrv-minecraft-setup) [Discord bots Intermediate Discord moderation bot for a Minecraft server Discord and Minecraft share the same community. A well integrated bot ties the whitelist, punishments and uptime alerts into a single moderation workflow. 2 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-moderation-bot-minecraft) [Discord bots Beginner 24/7 Discord bot hosting in Brazil Discord bot hosting 24/7 combines a process manager with automatic restart, a token kept out of your code, logs and a server in Brazil for low latency to the API and your players. 6 min Read guide](https://streethosting.com.br/en/guides/discord-bots/discord-bot-hosting-24-7)

[← Back to the Guide Center](https://streethosting.com.br/en/guides)
