HexRestrict

Overview

HexRestrict is a GriefPrevention add-on. It restricts block placements/item use inside or outside of GP Claims.

Config Sections:

PreventSafariNetPlayerGrief
PreventSafariNetPlayerGrief: true
Enables/Disables the check of DisableSafariNetCapture list.

DisableSafariNetCapture List of entities that the SafariNet cannot capture.

SafariBlockedWorlds
List of worlds where the safari net cannot capture in.

ItemUseRestrictedOutsideClaims List of items that are banned outside a claim that they do not have permission.

ProtectedWorlds
Worlds where ItemUseRestrictedOutsideClaims is checked.

BlocksRestrictedOutsideClaims This is a list of blocks that can ONLY be placed inside a claim that you have trust build permissions in.
Example: Quarry, TNT, Industrial TNT, etc.


ItemUseRestrictedInsideOtherClaims
NEW! this now blocks wrench grief inside protected claims!! (requires mcpc+ #197 or greater).
This is a list of items that cannot be used inside other peoples claims (where you dont have trust build perms)
Example:
- Repower2 slabs, covers, etc.., yes redpower2 microblocks are a UseItem event, and not a block place event. So this would block the "placement" of microblocks in a claim where you dont have build permissions.

Requirements

This plugin requires Grief Prevention, as it is used to define claimed regions and this plugin is based upon those permissions. (I am not opposed to adding compatibility with other claim type plugins so long as they have an developer API)

Tekkit Compatability (MCPC+)


This is compatible with standard bukkit, and even varriants of MCPC+, just make sure you set simulate-block-place-event-default settings
I've specifically created this mod for Tekkit to stop grief from various new additions that Tekkit adds.

Current Config

PreventSafariNetPlayerGrief: true
BlocksRestrictedOutsideClaims:
- 239:*:Industrial TNT
- 5205:*:Minium Stone
ItemUseRestrictedInsideOtherClaims:
- 5397:Wrench
- 8858:PrototypeOmni Wrench
- 5766:Quartz Wrench
- 5685:Safari Net
- 5683:Safari Net
- 368:Ender Pearl
- 359:Shears
- 6037:Power Gauntlet
- 5568:Flag
- 5205:*:Minium Stone
- 8887:*:Crescent
- 325:*:Bucket
- 326:*:Bucket
- 327:*:Bucket
- 335:*:Bucket
- 5359:*:Bucket
- 5360:*:Bucket
- 5658:*:Bucket
- 5664:*:Bucket
- 5672:*:Bucket
- 5673:*:Bucket
- 5687:*:Bucket
- 5689:*:Bucket
- 5701:*:Bucket
- 8884:*:Bucket
- 4361:5:Wireless
BannedItemUse:
- 19263:Wrath Igniter
ItemUseRestrictedOutsideClaims:
- 5205:Minium Stone
- 5759:Entropy Accelerator
- 5767:Vibration Catalyst
- 8808:Cart
DisableSafariNetCapture:
- CraftPlayer
- CraftGhast
- CraftPigZombie
- CraftBlaze
- CraftMagmaCube
- CraftEnderman
- CraftVillager
ProtectedWorlds:
- world
- shopworld
SafariBlockedWorlds:
- world_nether
- world_the_end


Permission Nodes

name: HexRestrict
main: me.HexCraft.HexRestrict
version: 0.0.3
commands:
  hexreload:
    description: Reload HexRestrict.
permissions:
  hexcraft.hexrestrict.*:
    description: Gives access to all HexRestrict commands
    children:
      hexcraft.hexrestrict.reload: true
      hexcraft.hexrestrict.restrictedplacement: true
  hexcraft.hexrestrict.reload:
    description: Reloads HexRestrict Config
    default: false
  hexcraft.hexrestrict.restrictedplacement:
    description: Allows HexRestrict Restricted Placement
    default: false

Edit to how you see fit, Ill add more to the list as people report blocks that bypass protection.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files