ProtectionWool[1.13.2 - 1.16.4] | Protect areas using blocks of wool | icon

ProtectionWool[1.13.2 - 1.16.4] | Protect areas using blocks of wool | -----

You can protect areas using only a block of wool



[​IMG]
Hello everyone, I hope you are having a good day. Today I come to present my new contribution to spigot, and is a plugin on protecting areas with blocks of wool.

- Tested in spigot 1.13.2 - 1.14.4 - 1.15 - 1.16

So, at the moment there are 3 types of wool using the /wlist command,
you can see an inventory with a menu and the information of each wool:
  • WhiteWool: Protect an area of 20x20
  • BlueWool: Protect an area of 26x26
  • RedWool: Protect an area of 32x32
The size of the protections can be edited from the config.yml file
[​IMG]
In this example we will use white wool, which protects 20x20 blocks:

[​IMG]

You also have options for your region using the /wregion command, at the moment they are 4:

[​IMG]

A list of flags is also available, which at the moment are:
  • PvP.
  • entry and exit messages of the protected region.
  • tnt-use.
  • mobspawning.
  • creeperexplosion.
  • block-break-blocks: list containing the blocks you don't want to be broken in the protected region

All these commands are valid if you are within the protected region.


  • It also has titles when placing a block of wool shows a title with the message "Protection created correctly", all these messages are configurable from config.yml, if you like to add more messages as titles, let me know by private or in a review.

[​IMG]

  • To remove or delete a protected region, you can do it by command using / wregion remove, this command is recommended for admin. As a user you can only break the wool block and the protection will be removed.
[​IMG]
You can make players buy the protection blocks.
  • This is possible, activating the economy option in the config.yml file.

[​IMG]

[​IMG]


There is also the hologram function, which at the moment only provides information on how many protections the user has and how many protections are allowed by the administration. To activate the hologram you only have to press the shift key. If you want to disable this function you can do it from the config.yml file

Hologram Info

[​IMG]

In case of activating this function, you must have installed the Holographic Displays v2.3.2 plugin or higher

[​IMG]

Permissions to allow the use of types of protections

  • - woolprotect.regioncreate.whitewool
  • - woolprotect.regioncreate.redwool
  • - woolprotect.regioncreate.bluewool
Permissions for admin
  • - woolprotect.region //listed to see options in a protected region
  • - woolprotect.region.remove //this permissions works if the previous one is set, used to remove a region.
  • - woolprotect.admin //Permission to reload the configuration using /wreload command
Permissions generals
  • woolprotect.region
  • woolprotect.region.removemember
  • woolprotect.region.addmember
  • woolprotect.list
  • woolhologram.see
  • woolprotect.getwhitewool
  • woolprotect.getbluewool
  • woolprotect.getredwool
  • woolprotect.region.flags
  • woolprotect.flag.creeperexplosion
  • woolprotect.flag.pvp
  • woolprotect.flag.tnt
  • woolprotect.flag.build
  • woolprotect.flag.entry
  • woolprotect.flag.exit
  • woolprotect.flag.mobspawning
  • woolprotect.flag.block-break-block

[​IMG]
It works with the version of worldedit, worldguard and titleapi:
Mandatory Dependencies:
- WorldGuard 7.0.0 Beta 2 or higher
- WorldEdit 7.0.0 Beta 4 or higher
- TitleAPI --> https://www.spigotmc.org/resources/titleapi-1-8-1-13.1325/
- Vault --> https://dev.bukkit.org/projects/vault
Optional Dependencies
- HolographicDisplay ---> https://dev.bukkit.org/projects/holographic-displays
If you want to activate the option so that players can buy the protection blocks, you will need vault.

The plugin also counts to be able to modify each message set by me in English, in case of failures, I'm sorry for the translation, my English is not very good.
Config.yml

Code (Text):
############################
#     [ProtectionWool]     #
#       Version : 2.9      #            
############################
# Check update
update-check: true
# Amount of protections allowed per user.
reg-perm: 3
# Activate or deactivate the generation of the stone floor when placing a protection block
stone-generation: true
# Size protected by each wool, for example, white wool protects an area of 20x20.
# Try to ensure that the differences between the protection sizes do not exceed 10 to avoid possible bugs.
# This number must be even
white-wool: 20
blue-wool: 26
red-wool: 32
# Here you can set the price of each protection block.
# You can enable or disable the sale of protection blocks.
use-economy:
  enable: false
  white-wool: 500
  blue-wool: 1000
  red-wool: 1500
# List of worlds where the use of ProtectionWool will be allowed.
enabled-worlds:
- world
- world2
- world3
- test
# Configuration to avoid the lag if a user hack placing many blocks of wool
block-place:
  enable: true # You can enable or disable the time when players can place blocks of wool
  time-place: 10 # You can set a time (seconds) when players can place the wool blocks
