• MineBBS入站考试已经上线!想要成为【正式会员】解锁更多功能吗?快来参与吧!【点我去看】
[已过时]BDSpyrunner辅助开发模块&插件模板 - 函数自动补全、类型提示等

PYR [已过时]BDSpyrunner辅助开发模块&插件模板 - 函数自动补全、类型提示等 2022.7.1

Source of resources
Original
Copyright link
#
Language
Chinese(Simplified)
无法访问Github下载链接的可以了解一下Gitee
[MD]
# BDSpyrunner辅助开发模块

[![wakatime](https://wakatime.com/badge/user/b61b0f9a-f40b-4c82-bc51-0a75c67bfccf/project/03b54761-d478-472e-a9d6-211cf047cce6.svg)](https://wakatime.com/badge/user/b61b0f9a-f40b-4c82-bc51-0a75c67bfccf/project/03b54761-d478-472e-a9d6-211cf047cce6)
[![wakatime](https://wakatime.com/badge/user/b61b0f9a-f40b-4c82-bc51-0a75c67bfccf/project/bd7d0e0f-4bf7-48ec-9573-d02e74b8c88e.svg)](https://wakatime.com/badge/user/b61b0f9a-f40b-4c82-bc51-0a75c67bfccf/project/bd7d0e0f-4bf7-48ec-9573-d02e74b8c88e)
[![CodeFactor](https://www.codefactor.io/repository/github/lgc2333/bdspyrunnerdevmodule/badge)](https://www.codefactor.io/repository/github/lgc2333/bdspyrunnerdevmodule)

**本模块已适配pyr1.9.8**

感谢 [我什么都布吉岛](https://www.minebbs.com/members/12348/) 的协助开发

此模块适用于 [twoone3](https://github.com/twoone-3) 开发的BDSpyRunner

[帖子传送门](https://www.minebbs.com/members/twoone3.4403/)
[Github传送门](https://github.com/twoone-3/BDSpyrunner)

模块介绍
----

本模块提供pyr函数的自动补全、类型提示等功能

对照pyr源代码以及wiki编写

写pyr插件再也不用去翻wiki了

图骗欣赏
----

![](https://gitee.com/lgc2333/BDSPyRunnerDevModule/raw/main/readme/module1.png)

![](https://gitee.com/lgc2333/BDSPyRunnerDevModule/raw/main/readme/module2.png)

![](https://gitee.com/lgc2333/BDSPyRunnerDevModule/raw/main/readme/module3.png)

![](https://gitee.com/lgc2333/BDSPyRunnerDevModule/raw/main/readme/module4.png)

![](https://gitee.com/lgc2333/BDSPyRunnerDevModule/raw/main/readme/module5.png)

![](https://gitee.com/lgc2333/BDSPyRunnerDevModule/raw/main/readme/module6.png)

**插件模板(一部分)**

*说实话这玩意一部分是我拿代码自动生成的*

![](https://gitee.com/lgc2333/BDSPyRunnerDevModule/raw/main/readme/plugin_example1.png)

![](https://gitee.com/lgc2333/BDSPyRunnerDevModule/raw/main/readme/plugin_example2.png)

使用方法
----

- vscode

如果打开的是文件夹,将pyi文件扔到插件同文件夹 如果只打开了文件,将pyi文件扔到编辑器打开即可


- pycharm

将pyi文件扔在py文件同目录即可

tip:插件编写完成后无需将pyi文件扔到服务端

结语
----

最后,祝大家喜欢这个模块

欢迎评分和讨论,别让帖子沉了aaa

联系方式
---

QQ: 3076823485

E-mail: [[email protected]](mailto:[email protected])

Telegram: [@lgc2333](https://t.me/lgc2333)

BDSpyRunner Group: [QQ](https://jq.qq.com/?_wv=1027&k=pjvwGNly) |
[Telegram](https://t.me/bdspyrunner)

更新记录
----

2021.4.4 适配pyr1.3

2021.4.4b2 适配pyr1.3.4

2021.4.5 修正newThread函数名错误

2021.4.20 适配pyr1.4.1

2021.4.27 增加插件开发模板

2021.5.12 修正一些小错误,添加setTimeout函数,移除newThread函数

2021.5.12b2 稍微修改了一下插件开发示例

2021.6.5 适配pyr1.4.5

2021.6.7 适配pyr1.5.0

2021.6.14 适配pyr1.5.4以及一些小更改

2021.8.5 适配pyr1.6.1以及一些小更改

2021.8.5b2 修正了一些小错误

2021.8.5b3 修正了disconnect的参数错误

2021.8.6 适配pyr1.6.3

2021.8.19 尝试适配pyr1.7.0

2022.1.14 适配pyr1.9.0(by [我什么都布吉岛](https://github.com/The-Flash5))

2022.2.2 适配pyr1.9.5(by [我什么都布吉岛](https://github.com/The-Flash5))

2022.2.4 插件模板重写,模块修正部分内容

2022.2.4-2 添加&修正部分函数

2022.2.6 插件模板添加onServerStarted监听

2022.2.7 适配适配更新更新
[/MD]
Author
lgc2333
Price
10金粒
Downloads
104
Views
2,892
First release
Last update
Rating
5.00 star(s) 3 ratings

Resource team

More resources from lgc2333

Share this resource

Latest updates

  1. 2022.7.1

    ## What's Changed * Update mc.pyi by @CJYKK in...
  2. 适配

    rt
  3. 插件模板

    追加onServerStarted

Latest reviews

为什么下载不了了?
lgc2333
lgc2333
github访问不了请使用魔法上网
支持!!!
不错挺好用的
注意vscode得打开文件夹后才会加载