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?
“/zip” will bring up this help menu:
|/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.|
- 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)
Without any permissions, only OPs (and the console) will be allowed to use all /zip commands. For everything else, there’s just one permission:
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.