# -------------------------------------------------------------------------------------------------
# Set the locale for all messages.
# They are only available in Spanish and English
# messages_es for spanish
# messages_en for English
# If you don't see the changes in the translation of the plugin, you need to restart the server.
locale: 'messages_en'
# -------------------------------------------------------------------------------------------------
# Hologram Config
# You can set a time (seconds) between each time the user presses the shift key
activate-hologram: false
time: 10
# -------------------------------------------------------------------------------------------------
# Subtitle Title Settings
# This is the time in which the title and subtitle remain on the screen
time-stay: 5
[​IMG]
You can edit the gui that shows the / wlist command, from the gui.yml file.
Code (Text):
# [ProtectionWool] - GUI
# If you want the price value to be displayed, you must activate it from the config.yml file
# To change the design, you must go to the "Pane" section.
# You must respect the order with the quotes.
# You can change the position of each block, in the position section.
# To see the format of the positions visit the following link: https://i.ibb.co/8x9SzXJ/position.png
# You can add or delete a pane section, as you like.
# To see all the possible blocks that you can place in the GUI, visit the following link: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
namegui: '&b[&6ProtectionWool&b]'
whitewool:
  Name: '&fWhiteProtection'
  Description:
  - '&dProtection &e%sizewhitewool%'
  - '&dPrice &e%pricewhitewool%'
  Position: 20
bluewool:
  Name: '&9BlueProtection'
  Description:
  - '&dProtection &e%sizebluewool%'
  - '&dPrice &e%pricebluewool%'
  Position: 22
redwool:
  Name: '&cRedProtection'
  Description:
  - '&dProtection &e%sizeredwool%'
  - '&dPrice &e%priceredwool%'
  Position: 24
Pane:
  'Pane0':
    Material: BLACK_STAINED_GLASS
    Position: 0
  'Pane1':
    Material: BLACK_STAINED_GLASS
    Position: 1
  'Pane2':
    Material: BLACK_STAINED_GLASS
    Position: 2
  'Pane3':
    Material: BLACK_STAINED_GLASS
    Position: 3
  'Pane4':
    Material: BLACK_STAINED_GLASS
    Position: 4
  'Pane5':
    Material: BLACK_STAINED_GLASS
    Position: 5
  'Pane6':
    Material: BLACK_STAINED_GLASS
    Position: 6
  'Pane7':
    Material: BLACK_STAINED_GLASS
    Position: 7
  'Pane8':
    Material: BLACK_STAINED_GLASS
    Position: 8
  'Pane9':
    Material: BLACK_STAINED_GLASS
    Position: 9
  'Pane18':
    Material: BLACK_STAINED_GLASS
    Position: 18
  'Pane26':
    Material: BLACK_STAINED_GLASS
    Position: 26
  'Pane27':
    Material: BLACK_STAINED_GLASS
    Position: 27
  'Pane17':
    Material: BLACK_STAINED_GLASS
    Position: 17
  'Pane35':
    Material: BLACK_STAINED_GLASS
    Position: 35
  'Pane36':
    Material: BLACK_STAINED_GLASS
    Position: 36
  'Pane37':
    Material: BLACK_STAINED_GLASS
    Position: 37
  'Pane38':
    Material: BLACK_STAINED_GLASS
    Position: 38
  'Pane39':
    Material: BLACK_STAINED_GLASS
    Position: 39
  'Pane40':
    Material: BLACK_STAINED_GLASS
    Position: 40
  'Pane41':
    Material: BLACK_STAINED_GLASS
    Position: 41
  'Pane42':
    Material: BLACK_STAINED_GLASS
    Position: 42
  'Pane43':
    Material: BLACK_STAINED_GLASS
    Position: 43
  'Pane44':
    Material: BLACK_STAINED_GLASS
    Position: 44

If you liked the plugin and it has been very useful, I kindly ask you for a donation to support the work,, more updates are coming soon!.

Link to donate: https://www.paypal.me/shotcraft3x

[​IMG]
I am a student in computer science, I am 22 years old, I speak Spanish so excuse my bad translation.I have a Latin server where most of my plugins are located, if you speak Spanish I invite you to my server:
IP: mc.avclatin.cl Version: 1.14.4


If you liked it, leave a review, any bug you can tell by private message or by email: ddeltax2@gmail.com. Greetings to everyone!
Resource Information
Author:
----------
Total Downloads: 8,495
First Release: Jan 1, 2019
Last Update: Dec 6, 2020
Category: ---------------
All-Time Rating:
11 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings