ToolWorx
ToolWorx
Update 3/21/17
Started working on getting this plugin up and running. The drill and planter are functional but likely have some issues. Please post what you find not working. I'm expecting some materials to be missing etc.
Update 1/29/14
I have been working on a new idea for the project and It is close to being something runnable. I'm thinking instead of a predefined pattern that defines the operation of a machine. A 'blueprint' can be designed in the game and some blocks can be assigned a function. Initially I think only the op users will be able to design the blueprints. The function a block performed would depend on what block type was assigned. By default a block would have no block type and would only serve as a required block in the design. Other block types would move the machine, add or remove blocks. See the Architech page for more details It would go something like this
- A console command is issued and the blocks being placed by the op player are recorded - This becomes the machine blueprint.
- The op player selects a block and (via issuing a command) sets it to a particular block type. There will be several block that perform different actions like moving the machine , drilling, building , planting ...etc.
- once all the blocks are in place and the block types are set , the blueprint is saved and then any regular player can build a copy of the blueprint and activate the machine..
I've gotten busy at work and have some travel coming soon but I hope to have something (alpha release) in the next 3-4 weeks. Of Couse I'll try to keep the original tools working and unchanged as much as possible , At least until this newer system is stable and proven.
Based on MachinaCraft by Lyneira. My Initial effort will be to ensure all Machina are functional in the latest versions of Craftbukkit. The original author has moved on and I hate to see this project die.
Please refer to the MachinaCraft page for information. At this time the only changes from the original project are to allow it to work with a new release of CraftBukkit.
The ToolWorx plugins are machines (tools) that can be built by placing ordinary blocks in the world that follow a specific blueprint. Once the tool is built and activated (usually with a lever) the plugin takes over and the tool starts its work. To run any of the tools you must run the 'MachinaCore.jar' plugin in addition to the individual .jar file for each tool. Just drop the .jar files into your plugins directory and type reload from the server console (or restart it).
Current Tools
Currently the only tools available are the original MachinaCraft tools. These tools had not been updated since CB 1.5.1 and the current focus is bring the project up to date and removing all the deprecated code. These are the Original tools only modified where needed to run on Bukkit 1.7.2. Please note that the links below are to the MachinaCraft Project and are the excellent work of Lyneira (Not Me)
• MachinaDrill - Drills a Horizontal or Vertical 3X3 hole and retains all the mined blocks in a chest so you can come collect them later.
•MachinaBuilder - Builds Roads and bridges
•MachinaPump - Can be used to fill or drain a hole with water
•HoverPad- Allows the user to hover above the ground and walk around
•MachinaFactory- Used to transport, Craft or smelt items.
•MachinaPlanter- Automatically harvest crops, tills the soil and replants.
•MachinaRedstoneBridge- Used as an add on to existing tools, This allows a redstone circuit to activate a tool instead of a lever.
Planned Work
- MechArcitech - A plugin that will allow tool blueprints to be generated (and possibly edited) in game instead of "hard coded" per tool
- MechMason - A tool that will build vertical walls along a closed path. The player will lay an outline of the structure to be built and then build the MechMason tool on the outline. The tool will follow the outline building up one block every pass. Optionally stairs can be added to the side of the walls.
- MechMole - Similar to the MachinaDrill and MachinaBuilder in one. The MechMole will build a tunnel with optional lighting (placing walls , floor and ceiling where needed). The tool will be able to dive and climb as well as turn left or right.
- Improvements to the MachinaDrill and MachinaBuilder - an option to place an item (torches,saplings or anything else) every x blocks.
- Command Line options for enabling verbose logging to help diagnose problems
Hey there, just wanted to share an error with you that seemingly stops the plugin from working at all. Happens from CB 1.11 to 1.12.2.
[12:10:17] [Server thread/ERROR]: Error occurred while enabling MachinaCore v4.1.13 (Is it up to date?)
java.lang.NoSuchFieldError: LOCKED_CHEST
at me.lyneira.MachinaCore.Fuel.<clinit>(Fuel.java:55) ~[?:?]
at me.lyneira.MachinaCore.MachinaCore.onEnable(MachinaCore.java:40) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[craftbukkit-1.11.jar:git-Bukkit-0a81101]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:329) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:360) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:322) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:411) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:372) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:327) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:244) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:521) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
[12:10:17] [Server thread/INFO]: [MachinaDrill] Enabling MachinaDrill v4.1.14
[12:10:17] [Server thread/INFO]: MachinaDrill version 4.1.14 is now enabled.
[12:10:17] [Server thread/ERROR]: Error occurred while enabling MachinaDrill v4.1.14 (Is it up to date?)
java.lang.NoSuchFieldError: LOCKED_CHEST
at me.lyneira.MachinaCore.BlockData.<clinit>(BlockData.java:342) ~[?:?]
at me.lyneira.MachinaCore.BlueprintBlock.<init>(BlueprintBlock.java:58) ~[?:?]
at me.lyneira.MachinaCore.ModuleFactory.addKey(ModuleFactory.java:90) ~[?:?]
at me.lyneira.MachinaCore.BlueprintFactory.addKey(BlueprintFactory.java:61) ~[?:?]
at me.lyneira.MachinaDrill.Blueprint.<clinit>(Blueprint.java:69) ~[?:?]
at me.lyneira.MachinaDrill.Drill.loadConfiguration(Drill.java:496) ~[?:?]
at me.lyneira.MachinaDrill.MachinaDrill.onEnable(MachinaDrill.java:26) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[craftbukkit-1.11.jar:git-Bukkit-0a81101]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:329) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:360) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:322) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:411) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:372) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:327) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:244) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:521) [craftbukkit-1.11.jar:git-Bukkit-0a81101]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
I'm assuming when you say the drill needs MachinaCore you mean the old MachinaCraft core, which is what I am using. If you have a revamped version of the core I can't seem to find it, so lmk if that's the case.
Be sure to also download the machinacore plugin as well. The drill and planter require it to run
Got the drill working with the lastest build V1.11.2 . The fuel consumption is not working but I'm working on a solution.
Can you make that drill and other moving machines can't go out of protectet area?
Like I'm using grief prevention and i want that they can't use drill and other things for griefing! So 1. thing is to make that machine can't go out of his protected area or machine can't go in protected arena. But it would be better that he could just use machine in protected area.
@starcomedon
AWESOME !!! thanks for working on this again.....
My server is still on 1.7.10 - I tried Spigot/Craftbukkit 1.8.x without MachinaCraft/ToolWorkx and I just couldn't stand it :-)))))
Although I replaced most of my MachinaCraft pipe systems with hoppers and dropper-elevators so they even work in vanilla, I have quite a lot of Factories - and of course the Drills in the Wood-, and Sugarcane-Farms....
None of the machines work for me on spigot 1.8.7
Is this normal and I just need to wait for an update?
Great to see work on this. I love this plugin. I know some things that need updating but I need to get the newest version. The Drill would not pick up stained clay. The factory would not accept a golden carrot for brewing but I think that was because the block id changed. The pump can not work with an empty bucket now as I cannot seam to place that in a furnace.
I look forward to 1.8.x updates.
@starcomedon
Awesome! I'll try it when I get back home tomorrow. I agree with you that the drill and planter are the most useful.
The blueprints are an interesting idea. I would enjoy to see more features added to this plugin. If you need me to test anything else, or want to use my server to test stuff, just let me know.
Again, thanks for working on this!
@Hempfieldtesla
I just uploaded a working drill. Try it out and let me know what bugs you find. I'll add the others over the next few weeks as I have time. I'm thinking the planter next. I always thought the drill and the planter to be the most useful tools. The game now apparently continuously checks to see if the furnace has fuel and something to burn so the furnace doesn't stay lit unless it has both fuel and something to cook/smelt. I'll work on a workaround.
I just about had a way to define the blueprints for a machine in game when (I thought) the plug was pulled on bukkitcraft. I think I'll continue in that direction once I get a few more of the original machines working.
@starcomedon
You are correct about Craftbukkit. You have to compile the files yourself now, but it is fully possible to create a 1.8 Minecraft server. Spigot is now the main developer for the files.
Here is a video on how to create the server: https://www.youtube.com/watch?v=oZpUV68S_1U
Here is some info about spigot: http://www.spigotmc.org/wiki/about-spigot/
I have successfully setup my own 1.8.6 server. I was running Machinacraft on my 1.7.10 server, but had to stop using it with the update to 1.8.6. Thanks so much for the reply!
@Hempfieldtesla
I might give it a shot but isn't craftbukkit dead ? maybe I'm missing something and its been a long while since I've checked into this but I remember someone got their feelings hurt and decided to screw everyone else over by getting the download removed with legal action. Is there such a thing as a 1.8 craftbukkit server ? if so where can I get it. I'd spend some time getting this working again. The original code wasn't so hard to understand and I added what was needed to get 1.7 working.
Any thoughts on updating this plugin to 1.8? I would love to have it on my server! I used to play on a server with machinacraft back in version 1.5, and enjoyed using it.
Sorry but with redstone bridge i can stop actions of levers but not start !
Ah, seems like 1.6 was skipped all together :/ worked great as Machina in 1.5 then nothing, now its ToolWorx for 1.7.
Id sure love a 1.6 version. My planter will not plant anything but netherwart in 1.6 using the 1.5 machina
These are great and I am glad you have updated them. Only issue I have is that the factory will not take a golden carrot for brewing. Would be great if that was resolved.
Seems like drills aren't updated to 1.7, they can't mine through the new blocks.
Also, it IS possible to create automated factories without the use of the redstone bridge.
But doing do required multipule loops (item splitters, crafting relays, and furnace relays). [re-crafting/smelting the same item over&over(craft/smelt loop), and return unprocessable items back to the source item chests(splitter loop)]
@kreezxil
The furnace relay works, you have to put a pipe directly into the back, then a brick in front with wood planks in front of the bricks, then lever on the bricks and frence on the planks, like an item relay.
Also here's a list of my plugins: Sonic Screwdriver, TARDISHorseSpeed, AnimalSelector, MobDropControl, Vault, MorePotions, AdvancedGenetics, HashtagMinecraft, RadioBeacon, VariablePortalSizes, BlockCrusher, AlchemicalCauldron, RPGHealth, Steve, MachinaCore, Broadcastery, Gates, VillagerNames, JukeLoop, HoverPad, MachinaPump, Jarvis, ProtocolLib, SkullTurret, Votifier, MidiRadio, MobArena, Lift, Mineral Vein, EXPBottles, PTweaks, UberEnchant, SignTimer, EasyElevator, Soulbound, TagAPI, DiabloDrops, GrowStone, UberForest, CHDistantFarm, ItemDuplicator, LagFixer, MonsterEffects, BlueBook, TeleParticles, WurmBarbeque, EndlessEnchant, ClockworkPlanter, CrackShot, CodeLock, DailyDiamond, ItemStatsPlugin, EasyAntiSpam, Herochat, MoneyDrop, ArmorHUD, BeamPaths, Essentials, WorldBorder, GroupManager, GiantCaves, SpellArrows, Multiverse-Core, Ollivanders, stables, FloatingIslesGen Alpha, TrailofBlood, BukkitIRCd, Lag, SimplyClear, MachinaFactory, TARDISChunkGenerator, ElectricFence, StatusSign, SimpleClans, mcMMO, Better Crops, Citizens, SkyDiver, GoldIsMoney, EssentialsSpawn, LowMem, DrugsXL, Guile, Altars, InfernalMobs, ArcaneEnchants, PlayerHeads, JSONAPI, ProjectRassilon, Appleseed, AnchoredPortals, QuantumConnectors, CoreProtect, BetterCarts, MinecartMania, ShipsConfigCreator, SalvageSmelter, CreeperHeal, CommandSigns, MachinaDrill, InSigns, SignURLs, MachinaRedstoneBridge, CellJailer, MachinaPlanter, tpAnimals, Werewolf, SignShop, Builder, Gods, MyPet, Ships, Sentry, SignShopHotel, MyPet-NPC, Trade, TARDIS, Reforestation, AuthMe, PortalGun, ChestShop, Residence, ResidenceSigns, resfly, WorldEdit, Cannons, WorldGuard, va_postal, GrandExchange, Landslide, ShelfIt, CraftBook
Also found out the furnaces relays aren't working for me either.
what plugins are installed on your server? that might help me and others to figure which of ours are being bad.
@starcomedon
Here's my worldguard config. it's default. don't know why the redstone bridge doesn't work.
http://pastebin.com/P4MjB9HD