SchematicBrush 为 WorldEdit 提供了增强的编辑笔刷,允许使用标准笔刷工具功能快速、方便地应用特定或随机选择的结构文件。
支持信息
描述
SchematicBrush 是 Bukkit 平台上 WorldEdit 的一个简单附加插件。因此,在未正确安装 WorldEdit 的情况下,该插件无法使用。
SchematicBrush 为 WorldEdit 添加了一种新的笔刷控制类型——基于应用一个或多个结构文件的内容。启用后,每次使用笔刷工具都会将相应的结构文件加载到剪贴板中,可选择旋转和/或翻转数据,然后应用它,使给定结构的底部中心位于笔刷应用的位置。
笔刷可以设置为选择多个结构源:在这种情况下,每次使用工具时都会从列出的结构中随机选择一个。此外,每个选定的结构可以选择性地指定在粘贴之前用于旋转和/或翻转结构的特定值或随机值。结构规范的格式如下:
- 名称
- 名称@旋转角度
- 名称@旋转角度 翻转
- 名称:权重
- 名称@旋转角度:权重
- 名称@旋转角度 翻转:权重
其中:
- 名称 是要使用的结构文件的名称。名称还可以包含通配符(* 或 ?,如 Windows 或 Linux 命令行中使用的那样),或者可以是正则表达式(这些必须以 ^ 开头 - 有关正则表达式的详细信息,请参阅 )。在这些情况下,每次使用结构规范时,都会从匹配给定模式的结构中随机选择一个。
- 旋转角度 是在加载结构后要应用的旋转角度(以度为单位)(参见 rotate 命令)。如果指定了 '*',则随机选择一个旋转角度。其他有效值为 0(默认)、90、180 和 270。
- 翻转 是指定的翻转选项。如果指定了 '*',则进行随机选择(无、南北向或东西向)。如果指定了 'N' 或 'S',则在应用之前将加载的结构沿南北方向翻转。如果指定了 'E' 或 'W',则在应用之前将加载的结构沿东西方向翻转。
- 权重 允许对结构的随机选择进行具体控制。如果指定,则该值是选中给定结构的百分比机会。如果未指定,则该结构被选中的可能性与其他未指定权重的结构相同(并且所有这些都共享一旦那些指定了值的结构的权重值总和后的剩余百分比)。
SchematicBrush 还允许定义和使用结构集:持久化的结构规范命名集合。一旦定义,服务器上的任何授权用户都可以使用结构集。每个结构集由一个名称、一个可选的描述和一个或多个结构规范的列表组成。
要求
此插件需要 WorldEdit,并且已在 WorldEdit v5.5.6 上进行了测试。
命令
有关详细信息,请参阅 Wiki 中的 命令。
披露
此插件使用了 Hidendra 的插件指标系统,这意味着以下信息会被收集并发送到 mcstats.org:
- 唯一标识符
- 服务器的 Java 版本
- 服务器处于离线模式还是在线模式
- 插件的版本
- 服务器的版本
- 操作系统版本/名称和架构
- CPU 的核心数
- 在线玩家数量
- 指标版本
SchematicBrush provides an enhanced edit brush for WorldEdit, allowing specific or randomly selected schematics to be applied quickly and conveniently using the standard brush tool capabilities.
Support Information
Description
SchematicBrush is a simple add-on plugin for WorldEdit on the Bukkit platform. Consequently, the plugin cannot be used without WorldEdit having been properly installed.
SchematicBrush adds a new type of brush control for WorldEdit - one based on the application of contents of one or more schematic files. One activated, each use of the brush tool will load the appropriate schematic file into the clipboard, optionally rotate and/or flip the data, and then apply it with the center of the bottom of the given schematic centered on the location the brush was applied.
The brush can be set to select more than one schematic source : in this event, each use of the tool will randomly select a schematic among those listed. In addition, each schematic selected can optionally indicate that either a specific or a random value be used for rotating and/or flipping the schematic before it is pasted. The format for schematic specifications is as follows:
- name
- name@rotation
- name@rotation flip
- name:weight
- name@rotation:weight
- name@rotation flip:weight
where:
- name is the name of the schematic file to be used. Names can also include wildcards (* or ?, as used on Windows or Linux command line) or can be regular expressions (these must start with ^ - see for regex details). In these cases, each use of the schematic specification will randomly select one of the schematics matching the given pattern.
- rotation is the rotation, in degrees, to be applied to the schematic once loaded (see rotate command). If '*' is specified, a rotation is selected at random. Other valid values are 0 (default), 90, 180, and 270.
- flip is the flip option specified. If '*' is specified, a random selection is made (none, north-south, or east-west). If 'N' or 'S' is specified, the loaded schematic is flipped north-to-south before being applied. If 'E' or 'W' is specified, the loaded schematic is flipped east-to-west before being applied.
- weight allows specific control of the random selection of the schematic. If specified, the value is the percent chance that the given schematic will be selected. If not specified, the schematic is equally likely to be selected as any other that has not specified a weight (and all those share whatever percentage remains once the weight values for those schematics that specified a value are totaled).
SchematicBrush also allows definition and use of schematic sets: persistent named collections of schematic specifications. Once defined, a schematic set can be used by any authorized user on the server. Each schematic set consists of a name, an optional description, and a list of one or more schematic specifications.
Requirements
This plugin requires WorldEdit, and has been tested with WorldEdit v5.5.6
Commands
See Commands in Wiki for details.
Disclosure
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
评论 0
登录后参与评分
还没有评论,来抢沙发吧