求一个2048小游戏

https://www.2048.org/

3 个赞

草,这怎么玩

4 个赞

二零四八就是上下左右

3 个赞

:rofl:太痛苦了

4 个赞


3 个赞

wc,呱!

3 个赞

koishi-plugin-number-merge-game :game_die:

点击这里展开 README

npm

:wind_chime: 简介

koishi-plugin-number-merge-game 是一个基于 Koishi 框架的插件,它可以让您的机器人主持 2048 游戏。

您可以邀请您的好友一起加入游戏,互动操作,争夺最高分,甚至还可以赚取虚拟货币!

:tada: 安装

您可以通过 Koishi 插件市场搜索并安装该插件。

:rainbow: 使用

  • 启动必要的服务。您需要启用 monetarydatabasepuppeteer 插件,以实现货币系统,数据存储和图片生成的功能。
  • 建议自行添加指令别名,以方便您和您的用户使用。

:gear: 配置项

  • maxInvestmentCurrency:加入游戏时可投入的最大货币数额,默认为 50。
  • defaultMaxLeaderboardEntries:显示排行榜时默认的最大人数,默认为 10。
  • rewardMultiplier2048Win:达成 2048 赢了之后可得到的货币倍数,默认为 2。
  • defaultGridSize2048:开始 2048 游戏时默认的游戏网格大小,范围 4~8,值为 4 时为经典模式,才会记分和奖励,默认为 4。
  • imageType:发送的图片类型,可选 pngjpegwebp,默认为 png
  • enableContinuedPlayAfter2048Win:是否开启赢得 2048 后的继续游戏功能,默认为 true
  • rewardHighNumbers:是否对后续的高数字进行奖励,默认为 true
  • incrementalRewardForHighNumbers:高数字奖励是否依次递增,默认为 true

:blossom: 指令

  • 2048Game:显示 2048 游戏的指令帮助。
  • 2048Game.加入 [money:number]:加入游戏,可选参数为投入的货币数额。
  • 2048Game.退出:退出游戏,如果游戏未开始,会退还投入的货币。
  • 2048Game.开始 [gridSize:number]:开始游戏,需要至少有一个玩家加入。
  • 2048Game.重置:强制重置游戏,不会退还投入的货币。
  • 2048Game.移动 [operation:text]:进行移动操作,参数为方向,可选 上/s/u下/x/d左/z/l右/y/r,也可以一次输入多个方向。
  • 2048Game.历史最高:查看历史最高记录,可选参数 -a 跨群查询。
  • 2048Game.排行榜 [number:number]:查看排行榜相关指令,可选 胜场输场最高分数
  • 2048Game.查询玩家记录 [targetUser:text]:查询玩家游戏记录信息,可选参数为目标玩家的 at 信息。

:shaved_ice: 致谢

:sparkles: License

MIT License © 2023

点击这里展开实测图片



3 个赞

wc,呱!

3 个赞

速通 3000 分… 不过 2048 应该是此生遥不可及

2 个赞


遇到了个问题,就是他不注册指令

