[ADMN/SEC] Unbreakable v1.0 - Make certain blocks indestructible [1337]

Discussion in 'Inactive/Unsupported Plugins' started by polaris120990, Nov 4, 2011.

  1. Offline

    polaris120990

    Unbreakable v1.0 - Make certain blocks indestructible!
    Official Post and Download on
    BukkitDev


    This is a plugin designed to stop certain blocks from being broken. All you need to do is add a blocks name to the list in the config file and then no player without the permission can destroy that type of block! This plugin also works with wool colors, just add a wool color id to the list and that color wool will be indestructible!
    List of blocks: <Edit by Moderator: Redacted mediafire url>
    Wool IDs: <Edit by Moderator: Redacted mediafire url>
    <font color="black">Permissions</font>

    Support for PermissionsEX and PermissionsBukkit
    PermissionsEX:
    * unbreakable.break

    PermissionsBukkit:
    * unbreakable.break : true

    <font color="black">To Do</font>

    * Possibly add the ability to stop block placement as well.

    <font color="black">ChangeLog</font>

    Version 1.0:
    * First official release.

    If you have any suggestions please feel free to make them. I am very open to criticism and new ideas! Also, If you like what you see and want to support the development of this plugin and any other plugins i decide to create, please donate by clicking on the donation link here.
     
    Last edited by a moderator: Nov 12, 2016
    bobbysmithyy likes this.
  2. Offline

    HawkIHeo

    Nice! At first I wondered why anyone would use this but you could use it to prevent people from taking diamond/gold/iron blocks!
    I have a question though, can you tell me what each of those permission nodes do? Do one of them allow the person to be able to break that unbreakable block?
     
  3. Offline

    polaris120990

    @HawkIHeo If someone has that permission node they can break the blocks in the list, anyone without that permission node cannot.
     
  4. Offline

    Windwaker

    Cool nice idea :D
     
  5. Offline

    jodom1979

    Was not able to get it to work. I cleared the list <Edit by Moderator: Redacted mediafire url>
    -Jake
     
    Last edited by a moderator: Nov 12, 2016
  6. Offline

    polaris120990

    @jodom1979 , materials list is just a list of materials for reference (since some materials names are different from their names in the game) the actual list you should be using is in config.yml
     
  7. Offline

    jodom1979

    Thanks for the quick reply and info! BTW, are you editing the config.yml from within the jar, or is is a separate file that resides along with the unbrekable.jar at the same folder level? Once I figure out where the jar is reading the config.yml from I think it will be good to go. Sorry for the hassle.... :| Making a large unbreakable puzzle room people have to escape out of.
    -Jake
     
  8. Offline

    polaris120990

    @jodom1979 It reads from within the plugins folder, there should be a folder called Unbreakable with the config.yml in it.
     
  9. Offline

    jodom1979

    Ahh.... The Jar file did not create the Unbreakable folder or config.yml. I tried to make it manually but it still gives the following error in the bukkit logs.

    [SEVERE] Could not load 'plugins\Unbreakable.jar' in folder 'plugins':
    Caused by: java.lang.ClassNotFoundException: org.bukkit.configuration.file.FileConfiguration

    I'm only running a few plugins. Let me know what you think and Ill test to see if it works. Thanks for your efforts.
    -Jake
     
  10. Offline

    ZachBora

    Are you running Bukkit 1337? Sounds like you are running an older version.
     
  11. Offline

    jodom1979

    Pulled this out of the Manifest... Hope this helps.. If not where would you find the version?

    Manifest-Version: 1.0
    Archiver-Version: Plexus Archiver
    Created-By: Apache Maven
    Built-By: jenkins
    Build-Jdk: 1.6.0_07
    Specification-Title: Bukkit
    Main-Class: org.bukkit.craftbukkit.Main
    Specification-Version: unknown
    Specification-Vendor: Bukkit Team
    Implementation-Version: git-Bukkit-0.0.0-1067-g6301507-b1185jnks
    Implementation-Vendor: Bukkit Team
    Sealed: true
    Implementation-Title: CraftBukkit

    Name: net/bukkit/
    Sealed: true

    Name: com/bukkit/
    Sealed: true

    Name: org/bukkit/
    Sealed: true

    -Jake

    Well my friend... You were correct. I just went ahead and updated bukkit and everything is working well. So far the rest of the plugins are behaving. Wonderful plugin! Thanks again for the hard work!
    -Jake

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  12. Offline

    ZachBora

    Implementation-Version: git-Bukkit-0.0.0-1067-g6301507-b1185jnks

    The 1185 is the bukkit version.
     

Share This Page