Lan’s Easy Discord: Bridge+ 图标

Lan’s Easy Discord: Bridge+

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21.11

平台: fabric

标签: management technology utility

资源介绍

Requirements

  • Fabric Loader 0.15.0+
  • Fabric API

Planned Features

  • Stats Tracker — query a player's in-game stats (blocks mined, mobs killed, deaths, playtime, etc.) directly from Discord
  • Advancements Scoreboard — view and compare completed advancements for any player through Discord
  • Player Checker — see who's currently online on the server without having to open Minecraft
  • More Platform Support — ports for Spigot/Paper and other mod loaders such as Forge and NeoForge are planned for future releases

Current Features

Chat Bridge

  • Messages sent in Minecraft appear in Discord, and messages sent in Discord appear in Minecraft

Player Events

  • Join and leave notifications
  • Death messages with ? for regular deaths and ⚔️ for PvP kills
  • Advancement notifications

Bot Status

  • Bot presence shows live player count (e.g. 3/20 players online)
  • Channel topic shows server online status and uptime (e.g. ? Server Online | Online since: 2026-04-19 03:46 UTC | Crashes: 2)
  • Channel topic switches to ? Server is offline | Crashes: X when the server stops

Crash & Lag Alerts

  • Pings a configurable role when the server crashes — works even on watchdog kills
  • Pings a configurable role when the server logs Can't keep up! with a 60 second cooldown to prevent spam
  • Crash counter persists across restarts

Whitelist Command

  • /whitelist add <username> — anyone in the whitelist channel can add themselves
  • /whitelist remove <username> — restricted to users with the configured alert role

Setup

  1. Create a Discord Bot
  • Go to https://discord.com/developers/applications and create a new application
  • Go to the Bot tab and click Add Bot
  • Under Privileged Gateway Intents, enable Message Content Intent
  • Copy your bot token — you'll need it for the config
  • Invite the bot to your server with the bot and applications.commands scopes, and give it permissions to read/send messages and manage channel topics (not reccomended but if you can give admin to the bot if you face any issues)
  1. Configure the Mod
    After running the server once, a config file will be generated at config/discordfabric.json. Fill in your values:

Config Fields

  • botToken — Your Discord bot token
  • chatChannelId — Channel ID for the chat bridge and general notifications
  • whitelistChannelId — Channel ID where /whitelist commands are allowed
  • alertRoleId — Role ID to ping for crash and lag alerts. Also controls who can use /whitelist remove

Getting IDs
You need Developer Mode enabled in Discord to copy IDs. Go to Settings → Advanced → Developer Mode, then right-click any channel or role and click Copy ID.

Customizing Messages

All message templates in the messages section are fully customizable. Available placeholders:

  • {player} — join, leave, death messages
  • {message} — chat bridge
  • {user} — Discord → Minecraft
  • {online} — botStatus
  • {max} — botStatus
  • {online_since} — channelTopic
  • {crashes} — channelTopic
  • {advancement} — playerAdvancement
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
StartStopTimedCommands

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

查看详情
Gateways

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

查看详情
Get It Together, Drops!

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

查看详情
Smelter's Pickaxe

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

查看详情