diff --git a/src/daycount_nbt/__init__.py b/src/daycount_nbt/__init__.py index e92a27f..c69c91c 100644 --- a/src/daycount_nbt/__init__.py +++ b/src/daycount_nbt/__init__.py @@ -3,20 +3,11 @@ from traceback import print_exc from math import floor -PLUGIN_METADATA = { - 'id': 'daycount_nbt', - 'version': '1.2.1', - 'name': 'DayCount-NBT', - 'description': '通过读取 NBT 文件,获取服务器总运行时间。', - 'author': 'Alex3236', - 'link': 'https://github.com/eagle3236' -} - class Configure(Serializable): nbt_mode: bool = True nbt_file: str = 'server/world/level.dat' start_date: str = '2021-01-01' - dat_text: str = '这是服务器开服的第 $day 天' + day_text: str = '这是服务器开服的第 $day 天' config: Configure diff --git a/src/mcdreforged.plugin.json b/src/mcdreforged.plugin.json index a3b5e8a..58f4bc9 100644 --- a/src/mcdreforged.plugin.json +++ b/src/mcdreforged.plugin.json @@ -1,6 +1,6 @@ { "id": "daycount_nbt", - "version": "2.0.0", + "version": "2.0.1", "name": "DayCount NBT", "description": { "en_us": "Get and export server opening times.", @@ -11,4 +11,4 @@ }, "author": "Alex3236", "link": "https://github.com/eagle3236/joinMOTD_Plus" -} \ No newline at end of file +}