Status4Discord

A discord bot, showing the current status of your server as embed, activity and more.

1,31k

Status4Discord

Status4Discord

Status4Discord is a dynamic Discord bot for Minecraft servers that provides real-time server stats through embeds and activities. It effortlessly connects your Minecraft server to Discord, keeping your community in the loop and engaged with information ranging from TPS to player counts.

Getting started

https://github.com/LasaJoniHD/Status4DiscordMC/wiki/Setup

Commands

Minecraft

``/status4discord reload`` reload the config <br> ``/status4discord invite`` invite the discord bot <br> ``/status4discord info`` info about this plugin <br> ``/status4discord help`` all commands

Discord

``@YourDiscordBot setembed`` set the embed textchannel <br> ``@YourDiscordBot setlogs`` set the logs textchannel

Permissions

Minecraft

+ ``status4mc.admin`` Use /status4discord reload and /status4discord invite

Discord

+ Permission.ADMINISTRATOR

Config

Show config

```

_____ _____

/ ____| | | | | || | | __ (_) | |

| (___ | |_ __ | | ___| || || | | | ___ ___ ___ _ __ __| |

___ | __/ _` | __| | | / __|__ _| | | | / __|/ __/ _ | '__/ _` |

____) | || (| | || |_| __ | | | |__| | __ (| () | | | (_| |

|_____/ ____,_|__|__,_|___/ |_| |_____/|_|___/______/|_| __,_|

#

Thank you for using Status4Discord by Joni

To setup Status4Discord, please visit https://github.com/LasaJoniHD/Status4DiscordMC/wiki/Setup

_____ ___ _ _____

|/ _ | |/ / __| | |

| || () | ' <| || .` |

|_| ___/|_|____|||

#

Please paste your discord bot token here

token: ""

_ ___ _____ _____ _____ _______ __

/_ / __|| / /| / /

/ _ (__ | | | | V / | | | | V /

/_/ ____| |_| |___| _/ |___| || ||

#

Available Activities:

PLAYING, WATCHING, LISTENING, CUSTOM_STATUS, COMPETING

Available Status:

ONLINE, IDLE, DO_NOT_DISTURB, INVISIBLE, OFFLINE

You can use PlaceholderAPI if installed (only placeholders that do not require a player).

Find placeholders included in Status4Discord at https://github.com/LasaJoniHD/Status4DiscordMC/wiki/Placeholders.

activity: "PLAYING %online_players% / %max_players% Players" status-activity: "ONLINE" update-activity: 30 # in seconds

Activities for server start

server-starting-activity: "CUSTOM_STATUS Server is starting..." server-starting-status: "IDLE"

ServerIP

will replace internal Placeholder %serverip%

--------------------------------------------------------------------------------------------------------------------

'serverIP' sets the server IP shown in activity and in the embed.

If in server.properties, it will obtain the IP that the server is bound to; if not set, it will display "not set."

serverIP: "server.properties"

_ ___ ___ ___

| | / _ / __/ __|

| || () | (_ __

|_______/ ___|___/

#

If enabled, the bot will send a message when the server starts/stops in the specified logs channel.

If you don't know how to obtain the textChannelID and have admin privileges,

simply send a message in Discord in the channel like this: @MentionYourDiscordBot setlogs.

logs: enabled: true textChannelID: "" start: color: "GREEN" message: ":white_check_mark: Server stopped!" stop: color: "RED" message: ":x: Server stopped!"

___ __ __ ___ ___ ___

| __| / | _ ) __|

| || |/| | _|| |) |

|___|| ||___/___|___/

#

If enabled, the bot will send a status embed in the specified channel; this embed will be updated every few seconds.

If you don't know how to obtain the textChannelID and have admin privileges,

simply send a message in Discord in the channel like this:

@MentionYourDiscordBot setembed.

embed: enabled: true textChannelID: "" update: 15 # in seconds

online: title: "Online" color: "GREEN" # supports any java.awt.Color enum name (e.g. `RED`, `BLUE`, etc.) or a hex code (e.g. `#FF0000` for red)

timestamp: true

footer: text: "Uptime: %uptime%"

fields: - name: "Server IP" value: "%serverip%" inline: true

- name: "Player Count" value: "%online_players% / %max_players%" inline: true

- name: "RAM" value: "Used: %usedram_percentage% % (%usedram% mb / %maxram% mb)" inline: false

- name: "Uptime" value: "%uptime%" inline: true

- name: "TPS" value: "%tps%" inline: true

- name: "CPU" value: "%cpu% %" inline: true

offline: title: "Offline" color: "RED"

fields: - name: "Server IP" value: "%serverip%" inline: true

Do not touch if you don't know what this setting does

embedMessageID: "" debug: false config-version: 4

```

Examples

Activity

activity of discord bot

Status Embeds

When server is online

Online status embed

When server is offline

Offline status embed

Start/Stop Log Messages

Server Start

Server Start

Server Stop

Server Stop

ADS