HoleFiller 插件
HoleFiller 是一款轻量且功能强大的 Minecraft Paper 插件,旨在帮助玩家在生存模式下轻松填充区域、洞穴和坑洞,同时不会替换现有方块。玩家无需繁琐的手动放置,只需选择两个点,即可让插件自动完成工作!
✨ 特性
- 生存模式友好:玩家库存中必须拥有所需的方块才能进行填充。放置时会消耗方块。(创造模式下完全免费)。
- 可视化选择:使用时钟右键和左击来定义你的区域。视觉火焰粒子将实时显示一个 3D 边界框,勾勒出你所选的区域。
- 智能替换:插件仅替换空气、水、岩浆和草方块。它绝不会覆盖已经放置的实心方块或建筑物。
- 交互式 GUI:打开可视化菜单(
/fillarea),允许玩家选择生成立方体、球体、空心立方体还是空心球体。随后,他们可以从自己的库存中点击选择要使用的方块。
- 防卡顿系统:方块会随时间逐步放置(例如每刻 500 个方块),以防止在大规模选择时导致服务器崩溃或出现卡顿。
- 安全的撤销系统:操作失误?使用
/fillundo 立即撤销上一次操作并安全退还方块!插件内置防重复机制,确保玩家无法利用退款系统进行作弊。
- 智能方块连接:栅栏、玻璃板和白墙等具有连接纹理的方塊会自动与相邻方块连接。楼梯和原木等方块的朝向会在执行命令时自动与玩家的旋转方向对齐。
- 多语言支持:配置完全可翻译,原生支持英语、法语、西班牙语和德语。
?️ 命令
/fillarea - 打开交互式 GUI 以选择填充区域的形状和材质。(需要已激活的选择区域)。
/fillundo - 撤销你上一次的填充操作,并将方块安全地退还到你的库存中。
/filllang <en|fr|es|de> - 管理员命令,用于在游戏内直接更改插件的活动语言,无需重启。
/fillconfig <setting> <value> - 管理员命令,用于在游戏内动态更改 config.yml 中的变量(例如 /fillconfig max_blocks 100000)。支持的选项包括 max_blocks、blocks_per_tick 和 OnlyForOp。
? 权限
holefiller.use - 允许玩家使用选择时钟、/fillarea 和 /fillundo。
holefiller.admin - 允许管理员使用 /filllang 和 /fillconfig。
(注意:如果在配置中将 OnlyForOp 设置为 true,则权限检查将被绕过,只有服务器操作员才能使用该插件)。
⚙️ 配置 (config.yml)
config.yml 文件会自动生成,包含以下参数:
lang:设置插件的默认语言。原生选项:en、fr、es、de。(默认值:en)。
OnlyForOp:如果设置为 true,无论标准权限节点如何,只有服务器操作员(OP)才能使用选择工具和命令。(默认值:true)。
max_blocks:单次操作中玩家可修改的最大方块数量。防止玩家意外选择整个地图。(默认值:50000)。
blocks_per_tick:填充操作期间每个服务器刻(1/20 秒)放置的方块数量。如果服务器在大范围填充时出现卡顿,请降低此值。(默认值:500)。
? 使用方法
- 在主手持有时钟。
- 左击一个方块以设置位置 1。
- 右击一个方块以设置位置 2。(你的选择区域周围将出现火焰轮廓框)。
- 输入
/fillarea 打开 GUI。
- 点击灰色玻璃块以选择所需的形状(立方体、球体、空心立方体、空心球体)。
- 点击 GUI 底部区域(玩家库存)中你想要用来填充区域的方块。
- 插件将计算所需方块,从你的库存中扣除它们,并开始逐步填充!
- 如果操作失误,立即输入
/fillundo 以还原地形并取回方块。
HoleFiller Plugin
HoleFiller is a lightweight and powerful Minecraft Paper plugin designed to help players easily fill areas, caves, and holes in survival mode without replacing existing blocks. Instead of tedious manual placement, players can select two points and let the plugin do the work!
✨ Features
- Survival Friendly: Players must have the required blocks in their inventory. Blocks are consumed upon placement. (Completely free in Creative Mode).
- Visual Selection: Use a Clock to right-click and left-click to define your area. Visual flame particles will display a 3D bounding box outlining your selection in real-time.
- Smart Replacement: The plugin only replaces air, water, lava, and grass. It will never overwrite solid blocks or buildings that are already placed.
- Interactive GUI: Opens a visual menu (
/fillarea) allowing players to choose whether they want to generate a Cube, a Sphere, a Hollow Cube, or a Hollow Sphere. They then click the block they want to use from their own inventory.
- Anti-Lag System: Blocks are placed progressively over time (e.g., 500 blocks per tick) to prevent server crashes or lag spikes on massive selections.
- Secure Undo System: Made a mistake? Use
/fillundo to instantly revert your last action and get your blocks refunded! The plugin has anti-duplication checks to ensure players cannot exploit the refund system.
- Smart Block Connections: Connected textures like Fences, Glass Panes, and Walls automatically connect to adjacent blocks. Block orientation (like Stairs or Logs) automatically aligns with the player's rotation when executing the command.
- Multi-Language Support: Fully translatable configurations, natively supporting English, French, Spanish, and German.
?️ Commands
/fillarea - Opens the interactive GUI to select the shape and material for the filled area. (Requires an active selection).
/fillundo - Reverts your last fill action and refunds the blocks safely to your inventory.
/filllang <en|fr|es|de> - Admin command to change the plugin's active language directly in-game without restarting.
/fillconfig <setting> <value> - Admin command to change config.yml variables in-game dynamically (e.g., /fillconfig max_blocks 100000). Supported options are max_blocks, blocks_per_tick, and OnlyForOp.
? Permissions
holefiller.use - Allows a player to use the selection clock, /fillarea, and /fillundo.
holefiller.admin - Allows an admin to use /filllang and /fillconfig.
(Note: If OnlyForOp is set to true in the config, permissions are bypassed and only Server Operators can use the plugin).
⚙️ Configuration (config.yml)
The config.yml file is automatically generated and contains the following parameters:
lang: Sets the default language of the plugin. Native options: en, fr, es, de. (Default: en).
OnlyForOp: If set to true, only server Operators (OPs) can use the selection tools and commands, regardless of standard permission nodes. (Default: true).
max_blocks: The maximum number of blocks a player can modify in a single operation. Prevents players from selecting the entire map by accident. (Default: 50000).
blocks_per_tick: The number of blocks placed per server tick (1/20th of a second) during a fill operation. Lower this value if your server experiences lag during large fills. (Default: 500).
? How to Use
- Hold a Clock in your main hand.
- Left-Click a block to set Position 1.
- Right-Click a block to set Position 2. (A fiery outline box will appear around your selection).
- Type
/fillarea to open the GUI.
- Click on the gray glass to choose your desired shape (Cube, Sphere, Hollow Cube, Hollow Sphere).
- Click on the block in your player inventory (bottom section of the GUI) that you want to use to fill the area.
- The plugin will calculate the required blocks, consume them from your inventory, and begin filling progressively!
- If you made a mistake, type
/fillundo immediately to revert the terrain and get your blocks back.
评论 0
登录后参与评分
还没有评论,来抢沙发吧