From 6a133410ac72afbf5a1d92cfaf0dccce75a03911 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Sun, 5 Jul 2020 09:25:41 +0000 Subject: [PATCH 1/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fb73b3b..177112e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# chunkmaster ![](https://abstruse.trivernis.net/badge/1) +# chunkmaster ![](https://abstruse.trivernis.net/badge/1) ![](https://img.shields.io/discord/729250668162056313) This plugin can be used to pre-generate the region of a world around the spawn chunk(s). The generation automatically pauses when a player joins the server (assuming the server was empty before) @@ -134,4 +134,4 @@ This project is licensed under the GPLv3.0 License - see the [LICENSE](https://g ## bStats -[![Plugin statistics](https://bstats.org/signatures/bukkit/chunkmaster.svg)](https://bstats.org/plugin/bukkit/Chunkmaster/5639) \ No newline at end of file +[![Plugin statistics](https://bstats.org/signatures/bukkit/chunkmaster.svg)](https://bstats.org/plugin/bukkit/Chunkmaster/5639) From 64795b341b62f324316de6c2d328227907f011c4 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Sat, 11 Jul 2020 15:47:11 +0200 Subject: [PATCH 2/5] Update bug_report.md --- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 6b7614a..98fba4f 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -23,6 +23,10 @@ A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. +**Logfile** +Please add a logfile as either a file attachment or a link to something like pastebin. +For crashes please also add the crashlog file. + **Server (please complete the following information):** - OS: [e.g. Ubuntu 20] - Specs [e.g. Intel Xeon E5-2680, 8GB Ram] From 602b7c92e74420a3079bd132f1f38c315eaa65c6 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Sat, 11 Jul 2020 16:10:08 +0200 Subject: [PATCH 3/5] Update bug_report.md People just don't report the exact server version! --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 98fba4f..d2538b3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -31,7 +31,7 @@ For crashes please also add the crashlog file. - OS: [e.g. Ubuntu 20] - Specs [e.g. Intel Xeon E5-2680, 8GB Ram] - Java Version [e.g. Java 1.12] - - Minecraft Server Version [e.g. Paper 1.15.2 #176] + - Minecraft Server Version [e.g. Paper 1.15.2 #176](PLEASE PROVIDE THE EXACT VERSION OF THE /version COMMAND, NOT JUST spigot 1.16.1!) - Plugin Version [e.g. 0.15] **Additional context** From 984c49c6442f014b5a2f92cc70c51c8ff3472dd2 Mon Sep 17 00:00:00 2001 From: NPBeta Date: Tue, 14 Jul 2020 22:07:34 +0800 Subject: [PATCH 4/5] Add zh_CN i18n Support --- src/main/resources/i18n/zh.i18n.properties | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 src/main/resources/i18n/zh.i18n.properties diff --git a/src/main/resources/i18n/zh.i18n.properties b/src/main/resources/i18n/zh.i18n.properties new file mode 100644 index 0000000..8dc92cf --- /dev/null +++ b/src/main/resources/i18n/zh.i18n.properties @@ -0,0 +1,75 @@ +RESUME_FOR_WORLD = 正在恢复执行 '%s' 世界的区块生成任务... +TASK_FINISHED = 任务 #%d 在生成 %d 个区块后完成. +TASK_CANCELED = 已取消任务 #%s. +TASK_LOAD_FAILED = §c加载任务 #%d 失败. +TASK_LOAD_SUCCESS = %d 个已保存的任务加载完成. +TASK_NOT_FOUND = §c任务 %s 未找到! +CREATE_DELAYED_LOAD = 正在创建延迟执行的区块生成任务... +TASK_PERIODIC_REPORT = 任务 #%d 正在 '%s' 世界执行. 进度: %d 区块 %s %s, 速度: %.1f 区块 / 秒, 最新生成的区块: %d, %d +TASK_SAVE_FAILED = §c保存任务时发生错误: %s + +WORLD_NAME_REQUIRED = §c你需要提供世界名称! +WORLD_NOT_FOUND = §c无法找到名为 §2%s §c的世界! +TASK_ALREADY_EXISTS = §c已存在 '%s' 的任务! +TASK_CREATION_SUCCESS = §9已创建 §2%s§9 世界的区块生成任务,§2%s§9 的 %s 区域! +TASK_UNIT_WORLDBORDER = 直到世界边界 +TASK_UNIT_RADIUS = 半径 %s +TASK_ID_REQUIRED = §c你需要提供任务 ID! +INVALID_ARGUMENT = §c在 %s: %s 存在无效的变量! + +PAUSED_TASKS_HEADER = 当前暂停的区块生成任务 +TASKS_ENTRY = - §9#%d§r - §2%s§r - §2%d 区块 %s§r +RUNNING_TASKS_HEADER = 当前运行的区块生成任务 +NO_GENERATION_TASKS = 无区块生成任务. + +PAUSE_SUCCESS = §9已暂停所有区块生成任务. +ALREADY_PAUSED = §c区块生成进程已经暂停! + +RESUME_SUCCESS = §9已恢复执行所有区块生成任务. +NOT_PAUSED = §c区块生成进程并未暂停! + +CONFIG_RELOADING = 正在重载配置文件... +CONFIG_RELOADED = §2配置文件重载完成! + +TELEPORTED = §9你已被传送到区块 §2%s, %s +TP_ONLY_PLAYER = §cThis command can only be executed by a player! + +NO_PERMISSION = §c你无权执行此命令! +SUBCOMMAND_NOT_FOUND = §c子命令 §2%s §c未找到! + +STOPPING_ALL_TASKS = 正在停止所有区块生成任务... +SAVING_TASK_PROGRESS = 正在保存任务进度 #%s 到数据库中... +DB_INIT = 正在初始化数据库... +DB_INIT_FINISHED = 数据库初始化完成. +DB_INIT_EROR = 数据库初始化失败: %s. + +DATABASE_CONNECTION_ERROR = §c连接数据库失败! +SQL_ERROR = §cSQL %s 发生错误! +NO_DATABASE_CONNECTION = §c无法执行 SQL 语句: 无数据库连接. +CREATE_TABLE_DEFINITION = 已创建表 %s ,定义 %s. +TABLE_CREATE_ERROR = §c创建表 %s 发生错误. +UPDATE_TABLE_DEFINITION = 已更新表 %s ,SQL 语句为 %s. +UPDATE_TABLE_FAILED = 无法更新表 %s ,SQL 语句为 %s. + +TOO_FEW_ARGUMENTS = §c你没有提供足够的参数. +COORD_INVALID = §c提供的坐标 ('%s', '%s') 无效! +CENTER_UPDATED = §9世界 §2%s §9的中心已设为 §2(%s, %s)§9. +CENTER_INFO = §9世界 §2%s §9的中心为 §2(%s, %s)§9. + +PLUGIN_DETECTED = 检测到 %s 版本 %s + +RESUME_PLAYER_LEAVE = 在线玩家数量小于配置文件的设定值。正在恢复生成... +PAUSE_PLAYER_JOIN = 在线玩家数量达到暂停阈值。正在暂停生成... +PAUSE_MANUALLY = 生成进程已被手动暂停。将不会自动重启任务. + +STATS_HEADER = §n状态§r +STATS_SERVER = §l服务器状态§r +STATS_SERVER_VERSION = - 服务器版本: §2%s§r +STATS_PLUGIN_VERSION = - 插件版本: §2%s§r +STATS_MEMORY = - 内存 (u/a): §2%d MB / %d MB = (%.2f percent)§r +STATS_CORES = - CPU 核心: §2%d§r + +STATS_WORLD_NAME = §l%s§r +STATS_ENTITY_COUNT = - §2%d§r 实体 +STATS_LOADED_CHUNKS = - §2%d§r 已载入区块 +STATS_PLUGIN_LOADED_CHUNKS = - §2%d§r 被 Chunk Master 载入的区块 \ No newline at end of file From a708c1cfdd226e1a0f844e395011cbf42effc828 Mon Sep 17 00:00:00 2001 From: NPBeta Date: Tue, 21 Jul 2020 10:52:54 +0800 Subject: [PATCH 5/5] Added Missing Translation & Tweak Translation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix unconsistent translation: Using 失败 for errors that has no further information. Using 发生错误 for exceptions with stacktrace or other informations. --- src/main/resources/i18n/zh.i18n.properties | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/resources/i18n/zh.i18n.properties b/src/main/resources/i18n/zh.i18n.properties index 8dc92cf..18a6d97 100644 --- a/src/main/resources/i18n/zh.i18n.properties +++ b/src/main/resources/i18n/zh.i18n.properties @@ -32,7 +32,7 @@ CONFIG_RELOADING = 正在重载配置文件... CONFIG_RELOADED = §2配置文件重载完成! TELEPORTED = §9你已被传送到区块 §2%s, %s -TP_ONLY_PLAYER = §cThis command can only be executed by a player! +TP_ONLY_PLAYER = §c此命令只能由玩家执行! NO_PERMISSION = §c你无权执行此命令! SUBCOMMAND_NOT_FOUND = §c子命令 §2%s §c未找到! @@ -41,13 +41,13 @@ STOPPING_ALL_TASKS = 正在停止所有区块生成任务... SAVING_TASK_PROGRESS = 正在保存任务进度 #%s 到数据库中... DB_INIT = 正在初始化数据库... DB_INIT_FINISHED = 数据库初始化完成. -DB_INIT_EROR = 数据库初始化失败: %s. +DB_INIT_EROR = 初始化数据库时发生错误: %s. DATABASE_CONNECTION_ERROR = §c连接数据库失败! SQL_ERROR = §cSQL %s 发生错误! NO_DATABASE_CONNECTION = §c无法执行 SQL 语句: 无数据库连接. CREATE_TABLE_DEFINITION = 已创建表 %s ,定义 %s. -TABLE_CREATE_ERROR = §c创建表 %s 发生错误. +TABLE_CREATE_ERROR = §c创建表 %s 失败. UPDATE_TABLE_DEFINITION = 已更新表 %s ,SQL 语句为 %s. UPDATE_TABLE_FAILED = 无法更新表 %s ,SQL 语句为 %s. @@ -58,11 +58,11 @@ CENTER_INFO = §9世界 §2%s §9的中心为 §2(%s, %s)§9. PLUGIN_DETECTED = 检测到 %s 版本 %s -RESUME_PLAYER_LEAVE = 在线玩家数量小于配置文件的设定值。正在恢复生成... -PAUSE_PLAYER_JOIN = 在线玩家数量达到暂停阈值。正在暂停生成... +RESUME_PLAYER_LEAVE = 在线玩家数量小于配置文件设定的阈值。正在恢复生成... +PAUSE_PLAYER_JOIN = 在线玩家数量达到配置文件设定的阈值。正在暂停生成... PAUSE_MANUALLY = 生成进程已被手动暂停。将不会自动重启任务. -STATS_HEADER = §n状态§r +STATS_HEADER = §n状态与统计§r STATS_SERVER = §l服务器状态§r STATS_SERVER_VERSION = - 服务器版本: §2%s§r STATS_PLUGIN_VERSION = - 插件版本: §2%s§r @@ -72,4 +72,4 @@ STATS_CORES = - CPU 核心: §2%d§r STATS_WORLD_NAME = §l%s§r STATS_ENTITY_COUNT = - §2%d§r 实体 STATS_LOADED_CHUNKS = - §2%d§r 已载入区块 -STATS_PLUGIN_LOADED_CHUNKS = - §2%d§r 被 Chunk Master 载入的区块 \ No newline at end of file +STATS_PLUGIN_LOADED_CHUNKS = - §2%d§r 被 Chunk Master 载入的区块