[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

    Edoxile

    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.

    Features:
    • 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)

    Code:
    bettermechanics.small_bridge.use
    bettermechanics.small_bridge.create
    
    bettermechanics.bridge.use
    bettermechanics.bridge.create
    
    bettermechanics.small_gate.use
    bettermechanics.small_gate.create
    
    bettermechanics.gate.use
    bettermechanics.gate.create
    
    bettermechanics.small_door.use
    bettermechanics.small_door.create
    
    bettermechanics.door.use
    bettermechanics.door.create
    
    bettermechanics.lift.use
    bettermechanics.lift.create
    
    bettermechanics.hidden_switch.use
    bettermechanics.hidden_switch.create
    
    bettermechanics.ammeter
    bettermechanics.cauldron
    bettermechanics.pen
    
    And for reloading the config:
    bettermechanics.reloadconfig
    


    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.

    Changelog:
    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

    Edoxile

    This is a know issue and I probably won't fix it. Using [dGate] is advised in these situations, and it will probably fix the problem.

    Yeah I might implement this, if it's not too much work :p. ATM I'm quite busy developing an other plugin, so it might not be soon but if I find the time I will do it.
     
  3. Offline

    seanster789

    just wanted to let u know that when using this plugin with the essentials plugin and you type in "/help" it used to show you all the commands associated with the plugin and now it does not show any of them. so if you could make this comepadable with essentials again that would be awesome cause i dont like tabbing out of minecraft and having looke at this page for all the commands that are needed to make the different doors and triggers
     
  4. Offline

    LlmDl

    This looks good, any chance you'll add the redstone-activated netherrack fire?
     
  5. Offline

    Edoxile

    As I've said many times before, no I'll not do this. This is not functionality of CraftBookMech, it's CraftBookIC, so if you want to use that, just run this + CBCommon + CBIC.

    That's Essentials, I cannot hook into that for the single purpose of adding these commands, because you simply cannot hook a command twice.

    Offtopic:
    I don't even like Essentials, I recommend you use TweakcraftUtils from GuntherDW.
     
  6. Offline

    Ture

    No, same thing with [dGate]. The gate is divided from the fence by one column of stone (the frame around the gate) where the sign is placed. Single hight fences make no sense as a gate, couldn't you ignore these when searching for the gate blocks?
     
  7. Offline

    Zykana

    I'm getting a [WARNING] [BetterMechanics] Disabled cauldron because there were no recipes found in the config. But I did set recipes. Bukkit 1000.
     
  8. Offline

    Edoxile

    Please post both your config file and caudron-recipes.yml so I can check syntax etc.
     
  9. Offline

    mutiny

    getting this in console, narrowed it down to switching a bridge with redstone

    09:10:52 [INFO] Amount left: 12
    09:10:52 [INFO] Amount left: 6
     
  10. Offline

    Edoxile

    Could be I left in some debug-stuff, I'll look into it.
     
  11. Offline

    JDD

    This really needs documentation rather than relying on craftbooks, which is in and of itself horribly documented.....
     
  12. Offline

    mutiny

    occasionally that will happen for a few tens of thousands of lines, and server will timeout, happens in a matter of 10 seconds or so
     
  13. Offline

    Edoxile

    Working on that, I'm getting my own site + wiki, but until that's finished I'll stick to craftbook's wiki.

    Tomorrow I have some spare time left, I'll look into it then.
     
  14. Offline

    Tauryuu

    Which permissions does this plugin use?
     
  15. Offline

    Edoxile

    Those can be found in the OP, under the Permission Nodes spoiler.
     
  16. Offline

    decebaldecebal

    i am running CraftBook but i want to switch to this plugins cause this seems more lightweight
    i have a question though,what does Bridges, Gates and Doors need a chest with the items, so they're not spawned. mean?
    do i have to put a chest with the items on every bridge, in front of every gate or what?
    i don't understand this part i just want it to be easy to use and make like CraftBook just put a sign with [Gate] near a fence wall and the gate will work

     
  17. Offline

    Edoxile

  18. Offline

    Thardion

    Can i get a example config for the Cauldron-recipes? I want to have it use multi IDs on each level. lets say I want to have it make Fire and the recipe calls for 3 netherrack and 1 smoothstone on the bottom and 1 ironblock and 3 wool on top. What would the recipe congif look like for that?
     
  19. Offline

    Edoxile

    Bottom/top order doesn't matter, as does the block order. Just add all the blocktypes as you want them

    https://github.com/Edoxile/BetterMechanics/blob/master/cauldron-recipes.yml

    So that would be:
    Code:
    recipes:
        Fire:
            # 3 netherrack, 1 stone, 3 wool, 1 ironblock
            ingredients: [ [87,3], [1,1], [42,1], [35,3] ]
            # 1 fire
            results: [ [51,1] ]
    
     
  20. Offline

    monir

    Hi we het this spam message all the time what can i do to remove it from console?

    [​IMG]
     
  21. Offline

    Edoxile

    I fixed that in the latest update, check the BukkitDev page (version 1.11)
     
  22. Offline

    Tanite

    In my case, it would work better if it gave precedence to fence that is above the sign instead of fence below it. I had a 1-high fence leading up to the gate and it just wouldn't work.

    Also, I'm wonder if this ignores ChestShop chests that might be behind the gate (in a small store). I haven't had this as an issue but it might make sense to do.

    Otherwise this seems to be working good so far. I have been looking for an alternative to Falsebook for a while :D
     
  23. Offline

    Edoxile

    I'll see what I can do.
     
  24. Offline

    monir

    Hi i downloaded the latest build i still get this spam message :(
     
  25. Offline

    monir

    latest uppdate still gving spam message
     
  26. Offline

    Tanite

    @Edoxile

    Is it possible that we can use the new iron bars as a gate material? Wooden gates are nice but having another option cosmetically would be fantastic (and long overdue) :D
     
  27. Offline

    fatmarley

    @exodile you know of any issues with mcmmo and lifts?
    and i 2nd Tanite's suggestion
     
    Tanite likes this.
  28. Offline

    Edoxile

    Yes! Ofcourse! I'll look into it as soon as I have time, but lately it's hard for me to even play Minecraft, let alone write plugins... I just started university and it kinda takes up all my time.

    Haven't heard of them yet, so I don't know...
     
  29. Offline

    Tanite

    I tried the 1.11 update you had on Git the other day for iron fence but it didn't seem to work. I'm guessing you might know that though :D
     
  30. Offline

    fatmarley

    Iron fence works for me. Did you add the item number to the file?
     
  31. Offline

    Edoxile

    I did fix it, but I'm rewriting the entire plugin for efficiency, so until then no updates from me unfortunately...

    Edoxile
     

Share This Page