- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
ZipExtractor:修订间差异
跳转到导航
跳转到搜索
Qsefthuopq(留言 | 贡献) 无编辑摘要 |
Qsefthuopq(留言 | 贡献) 无编辑摘要 |
||
第38行: | 第38行: | ||
<p style="color:#ffffff;font-size: 22px;text-align: center;margin:0; padding:16px;background-color: #3385ff;">特点 {{·}} Features</p> | <p style="color:#ffffff;font-size: 22px;text-align: center;margin:0; padding:16px;background-color: #3385ff;">特点 {{·}} Features</p> | ||
<div style="padding:10px 20px;"> | <div style="padding:10px 20px;"> | ||
* | * 在游戏内解压'''ZIP、 RAR、JAR、PACK和XZ'''格式的压缩包. | ||
* 压缩任何文件和根目录的文件到ZIP压缩包内. | * 压缩任何文件和根目录的文件到ZIP压缩包内. | ||
* 把JAR格式的压缩包和非目录文件转换为XZ格式。 | * 把JAR格式的压缩包和非目录文件转换为XZ格式。 | ||
* 如果有多项解压任务将会自动按队列执行解压. | * 如果有多项解压任务将会自动按队列执行解压. | ||
* | * 可配置[http://tutorials.jenkov.com/java-util-concurrent/threadpoolexecutor.html 线程池执行器](Thread Pool Executor)来设置一次性可运行的最大和最小队列线程数。在紧急情况下,线程池可以在任何时候关闭 | ||
* 可设置在提取/压缩将导致文件被覆盖时发出警告消息。 | * 可设置在提取/压缩将导致文件被覆盖时发出警告消息。 | ||
** 如果启用,用户需要额外的权限才能执行进程。 | ** 如果启用,用户需要额外的权限才能执行进程。 | ||
** 对于解压, 您可以查看在进行该过程之前将被覆盖的每个文件 | ** 对于解压, 您可以查看在进行该过程之前将被覆盖的每个文件 | ||
* | * 由[https://bstats.org/plugin/bukkit/ZipExtractor bStats]记录插件数据 | ||
</div> | </div> | ||
第52行: | 第52行: | ||
<div style="float:none;-webkit-border-image: none;color: #333;height: auto;line-height: 20px;margin: 35px 0 0 0;min-height: 20px;background-color: #f8f8f8;box-shadow:0 0 10px rgba(193, 193, 193, 0.5);-webkit-box-shadow:0 0 10px rgba(193, 193, 193, 0.5);-moz-box-shadow:0 0 10px rgba(193, 193, 193, 0.5);width:100%;"> | <div style="float:none;-webkit-border-image: none;color: #333;height: auto;line-height: 20px;margin: 35px 0 0 0;min-height: 20px;background-color: #f8f8f8;box-shadow:0 0 10px rgba(193, 193, 193, 0.5);-webkit-box-shadow:0 0 10px rgba(193, 193, 193, 0.5);-moz-box-shadow:0 0 10px rgba(193, 193, 193, 0.5);width:100%;"> | ||
<!--标题--> | <!--标题--> | ||
<p style="color:#ffffff;font-size: 22px;text-align: center;margin:0; padding:16px;background-color: #3385ff;">Commands{{·}}指令 & 权限 {{·}} | <p style="color:#ffffff;font-size: 22px;text-align: center;margin:0; padding:16px;background-color: #3385ff;">Commands{{·}}指令 & 权限 {{·}} | ||
<!--PYTHON&DJANGO--> | <!--PYTHON&DJANGO--> | ||
<div id="mf-documentation" style="display: table-cell; -webkit-border-image: none;height: auto;line-height: 20px;min-height: 20px;width: 49%;background-color: #f8f8f8;box-shadow:0 0 10px rgba(193, 193, 193, 0.5);-webkit-box-shadow:0 0 10px rgba(193, 193, 193, 0.5);-moz-box-shadow:0 0 10px rgba(193, 193, 193, 0.5); padding:20px;"> | <div id="mf-documentation" style="display: table-cell; -webkit-border-image: none;height: auto;line-height: 20px;min-height: 20px;width: 49%;background-color: #f8f8f8;box-shadow:0 0 10px rgba(193, 193, 193, 0.5);-webkit-box-shadow:0 0 10px rgba(193, 193, 193, 0.5);-moz-box-shadow:0 0 10px rgba(193, 193, 193, 0.5); padding:20px;"> | ||
第61行: | 第59行: | ||
</p> | </p> | ||
<p style="display:block; text-align:left; color: #444; font-size: 12pt;"> | <p style="display:block; text-align:left; color: #444; font-size: 12pt;"> | ||
/ | <table> | ||
<tr> | |||
<th align="left">指令</th> | |||
<th align="left">描述</th> | |||
<th align="left">所需权限</th> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze help [cmd]</strong></td> | |||
<td align="left">查看指令帮助.</td> | |||
<td align="left"><code>zipextractor.admin.use</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze extract</strong></td> | |||
<td align="left">开始解压.目标文件将会解压<em>到</em>指定目录内.</td> | |||
<td align="left"><code>zipextractor.admin.extract</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze extract view [page]</strong></td> | |||
<td align="left">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.</td> | |||
<td align="left"><code>zipextractor.admin.extract</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze compress</strong></td> | |||
<td align="left">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 <code>.zip</code>, it will be compressed to <code>zip</code> archive.</td> | |||
<td align="left"><code>zipextractor.admin.compress</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze src [-absolute]</strong></td> | |||
<td align="left">View the currently defined source path. If you pass the <code>-absolute</code> parameter the path will be an absolute path as defined by the File System.</td> | |||
<td align="left"><code>zipextractor.admin.src</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze dest [-absolute]</strong></td> | |||
<td align="left">View the currently defined destination path. If you pass the <code>-absolute</code> parameter the path will be an absolute path as defined by the File System.</td> | |||
<td align="left"><code>zipextractor.admin.dest</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze setsrc </strong></td> | |||
<td align="left">定义目标文件路径. 这可以是 <em>relative</em> or <em>absolute</em> path.</td> | |||
<td align="left"><code>zipextractor.admin.setsrc</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze setdest </strong></td> | |||
<td align="left">定义目标文件存储路径.这可以是 <em>relative</em> or <em>absolute</em> path.</td> | |||
<td align="left"><code>zipextractor.admin.setdest</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze status</strong></td> | |||
<td align="left">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.</td> | |||
<td align="left"><code>zipextractor.harmless.status</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze plugindir</strong></td> | |||
<td align="left">查看插件配置目录的路径.</td> | |||
<td align="left"><code>zipextractor.admin.plugindir</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze terminate</strong></td> | |||
<td align="left">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.</td> | |||
<td align="left"><code>zipextractor.admin.terminate</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze forceterminate</strong></td> | |||
<td align="left">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.</td> | |||
<td align="left"><code>zipextractor.admin.forceterminate</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze reload</strong></td> | |||
<td align="left">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.</td> | |||
<td align="left"><code>zipextractor.admin.reload</code></td> | |||
</tr> | |||
<tr> | |||
<td align="left"><strong>/ze version</strong></td> | |||
<td align="left">Displays the plugin's version information and provides links to the source code and metrics page.</td> | |||
<td align="left">-</td> | |||
</tr> | |||
</tbody> | |||
</table> | |||
</p> | </p> | ||
</div> | </div> | ||
第73行: | 第148行: | ||
</p> | </p> | ||
<p style="display:block; text-align:Right; color: #444; font-size: 12pt;"> | <p style="display:block; text-align:Right; color: #444; font-size: 12pt;"> | ||
<table> | |||
* | <tr> | ||
<th align="left">权限</th> | |||
<th align="left">描述</th> | |||
<th align="left">默认</th> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.*</code></td> | |||
<td align="left">所有ZipExtractor的权限.</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.*</code></td> | |||
<td align="left">Access to administrator commands.</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.use</code></td> | |||
<td align="left">允许使用/ZipExtractor</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.extract</code></td> | |||
<td align="left">允许使用/ZipExtractor extract</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.compress</code></td> | |||
<td align="left">允许使用/ZipExtractor compress</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.override.extract</code></td> | |||
<td align="left">如果已启用 <code>warn_on_conflicts</code>, 允许使用/ZipExtractor extract -override</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.override.compress</code></td> | |||
<td align="left">如果已启用 <code>warn_on_conflicts</code>, 允许使用/ZipExtractor compress -override</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.src</code></td> | |||
<td align="left">允许使用/ZipExtractor src</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.dest</code></td> | |||
<td align="left">允许使用/ZipExtractor dest</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.setsrc</code></td> | |||
<td align="left">允许使用/ZipExtractor setsrc</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.setdest</code></td> | |||
<td align="left">允许使用/ZipExtractor setdest</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.plugindir</code></td> | |||
<td align="left">允许使用/ZipExtractor plugindir</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.terminate</code></td> | |||
<td align="left">允许使用/ZipExtractor terminate</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.forceterminate</code></td> | |||
<td align="left">允许使用/ZipExtractor forceterminate</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.admin.reload</code></td> | |||
<td align="left">允许使用/ZipExtractor reload</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.harmless.*</code></td> | |||
<td align="left">允许使用安全的指令.</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.harmless.status</code></td> | |||
<td align="left">允许使用 /ZipExtractor status</td> | |||
<td align="left">OP</td> | |||
</tr> | |||
<tr> | |||
<td align="left"><code>zipextractor.harmless.notify</code></td> | |||
<td align="left">玩家 | |||
</table> | |||
</p> | |||
</div> | |||
</p> | </p> |
2018年12月1日 (六) 14:47的版本
介绍 · Introduction
ZipExtractor可以让你在游戏里通过指令进行解压和压缩服务器文件。
因为你无法在FTP内解压和压缩文件,所以这个插件非常有用。 虽然插件准备了许多安全措施,但请注意,你的操作无法撤销。
源文件和目标文件路径可在config.yml内设置。 一次只能设置一个路径. 如果你直接在 config.yml 内修改数值,你必须重载插件才能应用新数值。
特点 · Features
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