
Libelula Protection Blocks
关于版本
更易于使用的私有化系统!只需放置一个方块即可私有化一片区域,并与好友共享安全区。这些区域完全可配置,玩家无需任何权限即可使用保护措施或在商店中购买。本插件的主要理念是为玩家提供一种简单、安全的建筑保护方式。
使用方法非常简单:只需购买一个保护方块并将其放置在你希望保护的区域内即可。
这是支持 Minecraft 1.8 和 WorldGuard 6.0 的 新版(2.0)插件。如果您正在寻找该插件的旧版本,请点击此处。
导入 ProtectionStones 的保护设置
如果您正在使用传统的 ProtectionStones 插件,现在可以迁移到这个更新、更好且受支持的版本。为此,请将 ProtectionStones.jar 文件和 ProtectionStones 文件夹保留在 plugins 文件夹中,并将 LibelulaProtectionBlocks.jar 复制到此文件夹内。
此插件首次启动时,将导入 ProtectionStones 的配置并禁用它。
语言
目前仅支持英语、西班牙语和德语。我希望在不久的将来支持更多语言,不过你仍然可以通过编辑配置文件和语言文件来自定义消息。
- 特别感谢 EvilOlaf/Krauti2 提供的德语翻译。
(非常感谢你们对翻译工作的帮助,如果你发送给我翻译好的文件,我会在未来的版本中加入并附上你的署名)。
功能特性
- 允许管理员创建用于出售防护方块的商店,使玩家能够在没有服务器工作人员协助的情况下保护自己的建筑。
- 管理员可以使用一条命令移除某个玩家的所有方块。
- 你可以定义玩家在其区域中可以设置的“标志”(flags)。默认情况下包含 WorldGuard 提供的大部分标志,但排除了那些可能被用于设置陷阱的标志,例如禁止聊天、传送等。
- 保护优先级自动配置,因此玩家可以先放置覆盖大面积区域(如整个城市)的方块来建造城市,然后再为每个地块放置方块,并可以在这些地块中添加一个或多个玩家。
- 可以定义一个世界列表,在这些世界中不能放置防护方块。
- 防护方块可以由任何作为方块且不受重力影响的材质制作而成。
- 玩家可以管理其区域的 WorldGuard 标志,例如箱子访问、使用、PVP 等。
- 每个保护区域的尺寸完全由玩家自定义,你可以将保护区域定义得如同城市般庞大,也可以小到仅一个方块。宽度、长度和高度的数值可以各不相同,唯一的限制是受保护的区域必须是一个长方体。
- 与 Libelula Protected Secured Zone 插件集成,以便玩家可以在其所在区域内启用或禁用此功能。
- 兼容其他保护类插件,如 MMCO、Towny 和 Precious Stones。
- 所有提示信息均翻译为服务器配置的语言。
- 支持保护方块的旗帜(Flag)功能。
- 可根据用户/权限组限制活跃保护的数量。
- 自动导入 ProtectionStones 放置的方块。
- 完全免费的软件,所有源代码均可在 GitHub 上找到。
商店
商店是由简单的告示牌构成,用于指定保护方块的尺寸、价格和材质。要创建商店,你只需放置一个包含以下信息的告示牌:
- 第一行写上 [lpb]:这告诉插件这是一个 Libelula Protection Blocks 的告示牌。
- 第二行写上 length x height x width(长 x 高 x 宽):这指定了放置方块时要保护的区域大小。
- 第三行写上 sale price(售价):玩家购买该方块需要支付的价格。
- 第四行写上 material(材质):方块所使用的材质名称。
例如,下一个告示牌将创建一个商店,出售在所有方向上覆盖 11 个方块的保护区域,售价为 $200,材质为石头。

要购买此保护,只需右键点击告示牌即可。
以下是 Libelula Protection Blocks 商店的一个示例:

