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.
Tekkit Main Seems to be doing the following on:
MCPC CB 1.6.4 R.2
Item 816 Bypassing Spawn.
(panel Covers)
Check for Blockplace event in MCPC Conf file but it's not there.
*Panels are Item use even and can be placed under lockuse... Doesn't Have any affect.
Hello would it be possible for you to add ability to disable usage of a item near a claim i currently have a server for FTB ultimate and have been searching for weeks for a plugin to do this.
Hi, Could this be used to solve this problem for us: We have a regioned, and admin claimed spawn. And we use Griefprevention.
Our problem is players taglocking other players at spawn. taglock 7803 Griefing spawn with statues using the hammer. hammer 7583 Even griefprevention claims are not immune to the hammer/statue creation grief.
We don't want to ban these items completely, but would like to see them only used on a players claim. That why they cant steal taglocks from other players without asking them to their claim, and they couldn't go around the world griefing spawn and claimed property with hammers turning everything into statues.
Thanks in advance for your time. Terri
Can you update this for factions?
@Valconeye
I have some features i would like to be added if possible: LWC & WorldGuard Support
Im not sure if this has allready been posted but can you add applied energistics items and maby stop the mining laser from firing if it is 58 blocks of someone elses claim(58 because i think the maxium it can fire is 56 blocks).
Hello Oh, please could you add the protection of laying microblocks mode "Immibis's Microblocks" a player who is not the owner or a member of protection can be considered Microblock. I do not want to prevent Thank you very much You're amazing
New version coming out soon. Just need to fix a config option to support the new SafariNetID's section (considering since I had it hardcoded = bad).
Lots of changes though, you can check out the new configs outlined above.
Just a heads up the new default ID's here are based on Tekkit Main, and no longer Tekkit Lite, Adjust your configs accordingly.
I am wating for 1.5.2 version too.
Amazing mod
This is a amazing mod and has helped me to protect my FTB server but there is a new FTB Beta out that im using for now and i could really do with this plugin being 1.5.2 please could you make it for 1.5.2 :)
I run a mindcrack server, and although I have grief prevention, certain items particularly wrenches have proven to be major problems!!! This addon is amazing, absolute credit to you for the work on something grief prevention desperately needed! I do want to know, is there a way you could update it so that additional item abilities cant be used inside a claim. For example the portal guns ability to move blocks? And also a functionality for tekkit classic would be amazing!!! EE2 Power items, just ruin my day on that! xD
@Lostferret13 You just need to look at the MCPC+ homepage.
link: http://mcportcentral.co.za/wiki/index.php?title=Mods_and_Plugins_for_1.4.7
(You will find it in the table on the lower half of the page)
@re3ell
Can you please link to this? I've been looking for this fix for a while
The problem with forge mods is none of their events exist inside bukkit. I have been researching on creating a forge coremod (runs on server only) that will send specific events into bukkit, so we can use them for plugins like this one. Sadly though I have not had a whole lot of time recently. However, it is still something i'd like to complete.
The way I handle the mining laser/quarry is allow them to be placed in a resource world, and not the main world (not the best solution, but works).
@re3ell
Sorry about the translations, honestly i'd forgotten about them. I've put it in my TODO list. Most of the message (in the dev version) come from GriefPrevention now. I caught a bug that was sending duplicated messages.
@confuser
There is a special buildcraft build on the mcpc+ homepage that prevents quarries form doing that. (At least the drill but sadly not he small robot that builds the frame :( ) Together with the RestrictedBlockOutsideClaims feature of this plugin, you have a nearly save solution.
@Valconeye I would also be interested in how the development is going and if you were able to find a solution for the mining laser... (and maybe my translation reguest :) )
How goes preventing quarries breaking other peoples claim blocks?
@Valconeye
It does currently, but not well. It only works with player claims, and you cannot lease administrative claims.
@zxcdserf
What's interesting is I re-compiled a version of GPRealEstate to custom develop some extra features for my server. I am still hoping the developer is updating the plugin, I know his last comment was earlier this month, so only time will tell i guess.
Does the current version not work in 1.4.7?
This is more of a personal request, but do you think you can update and continue this project? http://dev.bukkit.org/server-mods/gp-region-market/
@mcpirate
I have no problem supporting other zone claiming plugins, none have been suggested as of yet.