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




Updated to 1.16.4!
----------, Dec 6, 2020

- Fixed a crash when uploading the previous update

Do not forget to leave your review!
----------, Sep 19, 2020

- Fixed bug of not being able to purchase a wool block, now the Vault add-on is required
- The bug of pressing shift and showing the hologram was also fixed

Added some messages that were missing, I recommend you delete your message file or add this new line, as I indicate below:
Line that was added:
Code (Text):
# Menssage to GUI
protection: 'Protection:'
Your language file should look something like this:
Code (Text):

# General messages.
avcwreload: '&b[&6PW&b] -  Reload Config'
nopermission: '&b[&6PW&b] -  &cYou do not have permission to perform this action'
wlist:
  - '&b[&6PW&b] -  &aClick on one of the protection blocks within the &b[&6ProtectionWool&b] inventory to obtain it'
  - '&6----------------'
  - '&6List of available blocks:'
  - '&6- &fWhiteWool: &b<sizewhitewool>'
  - '&6- &9BlueWool: &b<sizebluewool>'
  - '&6- &cRedWool: &b<sizeredwool>'
  - '&6----------------'
# Important notes.
# Do not change the names of the commands or there could be an error in the execution of the plugin.
wregion:
  - '&b[&6PW&b] -  Use /wregion <variable>, example: /wregion remove'
  - '&b----------------'
  - '&6- &3remove: removes the protection while being on the region to be removed'
  - '&6- &3flag: list of available flags'
  - '&6- &3addmember: add members to the protection'
  - '&6- &3removemember: remove members to the protection'
  - '&b----------------'
flaglist:
  - '&b[&6PW&b] -  Use /wregion flag <variable> <value>, example: /wregion flag pvp deny'
  - '&a----------------'
  - '&b- &cCommands valid if you are inside the protection'
  - '&a----------------'
  - '&b- &3pvp (deny/allow): Enables or disables protection PvP. '
  - '&b- &3entry: Set an entry message to the protection.'
  - '&b- &3exit: Set an exit message to the protection.'
  - '&b- &3mobspawning: Set an exit message to the protection.'
  - '&b- &3tnt: Set the use of TNT.'
  - '&b- &3creeperexplosion: Set the explosion of creeper.'
  - '&b- &3block-break-blocks <add/remove>: Add or remove blocks that cannot be broken from a list.'
  - '&b- &3Example: /wregion flag block-break-blocks add stone'
  - '&a----------------'
