WorldEditSelectionVisualizer
概览
WorldEditSelectionVisualizer (WESV) 本质上是将著名的 WorldEditCUI 模组以 Bukkit 插件的形式呈现,这意味着玩家无需在客户端安装任何内容。
功能
- 在世界编辑选择区域周围生成粒子效果,以便玩家可以看到它们
- 无需客户端模组
- 支持长方体、球体、椭球体、圆柱体、多边形和凸包选择
- 可以显示当前的剪贴板
- 使用
/wesv toggle 切换可视化器
- 可选择仅在手持选择物品时显示选择区域
- 可配置粒子效果和视距
- 防止玩家在选取巨大区域时生成过多粒子
- 高度可定制,以适应服务器的性能需求
- 同时支持 WorldEdit 和 FastAsyncWorldEdit
- 兼容从 1.7.10 开始的所有 Minecraft 版本
- 在 Minecraft 1.16 及更高版本的消息中支持 RGB 颜色代码,使用
&#rrggbb 格式
- 支持 PlaceholderAPI,占位符包括
%wesv_toggled_selection%、%wesv_toggled_clipboard%、%wesv_volume_selection% 和 %wesv_volume_clipboard%
- 支持 Folia 以获得更好的性能
截图
更多截图
用法
命令
/wesv toggle 和 /wesv toggle clipboard: 切换选择/剪贴板的可视化
/wesv lock: 锁定/解锁剪贴板可视化的原点到你的当前位置
/wesv lock tp: 传送至锁定的位置(当启用剪贴板可视化锁定时)
/wesv reload: 重新加载配置
权限
wesv.toggle: 使用切换命令
wesv.use: 允许开启可视化器
wesv.reload: 允许从 config.yml 文件重新加载此插件的配置
配置
此插件可能非常消耗资源,如果遇到卡顿,请尝试调整配置。
配置文件
# WorldEditSelectionVisualizer configuration
# 启用后,如果有新版本可用,它将在启用时在控制台中显示一条消息
check-updates: true
# 你可以在这里编辑插件消息
messages:
no-permissions: "&c你没有权限使用此命令。"
config-reloaded: "&a配置已重新加载"
selection-too-large: "&6可视化器仅适用于大小不超过 %blocks% 个方块的选择区域。"
visualizer-enabled: "&6你的可视化器已 &e启用。"
visualizer-disabled: "&6你的可视化器已 &c禁用。"
visualizer-clipboard-enabled: "&6你的剪贴板可视化器已 &e启用&6。"
visualizer-clipboard-disabled: "&6你的剪贴板可视化器已 &c禁用&6。"
# 启用后,如果玩家禁用了选择可视化并离开服务器,当他们回来时
# 选择可视化仍将处于禁用状态,直到他们再次使用 /wesv toggle 激活它。
save-toggle: true
# 更新世界编辑选择和剪贴板时的延迟(以刻为单位)。
# 这不会影响粒子生成和玩家性能。
# 服务器影响为中等
selection-update-interval: 20
# 启用后,粒子仅在手持世界编辑选择法杖物品时显示(默认为木斧)
# 你可以在世界编辑配置中更改世界编辑法杖物品
need-we-wand: false
# 启用后,长方体选择将显示顶部和底部的粒子
cuboid-top-bottom: false
可视化设置
'selection': WorldEdit 当前选区
'clipboard': WorldEdit 剪贴板(当你使用 //copy 或 //schem load 时)
'primary': 主要选择点(区域边界)
'secondary': 次要选择点
'fade-delay': 粒子消失前的秒数。你可以将其设置为 0 以移除淡出延迟
'max-selection-size' : 要显示的最大选区尺寸。较大的值(> 1000000)可能导致严重的卡顿
'points-distance': 每个粒子之间的距离。该数值越高,生成的粒子越少
'lines-gap'(仅限次要选区):长方体和多边形上各粒子线之间的距离。该数值越高,生成的粒子越少。将其设置为 0 以移除长方体线条
'update-interval': 粒子生成之间的延迟(以刻为单位)。这会影响玩家的性能
'view-distance': 玩家能看到粒子的最大距离。在 1.7.10 中,粒子距离限制为 16(Minecraft 限制)
'particles': 粒子类型和数据。数据可以是像红石那样的颜色,格式为 'r,g,b',或者是用于方块破坏/物品破坏的 Material
粒子类型可在 找到
visualization:
selection:
fade-delay: 0
max-selection-size: 50000
primary:
points-distance: 1.0
update-interval: 12
view-distance: 64
particles:
type: "FLAME"
data: ""
secondary:
points-distance: 3.0
lines-gap: 5.0
update-interval: 18
view-distance: 32
particles:
type: "REDSTONE"
data: "RED"
clipboard:
fade-delay: 0
max-selection-size: 50000
primary:
points-distance: 1.0
update-interval: 12
view-distance: 64
particles:
type: "FLAME"
data: ""
secondary:
points-distance: 3.0
lines-gap: 5.0
update-interval: 18
view-distance: 32
particles:
type: "REDSTONE"
data: "BLUE"
</details>
### 视频
## Bug 与建议
请不要在评论部分提交 bug 或建议,请在 [GitHub 上开启 issue](https://github.com/MrMicky-FR/WorldEditSelectionVisualizer/issues)。
如果你只是有疑问,可以在我的 [Discord 服务器](https://discord.gg/q9uwabt) 上提问。
如果你喜欢这个插件,可以留下评论或给 [GitHub 项目](https://github.com/MrMicky-FR/WorldEditSelectionVisualizer) 加星。
## 原作者
WorldEditSelectionVisualizer (WESV) 最初由 [rojet601](https://dev.bukkit.org/members/rojet601) 创建。由于该用户自 2015 年 11 月起不再活跃,且插件中存在一些错误,[ZathrusWriter](https://www.spigotmc.org/members/zathruswriter.137995/) 决定发布一个修复了这些错误的、兼容 1.8 及更高版本的版本。
WorldEditSelectionVisualizer
Overview
WorldEditSelectionVisualizer (WESV) is essentially the famous WorldEditCUI mod in the form of a Bukkit plugin, meaning players do not need to install anything on their client.
Features
- Spawns particles around WorldEdit selections so players can see them
- No client mod required
- Supports cuboid, sphere, ellipsoid, cylinder, polygon, and convex selections
- Can display the current clipboard
- Use
/wesv toggle to toggle the visualizer
- Option to show the selection only when holding the selection item
- Configurable particle effect and view distance
- Prevents players from spawning too many particles when selecting huge regions
- Highly customizable for your server's performance
- Supports both WorldEdit and FastAsyncWorldEdit
- Compatible with all Minecraft versions starting from 1.7.10
- Supports RGB color codes in messages on Minecraft 1.16 and higher, using the
&#rrggbb format
- PlaceholderAPI support, with the placeholders
%wesv_toggled_selection%, %wesv_toggled_clipboard%, %wesv_volume_selection%, and %wesv_volume_clipboard%
- Folia support for better performance
Screenshots
| Cuboid selection |
Cylinder selection |
Convex selection |
 |
 |
 |
More screenshots
Usage
Commands
/wesv toggle and /wesv toggle clipboard: toggle the selection/clipboard visualization
/wesv lock: lock/unlock the origin of the clipboard visualization to your current location
/wesv lock tp: teleport to the lock location (when clipboard visualization lock is enabled)
/wesv reload: reload the configuration
Permissions
wesv.toggle: use the toggle command
wesv.use: allows the visualizer to be turned on
wesv.reload: allows the configuration of this plugin to be reloaded from the config.yml file
Configuration
This plugin can be very resource expensive, try adjusting the configuration if you experience lag.
Configuration File
# WorldEditSelectionVisualizer configuration
# When enabled, if a new update is available it will display a message in the console on enable
check-updates: true
# You can edit the plugin messages here
messages:
no-permissions: "&cYou don't have the permission to use this command."
config-reloaded: "&aThe config was reloaded"
selection-too-large: "&6The visualizer only works with selections up to a size of %blocks% blocks."
visualizer-enabled: "&6Your visualizer has been &eenabled."
visualizer-disabled: "&6Your visualizer has been &cdisabled."
visualizer-clipboard-enabled: "&6Your clipboard visualizer has been &eenabled&6."
visualizer-clipboard-disabled: "&6Your clipboard visualizer has been &cdisabled&6."
# When enabled, if a player disables the selection visualization and leaves the server, when he will
# come back, the selection visualization will be still disabled until he activates it again with /wesv toggle.
save-toggle: true
# Delay in ticks when the WorldEdit selection and clipboard are updated.
# This doesn't affect particles spawning and players performances.
# The server impact is medium
selection-update-interval: 20
# When enabled, the particles are displayed only when holding the WorldEdit selection wand item (by default a wooden axe)
# You can change the WorldEdit wand item in the WorldEdit configuration
need-we-wand: false
# When enabled, top and bottom particles will be displayed for cuboid selections
cuboid-top-bottom: false
# Settings for visualization
# 'selection': The WorldEdit current selection
# 'clipboard': The WorldEdit clipboard (when you use //copy or //schem load )
# 'primary': The primary selection points (the region borders)
# 'secondary': The secondary selection points
# 'fade-delay': The number of seconds before the particles disappears. You can set it to 0 to remove the fade delay
# 'max-selection-size' : The maximum size of a selection to be display. A big value (> 1000000) can cause important lags
# 'points-distance': The distance between each particle. The higher this number is, fewer particles will be spawn
# 'lines-gap' (secondary selection only): The distance between each particles lines on cuboid and polygon. The higher this number is, fewer particles will be spawn. Set it to 0 to remove cuboid lines
# 'update-interval': The delay in ticks between particles spawn. This impact the players performances
# 'view-distance': The maximum distance in which players can see the particles. On 1.7.10 the particle distance is limited to 16 (Minecraft limitation)
# 'particles': The particles type and data. The data can be a color for redstone like in the form 'r,g,b' or a Material for block crack/item crack
# The particle types are available on https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
visualization:
selection:
fade-delay: 0
max-selection-size: 50000
primary:
points-distance: 1.0
update-interval: 12
view-distance: 64
particles:
type: "FLAME"
data: ""
secondary:
points-distance: 3.0
lines-gap: 5.0
update-interval: 18
view-distance: 32
particles:
type: "REDSTONE"
data: "RED"
clipboard:
fade-delay: 0
max-selection-size: 50000
primary:
points-distance: 1.0
update-interval: 12
view-distance: 64
particles:
type: "FLAME"
data: ""
secondary:
points-distance: 3.0
lines-gap: 5.0
update-interval: 18
view-distance: 32
particles:
type: "REDSTONE"
data: "BLUE"
Video
Bugs & suggestions
Please don't post bugs or suggestions in the review section, but please open an issue on GitHub.
If you just have a question, you can ask it on my Discord server.
And if you like this plugin you can leave a review or star the GitHub project.
Original Author
WorldEditSelectionVisualizer (WESV) has been originally created by rojet601. Since this user's gone inactive since November 2015 and the plug-in contains some errors, ZathrusWriter decided to release an 1.8. forward-compatible version with those errors fixed.
评论 0
登录后参与评分
还没有评论,来抢沙发吧