
DiscordSchematicUploader 允许用户通过 DiscordSRV 从 Discord 上传和下载 WorldEdit 结构文件。
重要通知:如果您使用的是 DiscordSchematicUploader 1.6.0 或更早版本,请立即更新!后续版本包含针对潜在漏洞的修复补丁。
安装
DiscordSchematicUploader 需要 WorldEdit(或其分支之一)和 DiscordSRV 才能运行。在进行下一步之前,您需要先准备好这些插件。
安装非常简单,只需将插件拖入您的 plugins 文件夹即可。完成此操作后,重启服务器。
插件应会创建一个 config.yml 文件,您可以编辑该文件以更改插件的一些设置和消息。您需要做的第一件事是将角色添加到允许使用上传和下载命令的角色列表中。配置文件中的注释和示例将解释如何执行此操作。
命令
!upload [-o][-g or -p with FastAsyncWorldEdit] 附带附件文件:将结构文件上传到您的服务器。使用 -o 标志覆盖现有的结构文件。
!download [-g or -p with FastAsyncWorldEdit] <name>:从服务器下载结构文件。
结构文件上传频道
此插件允许您指定频道,任何上传到这些频道的结构文件都将自动处理,无论是否运行命令。

支持按玩家区分的结构文件
此插件支持 FastAsyncWorldEdit 的按玩家区分结构文件功能。有关更多详细信息,请参阅配置文件。
其他功能
- 完全可自定义的消息。
- [即将推出] 如果结构文件包含某些被禁用的方块、实体、消息或任何其他您能想到的内容,则阻止上传的功能。

DiscordSchematicUploader allows users to upload and download WorldEdit schematics from Discord using DiscordSRV.
IMPORTANT NOTICE: If you are using DiscordSchematicUploader 1.6.0 or earlier, update immediately! Later versions contain a patch for a potential exploit.
Installing
DiscordSchematicUploader requires WorldEdit (or one of its forks) and DiscordSRV to function. You will need these before going any further.
Installation itself is easy, simply drag and drop the plugin into your plugins folder. Once you have done this, restart your server.
The plugin should create a config.yml file which you can edit to change some settings and messages for the plugin. One of the first things you will need to do is add to the list of allowed roles for the upload and download commands. The comments and examples in the config will explain how to do this.
Commands
!upload [-o][-g or -p with FastAsyncWorldEdit] with an attached file: Upload a schematic to your server. Use the -o flag to overwrite an existing schematic.
!download [-g or -p with FastAsyncWorldEdit] <name>: Download a schematic from the server.
Schematic Upload Channels
This plugin allows you to designate channels where any schematic file that is uploaded will be automatically processed, regardless of whether a command is run.

Support for Per-Player Schematics
This plugin supports FastAsyncWorldEdit's per-player schematic feature. See the config for more details.
Other features
- Fully customisable messages.
- [Coming soon] Ability to prevent upload of a schematic if it contains certain banned blocks, entities, messages or anything else you can think of.
评论 0
登录后参与评分
还没有评论,来抢沙发吧