Libelula Protection Blocks
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)
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
I will DELETE every single issue described in comments. USE THE TICKET SYSTEM
Latest version: http://dev.bukkit.org/bukkit-plugins/libelula-protection-blocks/files/10-libelula-protection-blocks-v2-0-4/
Is waiting for approval, it has an auto-import system for ProtectionStones users.
@Krauti2
Not yet, but if you want I to add one please create a ticket.
Is there a converter from ProtectionStones available?
@L0rdFlay
It was fixed on latest version.
@Dadus2000
Working on them.
@ddonofrio
Did that, waiting for reply.
@Dadus2000
Create separated tickets for asking the functionalities you want I to add.
@L0rdFlay
I will NOT accept issues in comments.
wtf it says I posted it 23 hours ago?!
This works great for me, however I have some requests:
Huge error log when the server starts :/ Plugin seems to work, but something is going wrong.
http://pastebin.com/4ehNVh21
There you can find the error. Hope you fix it. Your plugin is a must-have for me :)
Sorry for any mistakes.
@ddonofrio
muchisimas gracias seguramente salves mi projecto de server :) me voy a poner a verificar todo para el update :) mis usuarios te lo agradecen mil seguro!
New binary uploaded with no known bugs: http://dev.bukkit.org/media/files/891/656/LibelulaProtectionBlocks.jar
Waiting for dev.bukkit to authorize it.
Can't wait for the update...
@ddonofrio
Yay!
Estimated release day for supporting Bukkit 1.8 and WorldGuard 6: July 28th.
@ddonofrio
Thanks for your hard work on this! I'm currently using PreciousStones but that is very buggy right now so I' looking forward to use another plugin, and this one seems the best. However, I'm using 1.8, and an update would be welcome! Thanks!
Working hard on it. Donations are welcome.
Due to the number of private messages and plugin usage I got I will update this plugin to WG6 and MC1.8 in a few weeks.