# Menssage to GUI
protection: 'Protection:'
# Menssage to place a block
block-place: '&b[&6PW&b] - &cPlease wait <time> seconds to place a protection block'
# Title messages
protect-create-title: '&bProtection created correctly'
protect-create-subtitle: '&aThe stone indicates the size of the protection'
protect-remove-title: '&bProtection removed correctly'
protect-remove-subtitle: '&6[&bProtectionWool&6]'
protect-limit-title: '&bExceeded wool protection limit'
protect-limit-subtitle: '&f[&6ProtectionWool&f]'
# Messages of correct use of commands.
entry-message: '&b[&6PW&b] - &eEntry message set correctly'
exit-message: '&b[&6PW&b] - &eExit message set correctly'
valid-use-command: '&b[&6PW&b] - &cCommands valid if you are inside the protection'
removemember-command-use: '&6- &aUse /wregion removemember <name>, example: /wregion removemember ShotCraft3x'
addmember-command-use: '&6- &aUse /wregion addmember <name>, example: /wregion addmember ShotCraft3x'
flagpvp-command-use: '&6- &aUse /wregion flag pvp <deny/allow>, example: /wregion flag pvp deny'
flagentry-command-use: '&6- &aUse /wregion flag entry <message>, example: /wregion flag entry &bWelcome_to_the_same_heaven'
flagexit-command-use: '&6- &aUse /wregion flag exit <message>, example: /wregion flag exit &cRats_are_not_allowed'
flagmob-command-use: '&6- &aUse /wregion flag mobspawning <deny/allow>, example: /wregion flag mobspawning false'
flagtnt-command-use: '&6- &aUse /wregion flag tnt <deny/allow>, example: /wregion flag tnt false'
flagbuild-command-use: '&6- &aUse /wregion flag build <deny/allow>, example: /wregion flag build false'
flagcreeperexplosion-command-use: '&6- &aUse /wregion flag creeperexplosion <deny/allow>, example: /wregion flag creeperexplosion false'
chose-white-wool: '&b[&6PW&b] -  &aYou chose: &fWhite wool'
chose-red-wool: '&b[&6PW&b] -  &aYou chose: &cRed wool'
chose-blue-wool: '&b[&6PW&b] -  &aYou chose: &9Blue wool'
buy-white-wool: '&b[&6PW&b] -  &bYou bought: &fWhite wool &bfor a cost of &6$ <price>'
buy-red-wool: '&b[&6PW&b] -  &bYou bought: &cRed wool &bfor a cost of &6$ <price>'
buy-blue-wool: '&b[&6PW&b] -  &bYou bought: &9Blue wool &bfor a cost of &6$ <price>'
# Successful messages.
block-break-add-list: '&b[&6PW&b] - &eBlock successfully added to the list'
block-break-remove-list: '&b[&6PW&b] - &eBlock successfully removed from the list'
member-added: '&b[&6PW&b] - &eMember added correctly'
member-removed: '&b[&6PW&b] - &eMember removed correctly'
remove-protection: '&b[&6PW&b] - &cProtection removed correctly'
remove-protection-admin: '&b[&6PW&b] - &cProtection removed correctly like admin'
pvp-enabled: '&b[&6PW&b] - &cPvP &benabled'
pvp-disabled: '&b[&6PW&b] - &cPvP &bdisabled'
mob-enabled: '&b[&6PW&b] - &aMobSpawning &benabled'
mob-disabled: '&b[&6PW&b] - &aMobSpawning &bdisabled'
build-enabled: '&b[&6PW&b] - &6Build &benabled'
build-disabled: '&b[&6PW&b] - &6Build &bdisabled'
tnt-enabled: '&b[&6PW&b] - &cTNT &benabled'
tnt-disabled: '&b[&6PW&b] - &cTNT &bdisabled'
creeper-enabled: '&b[&6PW&b] - &aExplosion creeper damage &benabled'
creeper-disabled: '&b[&6PW&b] - &aExplosion creeper damage &bdisabled'
# Messages-Error.
block-break-command-error: '&b[&6PW&b] - &cYou cant use this command in this place'
block-break-blocks: '&b[&6PW&b] - &cYou cannot break this block, it is protected by the owner of the region'
world-not-allowed: '&b[&6PW&b] - &cIt is not allowed to use &6[&fProtectionWool&6] &cin this world'
region-protect: '&b[&6PW&b] - &cThere is a protection already made and can not be protected, find another place.'
region-protect-near: '&b[&6PW&b] - &cThere is a protection nearby, look for a place farther...'
protection-not-removed: '&b[&6PW&b] - &cYou are not inside a protection of [ProtectionWool] or you do not own it'
blockbreak-notown: '&b[&6PW&b] - &cYou do not own the region therefore you can not break this block of wool'
wrong-command: '&b[&6PW&b] - &cWrong command'
command-wget-error: '&b[&6PW&b] - &cYou should use /wget <name>, for example /wget bluewool'
use-choose-command: '&b[&6PW&b] - &cYou should use &b/wget <name>, &cfor example &b/wget bluewool'
# This message works if the economy is activated from the config.yml file
insufficient-money: '&b[&6PW&b] - &cYou dont have enough money to buy this protection block'
# These messages will be displayed if the function of pressing the shift is activated to see the statistics in a hologram
time-message: '&b[&6PW&b] &aYou must wait <time> seconds before pressing shift to see the statistics'
view-message: '&b[&6PW&b] &aNow you can see the statistics in the hologram'
stats:
  - '&9&l------------------------------'
  - '       &6[&bProtectionWool&6] &aStats'
  - '&r'
  - '   &dPlayer: &b<player>'
  - '   &6Protections used: &b<regions_count>'
  - '   &6Protections available: &b<regions_available>'
  - '&r'
  - '&9&l----------------------------'
 
In case it is English, for Spanish it is the same
Thanks for your support! remember to leave a review!
----------, Sep 19, 2020

fixed the bug to change the name of the block with the yunke
Note: changed the way you get the block with the /wlist command
----------, Jul 27, 2020

Updated to 1.16.1!

Note
:
I have updated 2 lines of the message file, I recommend you delete the one you have and update it. The lines are:
Code (Text):
flagentry-command-use: '&6- &aUse /wregion flag entry <message>, example: /wregion flag entry &bWelcome_to_the_same_heaven'
flagexit-command-use: '&6- &aUse /wregion flag exit <message>, example: /wregion flag exit &cRats_are_not_allowed'

Fix | Various issues - Please update
----------, Jul 5, 2020

Some important bugs were fixed, if you find any, do not hesitate to report it by private message or to the email: ddeltax2@gmail.com.

New command added to add blocks to a list that you don't want to be broken by the members of your protection, this command is used with: / wregion flag block-break-blocks add (block id). Example: / wregion flag block-break-blocks add stone.

The build flag has been removed.

New message settings, I recommend you delete the files you have, and reload the new one.

