MineZip
在游戏中或控制台中压缩和解压文件和数据。备份整个服务器将比以往更加轻松。如果你在上传多个文件时遇到问题,为什么不使用一个 zip 文件来上传所有内容,然后再解压呢?
需要德语版本?请查看翻译页面 这里。
命令
输入 "/zip" 将显示此帮助菜单:

| 命令 | 描述 |
| /zip list | 列出服务器文件夹中的每个文件 |
| /zip list all | 与 /zip list 相同 |
| /zip list zip | 列出服务器文件夹中的所有 zip 文件 |
| /zip list folder | 列出服务器文件夹中的所有文件夹(例如 "plugins") |
| /zip check [文件名] | 列出所有具有该名称或包含该名称的文件。 |
| /zip zip [文件夹] | 压缩一个文件夹。此命令可以接受多个参数,意味着你可以一次性将多个文件压缩到一个 zip 文件中。如果你使用 /zip zip *,你将压缩整个服务器。 |
| /zip unzip [zip文件] | 解压一个 zip 文件。解压后的文件夹将与 zip 文件同名,仅去掉末尾的 ".zip" 部分。 |
| /zip delete [zip文件] | 删除一个 zip 文件。此命令默认关闭,只能在 config.yml 文件中启用。其功能与 /zip zip 命令类似。 |
| /zip rename [zip文件] [新名称] | 重命名文件,例如将 world.zip 改为 parkour.zip。它还会检查新名称是否已被占用,从而避免意外覆盖其他文件。 |
配置
- 几乎所有消息均可完全自定义,包括颜色和换行
- 在使用 /zip list 命令时,你可以按字母顺序或文件类型对列表进行排序
- 列出在压缩或解压过程中涉及的所有文件
- 设置是否启用删除命令(将其设置为 false 甚至会从帮助菜单中移除该命令)
- 完整列表见 这里
权限
没有任何权限的情况下,只有 OP(以及控制台)才能使用所有 /zip 命令。
对于其他情况,只有一个权限:
- zip.commands
注意:如果用户没有该权限,默认情况下他们会收到一条“未知命令。输入 'help' 获取帮助。”的消息。此消息可自定义。
上传 Zip 文件
创建 zip 文件时,重要的是要在世界文件夹内创建 zip 文件。如果你直接压缩整个世界文件夹,解压后会在内部嵌套两个世界文件夹,而服务器无法识别这种结构。
MineZip
Zip and Unzip your files and data in game or on the console. Backing up the entire server will be easier than ever. If you have problems uploading multiple files, why not just use a zip file to upload everything and unzip it again?
German? Check the translated page here.
Commands
"/zip" will bring up this help menu:

| Command | Description |
| /zip list | List every file in the server folder |
| /zip list all | Same as /zip list |
| /zip list zip | List all the zip files in the server folder |
| /zip list folder | List all the folders in the server folder (e.g. "plugins") |
| /zip check [filename] | List all the files that have or contain that name. |
| /zip zip [folder] | Zip a folder. This command can take multiple commands, meaning that you can zip multiple files at once into one zip file. If you use /zip zip *, you will compress the whole server. |
| /zip unzip [zipfile] | Unzip a zip file. The zip file will have the same name as the zip file, only leaving out the ".zip" at the end |
| /zip delete [zipfile] | Delete a zip file. This command is turned off by default, it only can be activated in the config.yml file. You will have the same features here as in the /zip zip command. |
| /zip rename [zipfile] [new name] | Rename files such as world.zip to parkour.zip. It also checks, if the new name is already taken, which means that it's impossible to accidentally overwrite other files. |
Configuration
- Almost all messages completely configurable, including color and line breaks
- When using the /zip list command, you can sort the list either alphabetically or by its file type
- List all files that are included in the process of zipping or unzipping file
- Set the delete command available or not (setting it to false will even remove the command from the help menu)
- Full list here
Permissions
Without any permissions, only OPs (and the console) will be allowed to use all /zip commands.
For everything else, there's just one permission:
- zip.commands
Note: If a user does not have the permission, by default he will receive a "Unknown command. Type "help" for help." message. This message is configurable.
Uploading Zip Files
When creating a zip file, it is important to create the zip file in the world folder. If you compress the world folder itself, unzipping it will create 2 world folders inside of each other, which the server can't read.
评论 0
登录后参与评分
还没有评论,来抢沙发吧