From 6ac155ada92584d8f2a51dc8fda64d5276827c32 Mon Sep 17 00:00:00 2001 From: CallMeBill <51294526+CMBill@users.noreply.github.com> Date: Sat, 28 Aug 2021 11:04:51 +0800 Subject: [PATCH 1/3] Update __init__.py --- src/daycount_nbt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daycount_nbt/__init__.py b/src/daycount_nbt/__init__.py index e92a27f..84e3094 100644 --- a/src/daycount_nbt/__init__.py +++ b/src/daycount_nbt/__init__.py @@ -16,7 +16,7 @@ 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 From da34265300fba7bd6ee13590c78b8a7f1bfec57a Mon Sep 17 00:00:00 2001 From: Alex3236 <45303195+eagle3236@users.noreply.github.com> Date: Sat, 28 Aug 2021 11:16:25 +0800 Subject: [PATCH 2/3] delete PLUGIN_METADATA --- src/daycount_nbt/__init__.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/daycount_nbt/__init__.py b/src/daycount_nbt/__init__.py index 84e3094..c69c91c 100644 --- a/src/daycount_nbt/__init__.py +++ b/src/daycount_nbt/__init__.py @@ -3,15 +3,6 @@ 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' From cf9fcbc526ca384bbc9f407d26d6244bd850edbb Mon Sep 17 00:00:00 2001 From: Alex3236 <45303195+eagle3236@users.noreply.github.com> Date: Sat, 28 Aug 2021 11:16:59 +0800 Subject: [PATCH 3/3] 2.0.1 --- src/mcdreforged.plugin.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}