[REQ] Disable one-hit-break in creative mode

Discussion in 'Archived: Plugin Requests' started by SBHouse, Oct 23, 2011.

  1. Offline

    SBHouse

    Hello,

    I REALLY need a way to disable the one hit break in creative mode. I run a multi-world server with most of the worlds being survival with various modified settings and one creative world. We used gate portals to travel between the worlds, which are activated with signs and switches (Wormhole X-Treme). On the creative world, it's way too easy for players to accidentally break the gates if they left click.

    Alternatively, if I only had a way to effectively protect these gates so the blocks could only be destroyed by someone with special group permission or op. But I haven't found anything to circumvent this one-hit-break feature in creative mode yet.

    Help! And thanks!

    - SBHouse
     
  2. Offline

    krazyswaggaO

    I'll give it a try.
     
    SBHouse likes this.
  3. Offline

    8thDimension

    Why not protect the gates with WorldGuard or something like that?
     
  4. Offline

    SBHouse

    I've thought about that. And I may still test with that, if I have to. But WorldGuard requires WorldEdit. And bringing in both of those brings so many duplicate features that I already have on my world, that it seems like wasted overhead.

    Has anyone successfully used WorldGuard to do what I'm wanting: to prevent one-hit-break from destroying portals?
     
  5. Offline

    BigDaveNz

    i use worldguard and word edit and they work fine. You could alternatively use Creativity with its /prot command which when on locks all blocks you place. meaning other people cant break them. or as a 3rd option if you use LWC you could change its config and add to its block id list so you can lock the material(s) you use to make the portals
     
  6. Offline

    SBHouse

    I tried LWC and was not able to do it but I don't know if I modified any settings files to include obsidian. Has anyone done that and have experiences to share? (thanks for the reply, @BigDaveNz )
     
  7. Offline

    8thDimension

  8. Offline

    SBHouse

    I remember trying Regios but it didn't prevent the block break.
     
  9. Offline

    BigDaveNz

    This Is the part of the LWC config you want

    Code:
     # Current and custom protections are defined here by their block name or id
        # If you use the Id, you MUST encase it in quotes, for example (chest):
        # '54':
        #     enabled: true
        # The custom protection must also have enabled: true under it for it to function in the world
        blocks:
            chest:
                enabled: True
                autoRegister: private
            furnace:
                enabled: true
                autoRegister: private
            dispenser:
                enabled: true
                autoRegister: private
            sign:
                enabled: true
                autoRegister: private
            wooden_door:
                enabled: true
            iron_door:
                enabled: true
            trap_door:
                enabled: true
    If you add in another couple of lines to the lwc plugins config it should work. Block names are implemented to LWC but i would trust block ids more. im just going to add this to my server and test it. Ill post a reply when i have. Below is the line you should add to the config

    Code:
    49:
                enabled: true
    EDIT: Just tested and you can use either the name Obsidian. or else block id's. You just have to make sure the block id is enclosed in quotes. Eg '49'
    This works for any type of block.
     
  10. Offline

    SBHouse

    OK... LWC is out... too intrusive. Now it automatically makes stuff protected otherwise. Trying "[SEC] EpicZones v0.28.2" next.
     
  11. Offline

    fysics

    You can put WorldEdit in the root of your server instead of the plugins folder, and WorldGuard will pull from it the stuff it needs without the plugin loading.
     

Share This Page