旗帜(Flags)
旗帜是一项新功能,自 0.1.2 Beta 及更新版本起支持,它允许管理员向保护方块添加一些标志属性。可以通过手持保护方块使用命令,或通过商店告示牌来添加旗帜。
以下是当前可用的旗帜列表:
| 旗帜名称 | 商店告示牌(第一行) | 命令(手持保护方块时) | 描述 |
| Automatic fence | [lpb]+f | /ps +fence | 在受保护区域的边界生成栅栏 |
更多旗帜即将推出……
性能
与所有 Libelula 插件一样,性能是本插件的核心设计原则之一。在设计过程中,已充分考虑以最小化服务器的负载压力。
延迟增加(毫秒)对比
|  |  |
| 方块破坏事件(10000 个草方块) | 方块放置事件(10000 个草方块) |
| LibelulaProtectionBlocks v0.1.4 | 39458343 | 94455064 |
| ProtectionStones v1.9c | 55305571 | 102961103 |
|  |  |
| 保护方块已放置(10000 个保护区域) | 保护方块已移除(10000 个保护区域) |
| LibelulaProtectionBlocks v0.1.4 | 1304573012 | 686543 |
| ProtectionStones v1.9c | 128164324985 | 127373299899 |
安装方法
如果您此前未使用过旧的 Stones Protection 插件,只需将 LibelulaProtectionBlocks.jar 文件放入 plugins 文件夹并重启服务器即可。
命令与权限
详细信息请参阅 Commands and Permissions 页面。
配置
Libelula Protección Blocks 是一款开箱即用的插件,但您仍可通过配置文件调整部分行为。具体操作请参考 configuration page。
依赖项
- WorldGuard 6.0 用于定义受保护区域。
- Vault 为可选依赖,用于管理商店经济系统。若未安装 Vault 插件,Libelula Protection Blocks 的商店功能将无法正常工作。
未来版本计划
我们为用户提供提交建议或新功能请求工单的机会,相关功能将在获得足够票数后予以开发。此外,在正式推出首个“发布”版本之前,我还计划在本插件中加入以下功能:以下是这些功能的列表:
- 区域删除计时器:玩家区域在未登录 x 小时/天/周后自动变为未认领状态。
- 区域计数器:列出某玩家或所有玩家的区域数量的命令(类似 /ps top)。
- 任何您在工单中提出的其他创意!
请捐赠
捐赠是支持本插件开发的最佳方式,也能激励我投入更多空闲时间继续完善 Libelula Protection Blocks。本页右上角设有便捷的捐赠链接,欢迎点击支持。
感谢您的帮助!
视频教程
En Español (Spanish)
由 Lord Manzana 制作
许可证

Libelula Protection Blocks 是自由软件:您可以根据自由软件基金会发布的 GNU 通用公共许可证的条款重新分发和/或修改它,可以是许可证的第 3 版,也可以是(由您选择的)任何更高版本。
请在此处阅读有关 GPL 许可证的信息 here

