@@ -32,11 +32,12 @@ 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.1 "
35+ plugin_version = "0.1.2 "
3636plugin_author = ["梦涵LOVE" ]
3737plugin_license = "AGPL-3.0"
3838plugin_github_link = "https://github.com/MengHanLOVE1027/endstone-easyluckypillar"
3939plugin_minebbs_link = "https://www.minebbs.com/resources/easyluckypillar-elp-endstone.15496/"
40+ plugin_website = "https://www.minebbs.com/resources/easyluckypillar-elp-endstone.15496/"
4041
4142plugin_path = Path (f"./plugins/{ plugin_name } " )
4243plugin_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 } " )
108109if 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