promotional bannermobile promotional banner
premium banner
add a "NewGame" Button just like galagames

Description

Fresh Start: One-Click Game Reset Mod

Mod Category: Utility / Quality of Life

What This Mod Does

Tired of manually deleting saves and resetting game files to return to a "fresh" game state? This mod adds a "New Game" button directly to your Minecraft title screen! With one click, it will:

Delete specified files/folders (configurable via config/freshstart.cfg).

Replace root directory files with contents from the replace/ folder (preserving path structure).

Perfect for players who want to quickly restart adventures without tedious file management!

How to Configure

1. Set Files to Delete (config/freshstart.cfg)

Edit the FilesNeedDelete list to define what gets removed when the "New Game" button is clicked. Follow these rules:

End path with a separator (/) → Delete all contents but keep the directory (e.g., "blueprints/youbuild/").

No trailing separator → Delete the entire directory + contents (e.g., "resourcepacks").

Point to a file → Delete the file directly (e.g., "shaderpacks/ExampleShaderPack.zip").

⚠️ IMPORTANT: Never delete critical game directories like mods/ or config/replace/ (these are banned by the mod to prevent crashes).

2. Replace Files with replace/ Folder

Save files/folders you want to use for resetting inside the replace/ directory. When the button is clicked:

Files: "replace/example/example.txt" replaces "example/example.txt" in the game root.

Folders: A folder in replace/ replaces the entire matching folder (and its contents) in the root.

Notes for Safe Use

Backup First: Always back up your saves and configs before using the reset function.

Read Docs: Refer to README.txt in the mod package for more detailed replacement examples.

No Core Changes: This mod only modifies file structure via configurable paths—no changes to Minecraft's core code.

Support

If you encounter bugs or need help configuring, feel free to post in the Comments section. Enjoy your fresh Minecraft adventures!

 

新游戏:一键游戏重置模组

模组分类:实用工具类 / 生活品质类

该模组功能介绍

厌倦了手动删除存档和重置游戏文件,才能恢复到 “全新” 的游戏状态?这款模组会在《我的世界》标题界面直接添加一个 “新游戏” 按钮!点击一次即可实现以下操作:

删除指定的文件 / 文件夹(可通过 config/freshstart.cfg 文件进行配置)。

用 replace/ 文件夹中的内容替换根目录文件(保留路径结构)。

非常适合希望无需繁琐文件管理,就能快速重启冒险的玩家!

配置方法

1. 设置需删除的文件(config/freshstart.cfg)

编辑 FilesNeedDelete 列表,定义点击 “新游戏” 按钮时需删除的内容。请遵循以下规则:

路径以分隔符(/)结尾→删除目录内所有内容,但保留目录本身(例如:"blueprints/youbuild/")。

无末尾分隔符→删除整个目录及其包含的所有内容(例如:"resourcepacks")。

路径指向具体文件→直接删除该文件(例如:"shaderpacks/ExampleShaderPack.zip")。

⚠️ 重要提示:切勿删除 mods/ 或 config/replace/ 等关键游戏目录(模组已禁止此类操作,以防游戏崩溃)。

2. 用 replace/ 文件夹替换文件

将重置时需要使用的文件 / 文件夹保存到 replace/ 目录中。点击 “新游戏” 按钮后:

文件:"replace/example/example.txt" 会替换游戏根目录中的 "example/example.txt"。

文件夹:replace/ 中的某个文件夹,会替换根目录中名称匹配的整个文件夹(及其所有内容)。

安全使用注意事项

先备份:使用重置功能前,请务必备份你的存档和配置文件。

阅读文档:如需更详细的替换示例,请参考模组压缩包中的 README.txt 文件。

不修改核心:该模组仅通过可配置路径修改文件结构,不会更改《我的世界》的核心代码。