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

subata

v0.3.1

Published

一款能快速启动并登录wizard101或pirate101的命令行工具

Readme

subata 使用说明

要求 node 版本 20 以上

现仅支持最基本的补丁安装和快速启动

其他内容正在开发

如何安装

npm i -g subata@latest

yarn global add subata@latest

init 初始化-如果没有使用过客户端的用户可以执行此命令

subata init

功能

自动获取steam游戏路径-如果获取失败自行进行config.json的编辑

生成subata_cli配置文件

start 启动游戏

subata start

启动游戏

执行之后跟着指示进行操作

plugin 补丁管理

subata plugins

补丁安装

执行之后跟着指示进行操作

chart 实时查看在线人数-仅查看通过客户端上线的账号

subata chart

extract 转换wad文件,限wizrd、pirate


# 将Demo.wad输出到output文件夹下
subata extract Demo.wad ./output

list 查看wad文件内容,限wizard、pirate


# 将文件夹打包成Demo.wad
subata list Demo.wad ./output

pack 查看wad文件内容,限wizard、pirate


# 列出 Demo.wad 文件内容
subata list Demo.wad

命令行配置文件(模板) config.json

命令行配置文件 json,如果无法直接使用可自行修改路径或详细配置

| 字段名 | 作用 | | ------------------- | -------------------------------------------------------------------------------------------------------------------- | | desc | 描述 | | configpath | subata 客户端配置文件地址,没有用过客户端需按下方格式创建客户端 config.json 并修改 configpath 指向客户端 config.json | | service | 服务器地址 | | port | 端口 | | Target_class | wizard 窗口类 | | Target_class_pirate | pirate 窗口类 |

subata 客户端配置文件(一般为储存用户信息和本地游戏路径)

| 字段名 | 作用 | 数据类型 | | -------- | ------------ | ------------- | | userList | 用户信息 | AccountItem[] | | gamePath | 本地游戏路径 | GamePath |

AccountItem

| 字段名 | 作用 | 数据类型 | | -------- | ------ | -------- | | time | 时间戳 | number | | account | 账号 | string | | password | 密码 | string |

gamePath

| 字段名 | 作用 | 数据类型 | | --------------------- | -------------------- | -------- | | wizParam/pirParam | 启动参数 | string | | wizPath/pirPath | 游戏根目录 | string | | wizBinPath/pirBinPath | 游戏 bin 目录 | string | | wizExe/pirExe | 游戏 Bin 下 exe 名称 | string |

示例客户端 config.json

{
  "userList": [
    {
      "account": "test01",
      "password": "test01"
    },
    {
      "account": "test02",
      "password": "test02"
    }
  ],
  "gamePath": {
    "wizParam": " -L login.us.wizard101.com 12000 ",
    "pirParam": " -L login.us.pirate101.com 12000",
    "wizPath": "F:\\mine\\w101",
    "wizBinPath": "F:\\mine\\w101\\Bin",
    "wizExe": "WizardGraphicalClient.exe",
    "pirPath": "F:\\mine\\w101",
    "pirBinPath": "F:\\mine\\w101\\Bin",
    "pirExe": "Pirate.exe"
  }
}