File tree Expand file tree Collapse file tree
src/endstone_easyluckypillar Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<div align =" center " >
22
3- ![ EndStone-EasyLuckyPillar] ( https://socialify.git.ci/MengHanLOVE1027/endstone-easyluckypillar/image?custom_language=Python&description=1&font=Inter&forks=1&issues=1&language=1&logo=https://zh.minecraft.wiki/images/Bedrock_JE2_BE2.png?13f82 &name=1&owner=1&pattern=Plus&pulls=1&stargazers=1&theme=Auto )
3+ ![ EndStone-EasyLuckyPillar] ( https://socialify.git.ci/MengHanLOVE1027/endstone-easyluckypillar/image?custom_language=Python&description=1&font=Inter&forks=1&issues=1&language=1&logo=https://zh.minecraft.wiki/images/Bedrock_JE2_BE2.png&name=1&owner=1&pattern=Plus&pulls=1&stargazers=1&theme=Auto )
44
55<h3 >EndStone-EasyLuckyPillar</h3 >
66
Original file line number Diff line number Diff line change 11<div align =" center " >
22
3- ![ EndStone-EasyLuckyPillar] ( https://socialify.git.ci/MengHanLOVE1027/endstone-easyluckypillar/image?custom_language=Python&description=1&font=Inter&forks=1&issues=1&language=1&logo=https://zh.minecraft.wiki/images/Bedrock_JE2_BE2.png?13f82 &name=1&owner=1&pattern=Plus&pulls=1&stargazers=1&theme=Auto )
3+ ![ EndStone-EasyLuckyPillar] ( https://socialify.git.ci/MengHanLOVE1027/endstone-easyluckypillar/image?custom_language=Python&description=1&font=Inter&forks=1&issues=1&language=1&logo=https://zh.minecraft.wiki/images/Bedrock_JE2_BE2.png&name=1&owner=1&pattern=Plus&pulls=1&stargazers=1&theme=Auto )
44
55<h3 >EndStone-EasyLuckyPillar</h3 >
66
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44
55[project ]
66name = " endstone-easyluckypillar"
7- version = " 0.1.3 "
7+ version = " 0.1.4 "
88authors = [
99 { name = " MengHanLOVE" , email = " 2193438288@qq.com" },
1010]
Original file line number Diff line number Diff line change 55
66setuptools .setup (
77 name = "endstone-easyluckypillar" ,
8- version = "0.1.3 " ,
8+ version = "0.1.4 " ,
99 author = "MengHanLOVE" ,
1010 url = 'https://github.com/MengHanLOVE1027' ,
1111 author_email = "2193438288@qq.com" ,
Original file line number Diff line number Diff line change @@ -266,10 +266,12 @@ def _submit_data(self):
266266
267267 if response .status_code == 200 :
268268 bstats_logger .info ("遥测数据上报成功!" )
269- bstats_logger .info (f"响应内容: { response .text if response .text else '(空)' } " )
269+ if self .config .log_sent_data_enabled :
270+ bstats_logger .info (f"响应内容: { response .text if response .text else '(空)' } " )
270271 else :
271272 bstats_logger .warning (f"上报失败,状态码: { response .status_code } " )
272- bstats_logger .warning (f"返回结果: { response .text if response .text else '(空)' } " )
273+ if self .config .log_sent_data_enabled :
274+ bstats_logger .warning (f"返回结果: { response .text if response .text else '(空)' } " )
273275
274276 except Exception as e :
275277 bstats_logger .error (f"网络请求异常: { e } " )
@@ -312,9 +314,10 @@ def start(self):
312314 # 输出启动日志
313315 bstats_logger .info (f"{ self .plugin_name } 遥测模块已启动。" )
314316 bstats_logger .info (f"首次数据将在 30 秒后发送,之后每 30 分钟发送一次。" )
315- bstats_logger .info (f"插件ID: { self .service_id } , 插件版本: { self .plugin_version } " )
316- bstats_logger .info (f"遥测状态: { '已启用' if self .config .enabled else '已禁用' } " )
317- bstats_logger .info (f"调试模式: { '已启用' if self .config .log_sent_data_enabled else '已禁用' } " )
317+ if self .config .log_sent_data_enabled :
318+ bstats_logger .info (f"插件ID: { self .service_id } , 插件版本: { self .plugin_version } " )
319+ bstats_logger .info (f"遥测状态: { '已启用' if self .config .enabled else '已禁用' } " )
320+ bstats_logger .info (f"调试模式: { '已启用' if self .config .log_sent_data_enabled else '已禁用' } " )
318321
319322 def shutdown (self ):
320323 """关闭 bStats 遥测"""
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class GameState(Enum):
3232plugin_name = "EasyLuckyPillar"
3333plugin_name_smallest = "easyluckypillar"
3434plugin_description = "一个基于 EndStone 的幸运之柱小游戏插件 / A Lucky Pillar mini-game plugin based on EndStone."
35- plugin_version = "0.1.3 "
35+ plugin_version = "0.1.4 "
3636plugin_author = ["梦涵LOVE" ]
3737plugin_license = "AGPL-3.0"
3838plugin_github_link = "https://github.com/MengHanLOVE1027/endstone-easyluckypillar"
Original file line number Diff line number Diff line change 11{
2- "version" : " 0.1.3" ,
3- "download_url" : " https://github.com/MengHanLOVE1027/endstone-easyluckypillar/releases/download/v0.1.3/endstone_easyluckypillar-0.1.3-py3-none-any.whl" ,
4- "update_content" : " 更新版本号至 0.1.3,并适配EasyCheckUpdate" ,
5- "author" : " 梦涵LOVE" ,
6- "update_time" : " 2026-03-01 01:19:30"
2+ "latest_version" : " 0.1.4" ,
3+ "versions" : {
4+ "0.1.4" : {
5+ "download_url" : " https://github.com/MengHanLOVE1027/endstone-easycheckupdate/releases/download/v0.1.2/endstone_easycheckupdate-0.1.2-py3-none-any.whl" ,
6+ "update_content" : " 更新版本号至 0.1.4,并优化遥测日志输出" ,
7+ "author" : " 梦涵LOVE" ,
8+ "update_time" : " 2026-03-01 11:37:30"
9+ },
10+ "0.1.3" : {
11+ "download_url" : " https://github.com/MengHanLOVE1027/endstone-easyluckypillar/releases/download/v0.1.3/endstone_easyluckypillar-0.1.3-py3-none-any.whl" ,
12+ "update_content" : " 更新版本号至 0.1.3,并适配EasyCheckUpdate" ,
13+ "author" : " 梦涵LOVE" ,
14+ "update_time" : " 2026-03-01 01:19:30"
15+ }
16+ }
717}
You can’t perform that action at this time.
0 commit comments