[INACTIVE][FUN] BetterMechanics v1.10 - Bridges, Doors, Gates, Cauldrons and more [1000/953/935/860]

Discussion in 'Inactive/Unsupported Plugins' started by Edoxile, Jun 10, 2011.

  1. Offline


    BetterMechanics - The Mechanics Plugin:
    Version: v1.10

    Works on the latest RB (1000).

    This plugin is written to replace CraftBook and CraftBookMechaisms, because they lacked some features I needed on the server.

    I've also added a new feature, called the pen.

    • CraftBook-stuff (take a look at the CraftBook wiki to find out how you build these):
      • Door
      • Gate
      • Bridge
      • Lift
      • Hidden switch
      • Cauldron -> Updated the cauldron completely, now leaves non-recipe blocks intact. Using new recipe format as of 1.7
      • Ammeter
        Bridges, Gates and Doors need a chest with the items, so they're not spawned.
    • Added:
      • Small door (door with width 1, sign label is [sDoor]/[sDoor Up]/[sDoor Down])
      • Small bridge (bridge with width 1, sign label is [sBridge]/[sBridge End]
      • Pen
        you can put text in your memory and paste it on a sign. This only works if you can build in the area.
        Very useful if you have a plugin like MinecartMania running. How this works:
        • Commands:
          /pen set <text> » set the sign text (the char '^' is a line break)
          /pen setline <line> <text> » set one line of the text (lines start at 0)
          /pen clear » clears the current text
          /pen dump » dumps the current text
          /pen clearline <line> » clears the line (set to "", lines start at 0)
        • Control:
          Right clicking a sign will either place the text on the sing, or, if your memory is emtpy, load the text in your memory.
          The tool can be changed in the config, but the default tool is a piece of (char)coal.
    All these features have permission nodes, and a (Meaglin's) Zones and/or WorldGuard check is possible. Just edit the config to enable or disable these features. The permission nodes are:

    Permission nodes (open)

    And for reloading the config:

    Download BetterMechanics
    Zip: https://github.com/downloads/Edoxile/BetterMechanics/BetterMechanics_v1.10.zip
    Source code: https://github.com/Edoxile/BetterMechanics

    If you find any bugs, or if you have a brilliant new feature that should be added, please let me know!

    Credits go to sk89q for both the idea, and pieces of code that I've used of him. Also thanks to Meaglin and GuntherDW for fixing some bugs.

    Version 1.10
    • Fixed a -1 block issue.
    • Chest-searching now starts with the nearest blocks.
    Version 1.9
    • Added a /bettermechanics reload (cauldron) command. Alias is /bm, so you can reload with /bm reload as well.
    Previous changes (open)

    Version 1.8a
    • Removed redundant (debug) logs.
    Version 1.8
    • Added tallgrass to non-solid blocks, and removed cobweb from it.
    • Added /pen clearline <line>
    • Added new permission nodes/checks
    Version 1.7a
    • Fixed some bug of never-changing gates. If it still occurs, use [dgate] instead of [gate].
    Version 1.7
    • Cauldron now uses new file (YAML) and format
    Version 1.6.1
    • Implemented small bridges
    Version 1.6
    • Cauldron now supports a glass floor. Keep in mind that the recipe shouldn't contain glass, else you'll probably get an error saying the recipe does not exist, or your glass floor will disappear!
    Version 1.5.1
    • Fixed some dupe bug
    Version 1.5
    • Implemented small doors
    Version 1.4.1
    • Fixed a typo
    • Using a better comparing function for MatieralData
    Version 1.4
    • Fixed the last bugs, it's ready for the bukkit forum now.

    More details of changes can be found at github.
    kahlilnc likes this.
  2. Offline


    Which file would that be?
  3. Offline


    This is my config.yml

        enabled: true
        max-length: 32
        allowed-materials: [2, 4, 5, 20, 22, 24, 35, 41, 42, 44, 45, 48, 49, 57, 80, 87, 88, 89, 98]
        enabled: true
        max-length: 32
        max-width: 4
        enabled: true
        max-height: 32
        allowed-materials: [3, 4, 5, 18, 20, 22, 24, 35, 41, 42, 45, 47, 48, 49, 57, 80, 82, 87, 88, 89, 98,[U] 101[/U]]
        enabled: true
        enabled: true
        max-search-height: 32
        enabled: true
        enabled: true
        enabled: true
        material: 263
    use-permissions: true
    use-worldguard: false
    use-zones: false
  4. Offline


    Ah, I didn't think door was the same as gate, but maybe I misunderstand the terminology here. I'll give it a try, thanks :)
  5. Offline



    Could you help me with this? It causes errors and I assume it is the :'s but ive forgotten what to do.

  6. Offline


    Yeah, I forgot about data values for items in recipes :+

    Still working on the rewrite, you'll have to wait, but I'm quite busy going to university and all (Technical University FTW btw)
  7. Offline


    Right click on bridge is server crash/freeze?
    No errors.
  8. Offline


    h0us3cat, a bukkit update broke the plugin, in a way that you won't like.
    The way Edoxile checked for and "end" block made the server create an infinite amount of chunks.

    Also, because Edoxile is currently rebuilding his plugin from the ground up, (even though he accepted my pull request),
    here's a temporary fixed jar http://www.wrongplace.be/files/minecraft_stuff/BetterMechanics.jar

    If you want a cleaner tool for the excess chunks (but I believe you have such said tools already), you know where to find me :p.
  9. Offline


    door enabled: false > gates are disabled too :p, you cant create gates but you cant use them.
  10. Offline


    Doh. Are there any other plugins for gates other than falsebook now? I was trying to get away from that thing :p

Share This Page