npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sfmc-bds/module-qq-link

v0.1.0

Published

SFMC QQ↔MC 绑定 + 入服白名单生效 + 踢人 + 事件上报 + 聊天互通

Readme

@sfmc-bds/module-qq-link

SFMC QQ↔MC 身份绑定、游玩门槛、踢人和事件同步模块。

能力

| 能力 | 说明 | | --- | --- | | 绑定 | QQ 侧获取短码,在游戏内执行 /c:bind 后发送数字码 | | 游玩门槛 | 未绑定玩家可进服,但暂时是访客,不能移动或交互;绑定成功后解除限制 | | 踢人 | 轮询管理动作队列,对在线玩家执行服务端 kick 命令并回执 | | 状态与事件 | 向平台同步在线状态、玩家资料及游戏事件 |

绑定与入服

  1. 在 QQ 对机器人发送「绑定」,取得短码。
  2. 进入服务器,执行 /c:bind,在 60 秒内将纯数字短码发到聊天栏。
  3. 绑定成功后,模块解除访客和移动限制。操作员恢复操作员权限,其他玩家成为成员。

模块启动时关闭原版 allow-list,以便未绑定玩家能进服完成绑定。若平台暂时无法确认绑定状态,新进入的玩家会继续受限。计划部署到已有服务器时,应先备份并安排实际运行验收。

QQ 侧的审批与配置行为由平台服务管理。本模块不再向 BDS 原版 allowlist.json 写入玩家。

安装时会创建 configs/qq_link.json。默认开启绑定门槛与入服审批;群管理员不会自动获得 SFMC 管理员权限。请在部署前核对该文件,并按实际服务器策略调整。

依赖

  • @sfmc-bds/sdk 运行时。
  • 平台 db-server 的 QQ 绑定、管理动作和事件接口。
  • 与目标 BDS 对应的 Minecraft Script API 版本。

开发

pnpm install --frozen-lockfile
pnpm run typecheck
pnpm run lint

联调时用 sfmc mod install qq-link --from dir:<本仓路径> --link 安装模块,构建并部署行为包,然后在安排好的维护窗口重启 BDS。验收未绑定入服、绑定解锁、操作员权限还原、踢人回执和重新进服。