Skip to content

Commit d38fc7f

Browse files
fix: 更新版本号至 0.1.2
1 parent e5264aa commit d38fc7f

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "endstone-easyluckypillar"
7-
version = "0.1.1"
7+
version = "0.1.2"
88
authors = [
99
{ name = "MengHanLOVE", email = "2193438288@qq.com" },
1010
]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="endstone-easyluckypillar",
8-
version="0.1.1",
8+
version="0.1.2",
99
author="MengHanLOVE",
1010
url='https://github.com/MengHanLOVE1027',
1111
author_email="2193438288@qq.com",

src/endstone_easyluckypillar/easyluckypillar_plugin.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ class GameState(Enum):
3232
plugin_name = "EasyLuckyPillar"
3333
plugin_name_smallest = "easyluckypillar"
3434
plugin_description = "一个基于 EndStone 的幸运之柱小游戏插件 / A Lucky Pillar mini-game plugin based on EndStone."
35-
plugin_version = "0.1.1"
35+
plugin_version = "0.1.2"
3636
plugin_author = ["梦涵LOVE"]
3737
plugin_license = "AGPL-3.0"
3838
plugin_github_link = "https://github.com/MengHanLOVE1027/endstone-easyluckypillar"
3939
plugin_minebbs_link = "https://www.minebbs.com/resources/easyluckypillar-elp-endstone.15496/"
40+
plugin_website = "https://www.minebbs.com/resources/easyluckypillar-elp-endstone.15496/"
4041

4142
plugin_path = Path(f"./plugins/{plugin_name}")
4243
plugin_config_path = plugin_path / "config" / "EasyLuckyPillar.json"
@@ -104,7 +105,7 @@ def __str__(self):
104105
return randomGradientColor(self.text)
105106

106107
# TAG: 日志系统设置
107-
log_dir = Path(f"./logs/{plugin_name_smallest}")
108+
log_dir = Path(f"./logs/{plugin_name}")
108109
if not log_dir.exists():
109110
try:
110111
log_dir.mkdir(parents=True, exist_ok=True)
@@ -148,6 +149,7 @@ class EasyLuckyPillarPlugin(Plugin):
148149
description = plugin_description
149150
version = plugin_version
150151
authors = plugin_author
152+
website = plugin_website
151153

152154
commands = {
153155
"lp": {
@@ -258,7 +260,7 @@ def on_load(self):
258260
print(RandomColor("██╔══╝ ██╔══██║╚════██║ ╚██╔╝ ██║ ██║ ██║██║ ██╔═██╗ ╚██╔╝ ██╔═══╝ ██║██║ ██║ ██╔══██║██╔══██╗"))
259261
print(RandomColor("███████╗██║ ██║███████║ ██║ ███████╗╚██████╔╝╚██████╗██║ ██╗ ██║ ██║ ██║███████╗███████╗██║ ██║██║ ██║"))
260262
print(RandomColor("╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝"))
261-
print(RandomColor(f""" 作者:{plugin_author[0]} 版本:{plugin_version}"""))
263+
print(RandomColor(f""" 作者:{plugin_author[0]} 版本:{plugin_version}"""))
262264
plugin_print(f"="*80, "INFO")
263265
plugin_print(f"{plugin_name} - {plugin_description}")
264266
plugin_print(f"感谢您使用Easy系列插件!")

0 commit comments

Comments
 (0)