• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

ZipExtractor

来自Minecraft插件百科
Qsefthuopq留言 | 贡献2018年12月1日 (六) 14:47的版本
跳转到导航 跳转到搜索

欢迎来到ZipExtracter插件词条

插件名
ZipExtracter-压缩包解压器

作者
TheKraken7

版本
2.0.0

兼容版本
1.8-1.13

下载地址

介绍  · Introduction


ZipExtractor可以让你在游戏里通过指令进行解压和压缩服务器文件。
因为你无法在FTP内解压和压缩文件,所以这个插件非常有用。 虽然插件准备了许多安全措施,但请注意,你的操作无法撤销。
源文件和目标文件路径可在config.yml内设置。 一次只能设置一个路径. 如果你直接在 config.yml 内修改数值,你必须重载插件才能应用新数值。

特点  · Features

  • 在游戏内解压ZIP、 RAR、JAR、PACK和XZ格式的压缩包.
  • 压缩任何文件和根目录的文件到ZIP压缩包内.
  • 把JAR格式的压缩包和非目录文件转换为XZ格式。
  • 如果有多项解压任务将会自动按队列执行解压.
  • 可配置线程池执行器(Thread Pool Executor)来设置一次性可运行的最大和最小队列线程数。在紧急情况下,线程池可以在任何时候关闭
  • 可设置在提取/压缩将导致文件被覆盖时发出警告消息。
    • 如果启用,用户需要额外的权限才能执行进程。
    • 对于解压, 您可以查看在进行该过程之前将被覆盖的每个文件
  • bStats记录插件数据

Commands · 指令 & 权限  ·

指令

</tbody>
指令 描述 所需权限
/ze help [cmd] 查看指令帮助. zipextractor.admin.use
/ze extract 开始解压.目标文件将会解压指定目录内. zipextractor.admin.extract
/ze extract view [page] If a process was halted because it could result in overriden files, you may use this command to view exactly which files would be overriden. The files are listed as relative paths with respect to the destination directory. zipextractor.admin.extract
/ze compress Begin a compression process. The source file/directory will be compressed to the destination path. The compression type depends on the extension of the destination. If you use .zip, it will be compressed to zip archive. zipextractor.admin.compress
/ze src [-absolute] View the currently defined source path. If you pass the -absolute parameter the path will be an absolute path as defined by the File System. zipextractor.admin.src
/ze dest [-absolute] View the currently defined destination path. If you pass the -absolute parameter the path will be an absolute path as defined by the File System. zipextractor.admin.dest
/ze setsrc 定义目标文件路径. 这可以是 relative or absolute path. zipextractor.admin.setsrc
/ze setdest 定义目标文件存储路径.这可以是 relative or absolute path. zipextractor.admin.setdest
/ze status This command will display the status of the executor service. If the service has not been terminated, the number of active and queued processes will be displayed. zipextractor.harmless.status
/ze plugindir 查看插件配置目录的路径. zipextractor.admin.plugindir
/ze terminate This command will initiate the shutdown proccess for the plugin's execution servicer. Any queued tasks at the time of shutdown will be allowed to finish. It is recommended not to shutdown or restart the server until this has finished. zipextractor.admin.terminate
/ze forceterminate This command will forcibly shutdown the plugin's execution servicer and send a request to interrupt and terminate any queued and proccessing tasks. This type of termination is not recommended. zipextractor.admin.forceterminate
/ze reload This command will reload the configuration file. It's necessary to do this after you edit the config file directly. If you use the built-in commands it's automatically reloaded after each edit. zipextractor.admin.reload
/ze version Displays the plugin's version information and provides links to the source code and metrics page. -

权限

权限 描述 默认
zipextractor.* 所有ZipExtractor的权限. OP
zipextractor.admin.* Access to administrator commands. OP
zipextractor.admin.use 允许使用/ZipExtractor OP
zipextractor.admin.extract 允许使用/ZipExtractor extract OP
zipextractor.admin.compress 允许使用/ZipExtractor compress OP
zipextractor.admin.override.extract 如果已启用 warn_on_conflicts, 允许使用/ZipExtractor extract -override OP
zipextractor.admin.override.compress 如果已启用 warn_on_conflicts, 允许使用/ZipExtractor compress -override OP
zipextractor.admin.src 允许使用/ZipExtractor src OP
zipextractor.admin.dest 允许使用/ZipExtractor dest OP
zipextractor.admin.setsrc 允许使用/ZipExtractor setsrc OP
zipextractor.admin.setdest 允许使用/ZipExtractor setdest OP
zipextractor.admin.plugindir 允许使用/ZipExtractor plugindir OP
zipextractor.admin.terminate 允许使用/ZipExtractor terminate OP
zipextractor.admin.forceterminate 允许使用/ZipExtractor forceterminate OP
zipextractor.admin.reload 允许使用/ZipExtractor reload OP
zipextractor.harmless.* 允许使用安全的指令. OP
zipextractor.harmless.status 允许使用 /ZipExtractor status OP
zipextractor.harmless.notify 玩家

配置  · Configuration

config.yml

翻译中...



链接  · Links

Github源码
Github源码