[MECH/DEV] MachinaCraft v4.1.11 - A framework for lever-activated devices [1.4.7-R0.1]

Discussion in 'Archived: Plugin Releases' started by Lyneira, Nov 6, 2011.

  1. Offline

    Lyneira

    [​IMG]


    What is MachinaCraft?

    MachinaCraft is a framework for machines made up out of blocks, activated by right-clicking on a lever. It is modular and includes several plugins that can make repetitive tasks easier, such as digging or building in a line, even placing and clearing bodies of water. Because it is modular, other plugins can also use MachinaCraft to make their own activatable machines.

    How do I build a Machina?

    Similar to crafting something on a crafting table, but in the game world. Place blocks in the world in a predefined way and put a lever on the right block. Rightclick the lever, and if you built it correctly, the Machina will activate.

    A demonstration please!

    Plugin Showcase by WoopaGaming

    Pictures! And where do I get a Machina plugin?

    These are the Machina plugins available right now, included in the download:
    Collaboration
    I am looking for help in improving the framework! If you think you can help make it easier to use, more powerful, more efficient, I would like to hear from you via email or PM!
     
  2. Offline

    Wolfy223

    What an amazing plug-in! Makes boring stuff so much easier to do! Thank you very much! And thank you, 5phinX, for the vertical drill! ;)
     
  3. Offline

    Lyneira

    Great to see a vertical drill plugin! Would you be open to integrating the vertical model with the original drill plugin to make it work horizontally or vertically depending on the model you built?
     
  4. Offline

    5phinX

    Great idea! I'm on it.
     
  5. Offline

    AFakeman

    Add please wall builder! Also, Machiina building roofs could be awesome to.
     
  6. Offline

    Lyneira

    You can make walls with a 1x1 tower of up to 6 blocks high, then make your builder on top of that. Make sure the foremost wood block is on top of the 1x1 tower and it should work.
     
  7. Offline

    Domochevsky

    I suppose the pipe makings are a ways out then? :)
     
  8. Offline

    Mercury

  9. Offline

    Lyneira

    Version 2.0 is out!
    • Drill now has a vertical model for drilling straight down.
    • Builder now responds to signs with <- or "left", -> or "right"
    I like the idea, but what you're asking is a machine with a flexible shape, dynamic pipelining of items from and to various types of containers. My spare time is limited, I don't know if I'll get around to it.

    That should not be happening, I'll look into fixing that.

    If I'm understanding you right, you want a machine that builds walls next to itself? I'd like to keep the current builder as simple as possible so it is easy to memorize. MachinaCraft allows other plugin developers to make their own Machina plugins, so this might be best suited to a separate plugin.
     
  10. Offline

    Patre90

    is it possible to make a machine like this:
    2012-01-08_23.39.58.png
    doing this:
    2012-01-08_23.47.09.png
    ????????????

    p.s. i love this plug-in ^_^

    for the wall machine i thinking on a machine like this:
    View attachment 7981
    for doing this:
    View attachment 7982

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

    Wolf

    I have tested it with my friend today and found a strange bug : i can activate a drill easily, but he can't ! (there is no any info message in chat for him, the drill just starts and stops immediately) I am an op, he is not, but we both have the same permissions allowing us to activate and stop drills (i've checked it a couple of times). It seems there is something wrong with supporting permissions. Using latest craftbukkit build and PermissionsBukkit 1.2
     
  12. Offline

    5phinX

    I like your ideas, They are possible to make but as Lyneira said it'd require making independent plugin for it. I can try making it if you want...
    Are you sure that you didn't try to activate a drill in an area that is protected by some protection plugin and your friend doesn't have permission to build in this area?
     
  13. Offline

    Patre90

    i think i have too much strange ideas, for the drill, is possible to make a diamond version of the drill with the drill speed increased?

    p.s. i have try to modify the blue print of drill to make a diamond drill, but it don't go... i don't know what i wrong. i'm very newebe in java programmation..
     
  14. Offline

    5phinX

    You can configure the block properties in the config.yml file. One of the configurable properties is a drill time. It's the simplest way to boost your drill.
     
  15. Offline

    Wolf

    Yes, we tryed it in differenet places, there were not any protected regions.
     
  16. Offline

    onureemus

    not a plugin related thing but can you make a sign based timer that counts down and at count down sends a redstone signal and then counter resets ? its easy me to request that but i think its quite hard to make
     
  17. Offline

    5phinX

    There is a bunch of plugins that implements exnteded redstone features as counters. I use RedstoneChips, which can handle your request. But in this thread it's quite off topic I think.
     
  18. Offline

    onureemus

    sorry about the off topic
     
  19. Offline

    Patre90

    thanks ;)
     
  20. Offline

    Lyneira

    Version 2.0.1 is a bugfix release for this exception, which could happen if a chunk unload (player moving far away or logging out) caused a machina to deactivate.
     
    Mercury likes this.
  21. Offline

    Junrall

    @Lyneira
    Very cool plugin! One of my favorites :p

    If I could throw my two cents int:
    - Incorporate double chests on the Drill
    - Instead of an iron block on the Drill, use a piston that actuates when it breaks a block.
    - If the player is standing on a Machina, move the player with it so that they can ride it.
    - And, if the player can ride it... have another configuration that requires the player to use a pressure plate
    instead of a lever.

    ok... that's four cents worth!

    Anyways... great job!
     
  22. Offline

    Thea_Notix

    Would it be possible to make a robotic Snow golem? Make it with a furnace at the bottom, gold in the middle (with the lever on) and a dispenser as it's head? So it travels in a direction leaving snow behind it, and firing snow balls at a reasonable rate?

    Like a clockwork soldier? Because that could be fun. Maybe a variant with a jack-o-lantern for a head, which fires arrows, and if hit by an arrow turns off? (Jack-o-lantern to pumpkin.)


    Maybe a bit more generically, a catapult or a Cannon? Make it fire Ghast shots, and we can wage proper wars! (Maybe make it have 2 levers, 1 to fire, and 1 to move?)

    I'm not sure, just giving ideas to anyone who wants to try and make them! :p
     
  23. Offline

    tommywagner96

    just awesome!
     
  24. Offline

    Zipperskul

    My first post ever on this forum, and its quite noobish.. Im looking at the permissions and I honestly have no idea what file to put them in. I normally put them in the Permissions.yml file outside of the plugins folder, but this looks like a different format.. I want to keep it how it is, but make it so members can create and activate their own drills.

    Where do i put these permissions?

    PS.. LOVE this plugin! Lyneira, you ROCK!

    Thanks in advance!!

    Zipperskul
     
  25. Offline

    Lyneira

    The permissions you see on the site are a copy of what is inside the plugin's plugin.yml file. They're just meant to inform you of what permission nodes there are, their description and what their default value is. (They all default to true for ops only)

    If you just want to give your users access to all the machines, I recommend you give them the following permission nodes:
    Code:
    machinabuilder.all
    machinadrill.all
    machinapump.all
    On a side note, if you want to manage your permissions and groups properly it's recommended to get a permissions manager plugin, as Bukkit's Permissions.yml is not really meant for that.
     
  26. Offline

    Stephen92

    God I just want to say this is the best plugin my donators get to use, please keep this going :)
     
  27. Offline

    Lyneira

    Version 2.0.3 is a bugfix release, this fixes a bug where drills and builders could hijack a chest or furnace that is protected by plugins such as LWC, if a player built a drill or builder around said chest.
     
  28. Offline

    diffedge

    LOVE it!

    Keep up the good work!

    I look forward to seeing all the different type of machines one can make!
     
  29. Offline

    Pedroh12

    HEY THAT PLUGIN IT'S AMAZING I CAN SUPPORT YOU I DON'T KNOW NOTHING ABOUT PLUGIN CREATING BUT I CAN GIVE YOU SOME MACHINA IDEAS OK?
     
  30. Offline

    Mercury

    Lyneira
    Do machines do any intensive process to server?
    In other words, does plugin consume (a lot?) server resources (CPU, RAM) if I have ~ 10 - 20 machines running on different location/chunks? While LogBlock is logging every machine.
     
  31. Offline

    Lyneira

    I remember doing a test on my 5 year old thinkpad T60 with about 6 drills at the same time, I couldn't notice any change in CPU usage. But it depends on the size of the machina and what it is doing.

    I experimented with a fairly large (38 blocks) hoverpad machina that moves with the player, updating every half-second. Tested by running in circles to avoid too much chunk loading which would confuse matters. CPU usage went from ~26% to somewhere between 30-34%. Turning off collision detection didn't seem to make a difference. When standing still (the machina verifies itself every half-second but doesn't move), CPU usage returned to 26%.

    Based on that, I think moving and rotating are the most expensive operations, based on the size of the machina. The builder and drill are a lot smaller and move much less frequently though.

    Also did a test with 10 drills digging through a mountain at the same time, CPU usage sat at ~28% compared to idle ~26%. I can't speak for logblock's cpu usage, but it would only log the iron head of the drill being placed/removed during a move (as a check for region protection) and the blocks that were actually drilled.

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

Share This Page