日志
2024-01-31 15:18:09 [I] app Koishi/4.16.7
2024-01-31 15:18:09 [I] loader apply plugin group:entry
2024-01-31 15:18:09 [I] loader apply plugin group:server
2024-01-31 15:18:09 [I] loader apply plugin server:07t81x
2024-01-31 15:18:09 [I] loader apply plugin server-temp:5kkevo
2024-01-31 15:18:09 [I] loader apply plugin group:basic
2024-01-31 15:18:09 [I] loader apply plugin admin:01ahe5
2024-01-31 15:18:09 [I] loader apply plugin commands:f6xp7m
2024-01-31 15:18:09 [I] loader apply plugin help:oney6l
2024-01-31 15:18:09 [I] loader apply plugin inspect:38x2va
2024-01-31 15:18:09 [I] loader apply plugin locales:oly213
2024-01-31 15:18:09 [I] loader apply plugin rate-limit:r1zplt
2024-01-31 15:18:09 [I] loader apply plugin telemetry:j5y8wh
2024-01-31 15:18:09 [I] loader apply plugin group:console
2024-01-31 15:18:09 [I] loader apply plugin actions:clko7s
2024-01-31 15:18:09 [I] loader apply plugin analytics:80pksq
2024-01-31 15:18:09 [I] loader apply plugin auth:ghpmm9
2024-01-31 15:18:09 [I] loader apply plugin config:axlzhf
2024-01-31 15:18:09 [I] loader apply plugin console:28ioqn
2024-01-31 15:18:09 [I] loader apply plugin dataview:zkdiws
2024-01-31 15:18:09 [I] loader apply plugin explorer:3ytx2t
2024-01-31 15:18:09 [I] loader apply plugin logger:1sakou
2024-01-31 15:18:09 [I] loader apply plugin insight:t6zw1o
2024-01-31 15:18:09 [I] loader apply plugin market:iar8rv
2024-01-31 15:18:09 [I] loader apply plugin oobe:ja7zpu
2024-01-31 15:18:09 [I] loader apply plugin sandbox:w6pwpy
2024-01-31 15:18:09 [I] loader apply plugin status:5lhrl4
2024-01-31 15:18:10 [I] loader apply plugin theme-vanilla:0lzsi7
2024-01-31 15:18:10 [I] loader apply plugin group:storage
2024-01-31 15:18:10 [I] loader apply plugin database-sqlite:zi488h
2024-01-31 15:18:10 [I] loader apply plugin assets-local:hicqry
2024-01-31 15:18:10 [I] loader apply plugin group:adapter
2024-01-31 15:18:10 [I] loader apply plugin adapter-kook:66jrva
2024-01-31 15:18:10 [I] loader apply plugin adapter-lark:01ewds
2024-01-31 15:18:10 [I] loader apply plugin adapter-mail:fbbws6
2024-01-31 15:18:10 [I] loader apply plugin adapter-qq:m4fue0
2024-01-31 15:18:10 [I] loader apply plugin adapter-red:a3jpv2
2024-01-31 15:18:10 [I] loader apply plugin adapter-red:62hfp6
2024-01-31 15:18:10 [I] loader apply plugin adapter-red:pacgy8
2024-01-31 15:18:10 [I] loader apply plugin adapter-red:jwytof
2024-01-31 15:18:10 [I] loader apply plugin adapter-red:xclya2
2024-01-31 15:18:10 [I] loader apply plugin ffmpeg:x2mp6w
2024-01-31 15:18:10 [I] loader apply plugin downloads:czmvhz
2024-01-31 15:18:10 [I] loader apply plugin memes-api:z08u9j
2024-01-31 15:18:10 [I] loader apply plugin whateat-pic:ldr69y
2024-01-31 15:18:10 [I] loader apply plugin minesweeper-ending:yb9xuo
2024-01-31 15:18:10 [I] loader apply plugin @initencounter/jimp:6u7u60
2024-01-31 15:18:11 [I] loader apply plugin canvas:tdi5j0
2024-01-31 15:18:11 [I] loader apply plugin nix:9nrpj3
2024-01-31 15:18:11 [I] loader apply plugin puppeteer:xqjjkz
2024-01-31 15:18:11 [I] loader apply plugin starrail-atlas:hu2jyr
2024-01-31 15:18:11 [I] loader apply plugin music-downloadlink-api:i6bknb
2024-01-31 15:18:11 [I] loader apply plugin kbot:c1yqeg
2024-01-31 15:18:11 [I] loader apply plugin imagify:32ta18
2024-01-31 15:18:11 [I] loader apply plugin chess:ygdghx
2024-01-31 15:18:11 [I] loader apply plugin color-bias:yb6ebf
2024-01-31 15:18:11 [I] loader apply plugin message-counter:9jcdq4
2024-01-31 15:18:11 [I] loader apply plugin crazy-thursday:iuuc0o
2024-01-31 15:18:11 [I] loader apply plugin homo:r6wwjt
2024-01-31 15:18:11 [I] loader apply plugin translator-youdaoavailable:9i0xkv
2024-01-31 15:18:11 [I] loader apply plugin shorturl:04vmha
2024-01-31 15:18:11 [I] loader apply plugin screenshot:4rqtvz
2024-01-31 15:18:11 [I] loader apply plugin newyear-greeting-picker:61ex6r
2024-01-31 15:18:11 [I] loader apply plugin miyoushe-meme:17hbga
2024-01-31 15:18:11 [I] loader apply plugin genshin-date:z8tkze
2024-01-31 15:18:11 [I] loader apply plugin broadcast:yexfe9
2024-01-31 15:18:11 [I] loader apply plugin iframe:6d4tnv
2024-01-31 15:18:11 [I] loader apply plugin click-colorful:hlyy9e
2024-01-31 15:18:11 [I] loader apply plugin footer:7l3ios
2024-01-31 15:18:11 [I] loader apply plugin upgrade:ha0lr5
2024-01-31 15:18:11 [I] loader apply plugin @myrtus/forward:sol3jh
2024-01-31 15:18:11 [I] loader apply plugin abbreviation:gn32h1
2024-01-31 15:18:11 [I] loader apply plugin cpdd-picker:bi8ph9
2024-01-31 15:18:11 [I] loader apply plugin lunatic:rtxtwj
2024-01-31 15:18:11 [I] loader apply plugin qrcode:y1yyxz
2024-01-31 15:18:12 [I] loader apply plugin recall:6q4vrt
2024-01-31 15:18:12 [I] loader apply plugin card-21-game:puw7af
2024-01-31 15:18:12 [I] loader apply plugin bull-card-game:liq73x
2024-01-31 15:18:12 [I] loader apply plugin see-color:0j7ddc
2024-01-31 15:18:12 [I] loader apply plugin fantan-game:n2abte
2024-01-31 15:18:12 [I] loader apply plugin number-boom:nb8s2z
2024-01-31 15:18:12 [I] loader apply plugin monetary:zkpp5y
2024-01-31 15:18:12 [I] loader apply plugin waifu:4r0s8a
2024-01-31 15:18:12 [I] loader apply plugin baidu-image-search:moqyxn
2024-01-31 15:18:12 [I] loader apply plugin smmcat-animecharacter:rwsklo
2024-01-31 15:18:12 [I] loader apply plugin gamedig:s9vmbj
2024-01-31 15:18:12 [I] loader apply plugin bagl-image-sender:x0wwlo
2024-01-31 15:18:12 [I] loader apply plugin genshin-code:9xei1j
2024-01-31 15:18:12 [I] loader apply plugin starrail-code:wef2ra
2024-01-31 15:18:12 [I] loader apply plugin starrail:4bczb9
2024-01-31 15:18:12 [I] loader apply plugin smmcat-fishtime:mdha4p
2024-01-31 15:18:12 [I] loader apply plugin smmcat-saima:47xsw0
2024-01-31 15:18:12 [I] loader apply plugin smmcat-tahuawocai:ope7jh
2024-01-31 15:18:12 [I] loader apply plugin smmcat-oneatwob:3zp0u5
2024-01-31 15:18:12 [I] loader apply plugin command-creater:qcal46
2024-01-31 15:18:12 [I] loader apply plugin adapter-onebot:8ebmwo
2024-01-31 15:18:12 [I] loader apply plugin jm-week-recommendation:3l2rkl
2024-01-31 15:18:12 [I] loader apply plugin beauty-huluxia:ppch9h
2024-01-31 15:18:12 [I] loader apply plugin shutdown:mpu2z0
2024-01-31 15:18:12 [I] loader apply plugin smmcat-signin:chmjrc
2024-01-31 15:18:12 [I] loader apply plugin translator-deepl:o0r7xn
2024-01-31 15:18:12 [I] loader apply plugin pingti:5sby9v
2024-01-31 15:18:12 [I] loader apply plugin screenshot-kongzhitai:0sxgi7
2024-01-31 15:18:13 [I] loader apply plugin cooke-yelp:jbngf5
2024-01-31 15:18:13 [I] loader apply plugin common-video-plug-in:wlpyvu
2024-01-31 15:18:13 [I] loader apply plugin pingti-pingfen:u343qn
2024-01-31 15:18:13 [I] loader apply plugin iirose-media-request:a6ay4e
2024-01-31 15:18:13 [I] loader apply plugin bilibili-login:570hql
2024-01-31 15:18:14 [I] loader apply plugin xiuxian:lk9m64
2024-01-31 15:18:14 [I] loader apply plugin ip-query:9rxbib
2024-01-31 15:18:14 [I] loader apply plugin nlr-meme:os637k
2024-01-31 15:18:14 [I] loader apply plugin alapi:1v91vm
2024-01-31 15:18:14 [I] loader apply plugin markdown-to-image-service:zcpedn
2024-01-31 15:18:16 [I] loader apply plugin minecraft-skin:gmilrr
2024-01-31 15:18:16 [I] loader apply plugin minecraft-rank-mc-api:klwi9j
2024-01-31 15:18:16 [I] loader apply plugin smmcat-pixelme:hhv6cd
2024-01-31 15:18:16 [I] loader apply plugin qycblzj-who-is-baka:tstu1u
2024-01-31 15:18:16 [I] loader apply plugin smmcat-getanimename:dqgbgk
2024-01-31 15:18:16 [I] loader apply plugin qq-estimate:23rdtt
2024-01-31 15:18:16 [I] loader apply plugin driftbottle:02l0jf
2024-01-31 15:18:16 [I] loader apply plugin cache-database:i9dv4p
2024-01-31 15:18:16 [I] loader apply plugin silk:q11xby
2024-01-31 15:18:16 [I] loader apply plugin music-downloadvoice-api:zu4og7
2024-01-31 15:18:16 [I] loader apply plugin video-parser:y0cr0h
2024-01-31 15:18:16 [I] loader apply plugin multiple-video:ied873
2024-01-31 15:18:16 [I] loader apply plugin adapter-red:awalz9
2024-01-31 15:18:16 [I] loader apply plugin feedback:36q0fv
2024-01-31 15:18:16 [I] loader apply plugin instagram-image-video-downloader:yufa5n
2024-01-31 15:18:16 [I] loader apply plugin group-manage:gztj9x
2024-01-31 15:18:16 [I] loader apply plugin shindan-maker:1g5szz
2024-01-31 15:18:17 [I] loader apply plugin @mengshouer/filelink:tkc5jo
2024-01-31 15:18:17 [I] loader apply plugin genshinvoice-vits:xqgsnf
2024-01-31 15:18:17 [I] loader apply plugin universal-translation:3bqyo8
2024-01-31 15:18:17 [I] loader apply plugin qq-img:s8da8j
2024-01-31 15:18:17 [I] loader apply plugin local-pic-selecter:pwxgg9
2024-01-31 15:18:17 [I] nix nix plugin only works on linux
2024-01-31 15:18:17 [W] app Error: property server is not registered, declare it as `inject` to suppress this warning
                            at checkInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:871:36)
                            at Object.get (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:882:9)
                            at new UpgradeProvider (C:\date\koishi\node_modules\koishi-plugin-upgrade\lib\index.js:23:13)
                            at _MainScope.apply (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:536:24)
                            at C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:558:36
                            at _MainScope.ensure (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:311:18)
                            at _MainScope.start (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:558:12)
                            at _MainScope.init (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:358:12)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:486:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:335:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:335:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/before-service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _ForkScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:329:55)
                            at new ForkScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:445:12)
                            at _MainScope.fork (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:502:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:672:20)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _ForkScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:335:55)
                            at new ForkScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:445:12)
                            at _MainScope.fork (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:502:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:672:20)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/before-service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:329:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:335:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/before-service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:329:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:335:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/before-service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:329:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:335:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/before-service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:329:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:335:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/before-service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:329:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:335:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/before-service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:329:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _MainScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:335:55)
                            at _MainScope.setup (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
                            at new MainScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/before-service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
                            at Proxy.on (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
                            at _ForkScope.setupInject (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:329:55)
                            at new ForkScope (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:445:12)
                            at _MainScope.fork (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:502:12)
                            at Proxy.plugin (C:\date\koishi\node_modules\@satorijs\core\node_modules\cordis\lib\index.cjs:669:22)
                            at Proxy.forkPlugin (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:285:19)
                            at async Proxy.reload (C:\date\koishi\node_modules\@koishijs\loader\lib\shared.js:314:16)
2024-01-31 15:18:17 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
                            at Proxy.register (C:\date\kois
1 个赞

粘贴错了(
[W] app Error: max listener count (64) for event <internal/before-service> exceeded, which may be caused by a memory leak
at Proxy.register (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
at Proxy.on (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
at _MainScope.setupInject (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:329:55)
at _MainScope.setup (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
at new MainScope (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
at Proxy.plugin (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
at Proxy.forkPlugin (C:\date\koishi\node_modules@koishijs\loader\lib\shared.js:285:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Proxy.reload (C:\date\koishi\node_modules@koishijs\loader\lib\shared.js:314:16)
at async Proxy.reload (C:\date\koishi\node_modules@koishijs\plugin-config\lib\shared\index.js:272:5)
2024-01-31 15:24:54 [W] app Error: max listener count (64) for event <internal/service> exceeded, which may be caused by a memory leak
at Proxy.register (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:131:42)
at Proxy.on (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:154:17)
at _MainScope.setupInject (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:335:55)
at _MainScope.setup (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:529:13)
at new MainScope (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:485:12)
at Proxy.plugin (C:\date\koishi\node_modules@satorijs\core\node_modules\cordis\lib\index.cjs:671:15)
at Proxy.forkPlugin (C:\date\koishi\node_modules@koishijs\loader\lib\shared.js:285:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Proxy.reload (C:\date\koishi\node_modules@koishijs\loader\lib\shared.js:314:16)
at async Proxy.reload (C:\date\koishi\node_modules@koishijs\plugin-config\lib\shared\index.js:272:5)

1 个赞

重载koishi就好了

2 个赞

其实不用重载…你找个其他有指令的插件去启动一下,回来就有指令了。

可能是 Koishi 控制台暂时还在升级维护中,还未达到稳定状态。

2 个赞

好快!!呜呜呜我还在想肿么解决localstorge存用户的数据的问题))

2 个赞