- 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!