Libelula Protection Blocks
About versions
The easier to use privatization system! Privatizes an area just by putting a block and share the safe zone with your friends. The zones are fully configurable and players do not require any permission to make use of the protections or buy in stores. The main idea of this plugin is to give players a safe and simple way to protect their buildings.
Its use is very simple: Just purchase a protection block and place it in the area you want to protect.
This is the new version (2.0) of this plugin which supports Minecraft 1.8 and WorldGuard 6.0. If you are looking for old versions of this plugin go here.
Import ProtectionStones protections
If you are using the old fashioned plugin ProtectionStones now you can move to this new, better and supported one. For doing that just let the ProtectionStones.jar file and ProtectionStones folder into the plugins folder and copy there the LibelulaProtectionBlocks.jar.
When this plugin starts for the very first time it will import ProtectionStones configuration and will disable it.
Languages
For now I'm only supporting English, Spanish, and German. I hope to support more languages in a near future, anyway you can configure your messages by editing the config and language files.
- Special thanks to EvilOlaf/Krauti2 for the German translation.
(I really appreciate your help with translations, if you send me the translated file I will include it in future releases with your credits).
Functionality
- Allows the administrator to create shops for selling protection blocks, so players can protect their buildings without the assistance of the server staff.
- Administrators can remove all blocks of a player with a single command.
- You can define what "flags" can be set by the players in their regions, by default in includes the most flags offered by WorldGuard, except those that could be used to create traps as inability to chat , to teleport , etc.
- Protection priority is autoconfigured, so players could create a city by first placing a block covering a large area (the entire city) and then blocks for each plot, having the possibility of adding one or more players on each of these plots.
- You can define a list of worlds where protection blocks can not be placed.
- Protection Blocks can be created from any material which is a block and is not affected by gravity.
- Players can handle WorldGuard flags for their areas like chests access, use, PVP, etc.
- The size of each protection are completely arbitrary, you can define protection blocks as large as a city or as small as a single block, also the measures of width, length and height may be different, the only restriction is that the area to protect must be a cuboid.
- Integration with Libelula Protected Secured Zone plugin so that players can enable or disable this feature in their area.
- Compatible with other protection plugins as MMCO , Towny and Precious Stones.
- All messages are translated into configured language.
- Flag support for protection blocks.
- Limits by user/permissions numbers of active protections.
- Automatically imports ProtectionStones placed blocks.
- Completely free software, all source code can be found at GitHub
Shops
The shops are simple signs which specifies the dimensions, the price and the material of the protection blocks. To create a shop all you need to do is put up a sign stating:
- [lpb] in the first line: This tells the plugin that is a sign of Libelula Protection Blocks.
- length x height x width on the second line: This specifies the size of the area to be protected when the block is placed.
- sale price in the third line: The price that the player will have to pay to receive the stone.
- material in the fourth line: The name of the material of the block.
So the next sign will create a shop which sells protections for an area of 11 blocks in all directions, which cost $ 200 and the material will be stone.

To purchase this protection you just have to right-click on the sign.
This is an example of a shop of Libelula Protection Blocks:

Flags
Flags is a new functionality supported on 0.1.2 Beta and newer versions, it allows admins to add some flags to protection blocks. The flags can be added by a command with the protection block in hand or with a sign shop.
Bellow is a list of currently available flags:
| Flag name | Shop sign (first line) | Command (with a protection block in hand) | Description |
| Automatic fence | [lpb]+f | /ps +fence | Creates a fence bounding borders of the protected area |
More flags coming soon...
Performance
Like all Libelula plugins, performance is one of the main premises of this one. During its design it has been taken into account to minimize workload for the server.
Lag added in milliseconds comparison
|  |  |
| Block Break Event (10000 blocks of grass) | Block Place Event (10000 blocks of grass) |
| LibelulaProtectionBlocks v0.1.4 | 39458343 | 94455064 |
| ProtectionStones v1.9c | 55305571 | 102961103 |
|  |  |
| Protection Block Placed (10000 protections) | Protection Block Removed (10000 protections) |
| LibelulaProtectionBlocks v0.1.4 | 1304573012 | 686543 |
| ProtectionStones v1.9c | 128164324985 | 127373299899 |
Installation
If you have not used so far the old Stones Protection plugin simply drop the LibelulaProtectionBlocks.jar file into the plugins folder and restart the server.
Commands and Permissions
Please refer to Commands and Permissions page for a detailed information.
Configuration
Libelula Protección Blocks is a ready-to-use plugin, anyway you can configure some behaviours using the configuration file. For this you can refer to the configuration page.
Dependencies
- WorldGuard 6.0 is used to define protected areas.
- Vault is optional and is used to manage the shop's economy. Without Vault plugin Libelula Protection Blocks Shops will not work.
Future versions
I offer to the users the possibility to create tickets suggesting or requesting new features which will be developed as they receive votes. On the other hand there are a number of features that I want to include on this plugin before reaching it first "release" version. Below is a list of these features:
- Region Deletion Timer: Player's area became unclaimed after x amount of hours/days/weeks without having logged on.
- Region counter: a command for listing the regions of a player, or all players (like /ps top).
- Any other idea posted in a ticket by you!
Please Donate
Donating is the best way to support this plugin development and encourage me to devote even more of my free time to work on Libelula Protection Blocks. There is conveniently placed link at the top right of this page to do so.
Thank you!
Video tutorials
En Español (Spanish)
<p>
Made by Lord Manzana
License

Libelula Protection Blocks is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Please read about GPL License here
评论 0
登录后参与评分
还没有评论,来抢沙发吧