Working to improve even more !, do not forget to leave your review, that helps me a lot!
----------, May 29, 2020

New configuration file, delete the old one and load the new one.
In this new configuration file you can edit the language of the messages, they are currently available in Spanish and English.
Code (Text):
# 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'
New permissions were added for each flag available in the plugin, so you can set the permissions separately.
In order for these permits to be used, you must first have the main permit which is:
Working for more !, any bugs notify by private message!
----------, Jan 29, 2020

Now you can activate or deactivate the generation of stone when placing a block of wool.
Note: It is necessary to delete the old configuration file and load the new one so that the option is added correctly.

config.yml
Code (Text):
# Activate or deactivate the generation of the stone floor when placing a protection block
stone-generation: true
----------, Jan 8, 2020

bug fixes..

- Now you can edit the /wlist GUI, from the gui.yml file!
To see the format of the gui positions visit the following link:: https://i.ibb.co/8x9SzXJ/position.png
If the gui.yml file does not load you, restart the server
Soon more updates !, comment if you have ideas, it would be much appreciated
----------, Jan 3, 2020

bug fixes..

- Now you can edit the /wlist GUI, from the gui.yml file!
To see the format of the gui positions visit the following link:: https://i.ibb.co/8x9SzXJ/position.png
If the gui.yml file does not load you, restart the server
Soon more updates !, comment if you have ideas, it would be much appreciated
----------, Jan 3, 2020

Fixed permission bug when clicking on a type of wool in the menu / wlist
The permissions for the 3 different blocks are:
- woolprotect.getwhitewool
- woolprotect.getbluewool
- woolprotect.getredwool
----------, Dec 7, 2019

The way in which the wool block protects the area was changed, in order to avoid possible bugs.
Now the wool block is in the center, and the area with stone is protected.


[​IMG]
----------, Sep 21, 2019

The config.yml file has been modified, so if you have the old one, delete it and use this new one.
New feature added!
Now you can make players buy the protection blocks by accessing the menu using the /wlist command. [​IMG]

For this you must have the vault plugin installed.
In case you don't want to use this function, you can deactivate it from the config.yml file, by default it is disabled.
Working for more!
----------, Sep 20, 2019

---- bug fixes ---
----------, Aug 15, 2019

Some bugs have been fixed...
Now you can set a time to place blocks of wool
[​IMG]
You can also set a time to see the statistics in the hologram by pressing the shift key
- All this 100% configurable from the new config.yml
Working to improve the plugin even more!...
----------, Jul 28, 2019

It is running the latest version of spigot 1.14.4!
suggestions and bugs, send mp..
----------, Jul 24, 2019

- A verification of the spigot version has been added..
- Working to make it compatible with 1.12.2 and 1.14...
----------, May 21, 2019

Bug fixed! now you can receive your block of wool that you used to protect your area
----------, May 11, 2019

Fixed some bugs, for example now to remove a protected region you just have to break the block and the region will be removed, also new permissions have been added to allow the use of the 3 types of wool:
- woolprotect.regioncreate.whitewool
- woolprotect.regioncreate.bluewool
- woolprotect.regioncreate.redwool
The rest can see it on the main page of the plugin.
There is a bug to be fixed, in the next update it will be ready, I hope you like it and it is useful, that you have a great day!
Note: delete config.yml to add the new features
----------, Mar 30, 2019

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]

Code (Text):
# Hologram Config
activate-hologram: true
line-one: '&6[&bProtectionWool&6]'
line-two: '&bHi!: &b '
line-three: '&6Protections used: &b'
line-four: '&6Protections available: &b'
----------, Mar 24, 2019

Now you can see messages in the console or in the game if the plugin has an update available

[​IMG]
You can activate or deactivate this check, although I recommend that it always be activated to ensure the correct functioning of the plugin
- config.yml
Code (Text):
# Check update
update-check: true
----------, Mar 17, 2019

New !, now you will see titles when placing a block of wool, it 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]
----------, Mar 6, 2019

New flags added: build,mobspawning,tnt-use,creeperexplosion,
you can see them using the command: /wregion flag
----------, Feb 5, 2019

Now you can decide on what world. ProtectionWool will be allowed
All this from config.yml

Code (Text):
# List of worlds where the use of ProtectionWool will be allowed.
enabled-worlds:
- world
- world2
- world3
- world4
----------, Jan 3, 2019

New configuration where you can set the amount of protections per user and change the size of the protection for each block of wool, in addition to being able to configure each of the messages. Everything from config.yml
Code (Text):
# Amount of protections allowed per user.
reg-perm: 3
# Size protected by each wool, for example, white wool protects an area of 16x16.
white-wool: 16
blue-wool: 27
red-wool: 64
----------, Jan 2, 2019

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