Tools for Destroying blocks

Discussion in 'Archived: Plugin Requests' started by Dower, Sep 3, 2013.

  1. Offline

    Dower

    Hello :)

    I was was trying to make a server of type RPG.
    U know, It's all like - NPC shops. Mob Hunting Areas, Specific Quests, a lot's of different weapons, items and so on...

    One of the most important things I was planking to do was unbreakable blocks without a tool. I was planning to set "/Gamemode 2". But I've got some problems here. I can still destroy some of the blocks, it's like buttons, levers, Glowestone(+lamps), Glass and so on...
    I spent a lot of time searching for specific plugin, but I wasn't able to find. It would be nice to see something around like this.

    Actually it would be nice if u would be able to set what u can destroy with a specific thing.
    For example (settings setting in notepad would be best):
    No item =
    Wooden Shovel = Dirt, Grass, Sand
    Stone Shovel = Dirt, Grass, Sand, Gravel
    ....

    I really appreciate your help, and thank you for reading this! :)
     
  2. Offline

    K3YD0N

    I believe essentials protect can limit certain blocks from being placed or broken but im not sure.
    If not you could try worldguard the protect some of the area's you dont want broken
     
  3. Offline

    Dower

    I need that NONE of blocks wouldn't be able to destroy, except when u have a specific tool.

    Lets say with Golden Pickaxe u can Destroy only NetherRack
    With Iron Pickaxe only Stained Clay
    Diamond Pickaxe only Obsidian
     
  4. Offline

    K3YD0N

    Ahhh ok sorry
     
  5. Offline

    General

    It's possible to do this with OtherDrops, but I'm guessing you're looking not for just any plugin that can do the job, but a plugin specifically designed to do the job. But in the case you can't find that specific plugin, here's the link.

    http://dev.bukkit.org/bukkit-plugins/otherdrops/

    And I do believe there are plugins that can limit the breaking of a certain block type to just a certain tool or set of tools, but I personally think OtherDrops is better to use.
     
  6. Offline

    Chaositic

    You can do this a few ways but I'm going to list the ones I know off the top of my head.
    First there is Skript where you can make mini-plugins and simply reload the script at any time with a command in the game or console without reloading all plugins.
    I've tested this code so it would work if you copied it into your script file assuming you've read up on how to make a script.
    Code:
    on mine of stained clay:
        player isn't holding iron pickaxe
        cancel event
    The reason it can detect the item so easily is because of the aliases-english.sk that comes with Skript. Skript supports any ID so if you wanted iron ore and iron block to be part of the same alias, you'd configure it like this:
    Code:
        custom = 15, 42
    and you would place that somewhere in the alias file. If this helps you out and you find you need some more help with it, just reply here or PM me. I'll gladly assist you.

    Cheers.
     

Share This Page