 
                Stop players from shooting arrows in certain areas
 
  
  
⬤ Prevent firing arrows with bows and crossbows in certain WorldGuard regions or worlds. 
⬤ Choose the enabled regions and worlds where the plugin should work (blacklist). 
⬤ Execute a console or player commands after X attempts the player try to shoot an arrow. 
⬤ Custom damage to player when he shoots arrows in a region/world where it's forbidden. 
⬤ Plugin configurable with the command or through the config.yml file. 
⬤ Fully customizable chat messages, particles, sounds and actionbar. 
⬤ PlaceholderAPI support. 
 
 
1. Download the plugin and place the AntiBow.jar file in your plugins folder. 
2. Restart your server to generate the configurations. 
3. Run the command  /antibow toggle [name] using the name of the world where you want to prevent the use of bow. 
4. This step is not required, and you need WorldGuard to prevents bow in a region: 
Run the command /rg flag <name> bow <allow/deny> using the name of the region where you want to prevent or allow the use of bows. 
Use  /rg priority <name> <number> to change region priority. 
5. The plugin is already working, but you can also customize other features from the config.yml and lang.yml files and then run  /antibow reload. 
6. Enjoy the plugin!
 
 
#CONFIG #You can configure the message that appears when you shoot an arrow in an area where bows are disabled. message-system:   chat: true   actionbar: true #List of command to be executed after X attempts a player shoot an arrow in a disabled area. #PlaceHolders available: %uuid, %player, %world, %x, %y, %z commands-system:   enabled: false   commands:     3:       - "[CONSOLE] say %player tried to use Bow for 3 times in a blacklisted area!"       - "[PLAYER] spawn"     10:       - "[CONSOLE] say %player tried to use Bow for 10 times in blacklisted area!"       - "[PLAYER] spawn" #Sounds list -> https://www.spigotmc.org/threads/sounds-1_7-1_16.340452/ sound-system:   enabled: false   sound: "" #Particles list -> https://pastebin.com/Dd2Tw2j1 #You can enable the particle effect when a player try to shoot an arrow particle-system:   enabled: false   particle: "SMOKE_NORMAL" #The player takes damage when he tries to shoot an arrow (You can disable this option by setting it to 0.0) shoot-damage: 0.0 #Revoke items when he tries to shoot an arrow revoke-system:   bow: false   arrows: false 
#LANG #Customize the prefix of plugin messages. prefix: "&8&l[&9&lAntiBow&8&l]" #Messages that appears when you shoot an arrow in an area where bows are disabled. message-system:   chat: "%prefix &7You can't use your bow inside this area."   actionbar: "&c&lYOU CANNOT SHOOT ARROWS HERE!" #Help output message. help:   - "&8&l&m---------------------------------------------"   - "&9&l                      AntiBow v%version"   - "&8&l&m---------------------------------------------"   - "&c/ab list &7- Get list of denied worlds"   - ""   - "&c/ab toggle [worldName]"   - ""   - "&c/ab reload &7-  Reload the configuration file"   - "&8&l&m---------------------------------------------" #List of enabled conditions in every world. list:   header:     - "&8&l&m------------------------------------"     - "&9&l                    AntiBow"     - "&8&l&m------------------------------------"   body:     worlds: "&cWorlds:"   footer:     - "&8&l&m------------------------------------" #Message output when there are no conditions. empty-list: "%prefix &7Couldn't find any set condition. Use /ab to start setting!" #When you send a player command though console pannel. only-player: "%prefix &cThis command can be executed only by players." #When you do not have enough permission to execute a command. no-permission: "%prefix &cYou don't have permissions to do this!" #When you reload AntiBow plugin though the command. plugin-reloaded: "%prefix &7Plugin reloaded &asuccessfully&7!" world:   added: "%prefix &7World added to disabled ones."   removed: "%prefix &7World removed from disabled ones."   not-exists: "%prefix &7Selected world doesn't exist."   not-enabled: "%prefix &cThe world %world isn't enabled! Type the command '/ab toggle %world' to start setting up."  
  
