Zqil's Discord Status 图标

Zqil's Discord Status

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/zqils-discord-status
资源信息

Minecraft 版本: 1.21.6

平台: fabric

标签: management social utility

资源介绍

An over-engineered Discord status bot for your Minecraft server.

Note: It's server-side only.

exampleimage

Features:

  • Obsessively Configurable: Almost every piece of text and styling in the Discord embed can be changed in the config file.

  • Real-Time Updates: The status message updates automatically when players join or leave.

  • Dynamic Bot Activity: The bot's "Playing" status can show the current player count, with custom messages for when the server is empty or full.

  • Data-Rich Fields: Optionally display TPS, server uptime, IP address, and a clean, formatted list of online players.

  • Smart & Reliable:

    • If the status message is accidentally deleted, the bot will automatically create a new one.

    • Includes connection retries in case Discord has a momentary hiccup during server startup.

    • Survives a Ctrl+C, making sure to send a status update as its last breath. WILL NOT SURVIVE A TERMINAL CLOSE!

  • Easy Management: A simple in-game command (/discordstatus update) lets you reload the config on the fly without restarting the server.

  • Server Icon Support: Automatically use your server-icon.png as the thumbnail for the embed.

Setup Guide:

  1. Create a Discord Bot: Go to the Discord Developer Portal, create a new Application, and add a Bot to it. You'll need its Token.

  2. Invite Your Bot: In the "OAuth2" -> "URL Generator" section, select the bot scope, then grant it Send Messages, Manage Messages, and Read Message History permissions. Copy the generated URL and use it to invite the bot to your server.

  3. Get Your Channel ID: Right-click the channel where you want the status message to live and click "Copy Channel ID". (You may need to enable Developer Mode in your Discord settings).

  4. Install & Configure:

    • Drop the mod's .jar file into your server's mods folder.
    • Start the server once to generate the default config file. It will print an error and stop, which is normal.
    • Open config/discord_status/discord_status.json.
    • Paste your Bot Token and Channel ID into the botToken and channelId fields.
    • Restart the server. The bot will connect and post its first message!
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
ChromaAnvils

价格:0 墨喵币
下载量:0

查看详情
Elytra Totem Swapper

价格:0 墨喵币
下载量:0

查看详情
Visible Coords

价格:0 墨喵币
下载量:0

查看详情
PlayerList

价格:0 墨喵币
下载量:0

查看详情