Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ############################################################################################################
- ## BC-Protect ##
- ## Bukkit plug-in made to protect your server against items who do not trigger bukkit events. ##
- ## This plug-in hooks into PlayerInteract events and will do build-permission checks, if its ##
- ## triggered as an bypass the event gets set to cancelled and this mostly will prevent the ##
- ## item from bypassing a Towny or Griefprevention claim. ##
- ## ##
- ## © darkdeath1332 (BedCraft) 2014 ##
- ## Contact: www.bedcraft.eu ##
- ## jordyf4 (skype) ##
- ############################################################################################################
- ##################
- ## Current compatible bukkit plug-ins: Towny, GriefPrevention.
- ## T = Towny
- ## GP = Griefprevention
- ## DEFAULT: GP
- useplugin: GP
- ##################
- #############################################################################################################
- ## Message Configuration ##
- #############################################################################################################
- # [BC-Protect] You don't have the permission to do this here
- Prefix: SC
- Message: You don't have the permission to do this here.
- #############################################################################################################
- ## Known bypasses ##
- ## Request a bypass fix by contacting me, I will let you know if this is possible. A bypass is considered ##
- ## when the item still bypasses even after using this plug-in. Due this I can add extra code to still work ##
- ## this bug around :) ##
- #############################################################################################################
- ## EE-3: Minimum Stone ; Known to still bypass even after its cancelled - Workaround:
- # Take away the item when someone bypasses and the bypass no longer works.
- # Default id = FTB-Ultimate
- fixminimumstone: false
- minimumstoneID: 27002
- ## Factorization: Wrath Igniter ; Known to set fire everywhere, used to make dark iron - Workaround:
- # Only allow it to be used where its made for, block it when not used on a Iron Block.
- # Default id = FTB-Ultimate
- fixwrathlamp: false
- wrathlampID: 9263
- ## Flaw Guns Mod: Any gun ; Known to break glass - Workaround:
- # Long range target block check of 200 blocks. Items ignore even.setcancelled so we
- # worked the around to take away and re-give the item.
- fixflawguns: false
- FlawGunList:
- - '23801' # Guns
- #############################################################################################################
- ## Item Configuration Around Claims ##
- ## Items who can bypass towns when the player is outside / next to the town, thanks mod makers for not ##
- ## doing bukkit events... ##
- #############################################################################################################
- ## String List for all:
- # id = Item ID,
- # sub = Sub-ID (Use '*' to ignore sub ID),
- # range = How close in blocks to a claim
- # id:sub:range
- ##
- ClickAroundClaim:
- - '27002:*' # Minimum stone
- - '5766:*' # Quartz Wrench
- - '5263:*' # Wrench
- - '5397:*' # Wrench
- - '20757:*' # Flux-Infused OmniWrench
- - '30183:*' # Wrench
- - '27003:*' # Philosopher's Stone
- - '8887:*' # Crescent Hammer
- - '30124:*' # Electric Treetap
- - '325:*' # Bucket
- - '5684:1' # Safari Net Launcher
- # ^ Please remove this line and put items who actually need to be there.
- # EXAMPLE:
- # - '1:*:5'
- # The item with the ID 1 can shoot a troll. The troll blows up 1 block, and the range of the item is 5 blocks.
- # So, we cancel it when someone attempts to use this in a range of 5 blocks where the player cant build.
- PlaceAroundClaim:
- - '519:*:30' # Quarry
- - '512:*:30' # Land Mark
- - '761:*:30' # Mining Turtle
- - '1230:*:30' # Advanced Mining Turtle
- - '1230:*:1' # Block Breaker
- # ^ Please remove this line and put items who actually need to be there.
- # EXAMPLE:
- # - '1:*:11'
- # The item with the ID 1 is a Quarry like item from BuildCraft. It can break block in a range of 11 when you place
- # it down. This way of bypassing is resolved by cancelling it when its closer than 11 blocks.
- # TIP: Put block breakers inside this list! Give them the range 1 and they will not take items from the edge of
- # a claim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement