Skip to content

Instantly share code, notes, and snippets.

View Zhou-Shilin's full-sized avatar

BaimoQilin Zhou-Shilin

View GitHub Profile
@Zhou-Shilin
Zhou-Shilin / README.md
Last active October 20, 2024 06:21
BaimoRegionManager

BaimoRegionManager

删几个区块,不想专门在Linux服务器上下载MCA Selector等地图编辑器?使用这个简单的Python脚本完成错误区块的删除和回溯!

BaimoRegionManager 是一款轻量化的 Minecraft 服务器地图块管理工具,专为管理区块文件的删除与回溯而设计。通过结合 SimpleBackup 提供的备份压缩包,它可以有效地删除、备份以及从备份中恢复特定区域的 MCA 文件。该工具非常适合在 Minecraft 服务器中对区域进行细粒度的管理与修复。

更新日志

  • 10/20/2024: 修复了回溯文件名错误为“w”的问题,并进行了一些小的优化和清理,以提高可读性和效率。现在choose_backup函数会返回完整的备份文件名和其加载状态,这样在mainrestore_mca_file函数中,我们可以直接使用返回的完整备份文件名。
@Zhou-Shilin
Zhou-Shilin / why-im-going-to-rewrite-bukkitgpt.md
Created June 8, 2024 13:54
Why I'm going to rewrite BukkitGPT?

This gists is about why I'm completely rewriting my project BukkitGPT.

  1. when I first started developing BukkitGPT, I had almost no experience with the project and had serious problems designing the project architecture;
  2. I had too high expectations for the project, which were no longer within my capabilities, and added many useless features;
  3. at that time I didn't test most of the features and rushed to release the official version - a very bad decision;
  4. I failed to follow basic open source processes in many cases. For example, I often push code directly to upstream instead of opening pull requests.
  5. after starting another open source project, BuilderGPT, I realized that following these processes is so important and useful.

In summary, I decided to completely rewrite BukkitGPT, named BukkitGPT v3. The project URL is https://github.com/CubeGPT/BukkitGPT-v3. This project uses the same specification template as Bui