NeXTQuarry
NeXTQuarry adds quarries to your server, without having your players required to have any mod installed. They can have several sizes & upgrades.
Note: I love to hear it when people run my plugin, so if you run this on your server, feel free to drop the ip in the comments, or send it to me by PM, and I might come take a look :)
What are they?
They are machines that dig out a big area for resources. These allow the player to go do other things while the machine mines for them. As convenient as it is, it also comes with some drawbacks of course. They are quite expensive to build, and require coal as fuel to be able to run. They won't do anything without it. Without any speed upgrades, they are also quite slow. The plugin tries to keep gameplay as balanced as possible.
Awesome review by TwixPVP (Thanks guys!):
Find more videos & reviews by clicking here! (More languages too!)
Usage Data:
Warnings & Notices
As with any plugin that performs blockchanges: BACK UP YOUR WORLD! The world changes made by this plugin are not reversible yet by the plugin itself. Please manage the permissions of this plugin with care, and watch out to who you give them.
Data usage notice: This plugin DOES collect anonymous usage data. This is toggleable, so if you do not approve of this, you're able to turn this off. The data collected is used to present the following information: http://mcstats.org/plugin/NeXTQuarry.
Update notice: The plugin DOES automatically update by default. This can be turned off in the configuration file.
Dev join message: This plugin CHANGES my join message. If you do not approve of this, you are able to turn this off in the configuration.
Commands
/nextquarry - Gives information about the plugin, and about your permissions as a player.
/nextquarry items - Opens an inventory with all NeXTQuarry items
/nextquarry craft - Shows the recipe book for all NeXTQuarry items
Supported Plugins
Block Protection
NeXTQuarry will take block protection into account from the following plugins:
- WorldGuard
- Factions
- Residence
Block Logging
NeXTQuarry will manually log block changes made for the following plugins: (for rollbacks)
- CoreProtect
Get the sauce!
Source code: Github Repository
Configuration
You can find the Configuration file in the NeXTQuarry folder inside your plugins folder, which should appear after the first start of your server with the plugin installed. The file is called config.yml.
All configurable options are documented right in the configuration file. If you have any questions, feel free to ask!
Permissions
- nextquarry.user.* - Gives the player all user permissions. -Enabled for everyone by default-
- nextquarry.user.tier1 - Allows the player to place tier 1 quarries. -Enabled for everyone by default-
- nextquarry.user.tier2 - Allows the player to place tier 2 quarries. -Enabled for everyone by default-
- nextquarry.user.tier3 - Allows the player to place tier 3 quarries. -Enabled for everyone by default-
- nextquarry.user.remove - Allows the player to remove quarries. -Enabled for everyone by default-
- nextquarry.user.edit - Allows the player to edit quarries. -Enabled for everyone by default-
- nextquarry.user.craft - Gives access to /nextquarry craft. -Enabled for everyone by default-
- nextquarry.admin - Gives the player admin permissions. -Enabled for ops by default-
Admins can break or edit quarries, no matter if it belongs to them or not. Users with the remove/edit permission, may only remove/edit quarries that belong to them if private quarries are enabled in the config.yml file. Admins can place quarries in worlds where it's not allowed, and can place unlimited quarries. The nextquarry.admin node also gives access to /nextquarry give.
Recipe time!
Quarry: Tier 1
This is a tier 1 quarry. It is 18 by 18 blocks, and digs a hole of 16 by 16 blocks.
Quarry: Tier 2
This is a tier 2 quarry. It is 34 by 34 blocks, and digs a hole of 32 by 32 blocks.
Quarry: Tier 3
This is a tier 3 quarry. It is 50 by 50 blocks, and digs a hole of 48 by 48 blocks.
Fuel Injector
Right click any quarry with this item, to open its fuel bay, and insert coal!
Quarry Wrench
Right click any quarry with this item, to open up the upgrade slots, and insert your upgrades!
Speed Upgrade
With this upgrade, your quarry will become faster! (but run out of fuel faster as well). Max. 3 per quarry.
Chest miner upgrade
With this upgrade, your quarry will mine the contents, of any chest it finds! Nice for looting dungeons! Max. 1 per quarry.
Fuel Finder Upgrade
With this upgrade, your quarry will automatically put the coal it finds in its fuel bay, if there is room. This way it will hopefully run for longer without refueling! You will mine less to no coal though. Max. 1 per quarry.
Fuel Efficiency Upgrade
With this upgrade, your quarry will last longer on the fuel it has. It will consume less, and do more work instead. Max 3 per quarry.
Smelter Upgrade
With this upgrade, your quarry will automatically smelt ores it finds. It uses the same amount of fuel a normal furnace does. This efficiency can be increased using the fuel efficiency upgrades. Max 1 per quarry.
Liquid Miner
This upgrade allows the quarry to fill any empty buckets in its chest with liquids it finds. If there aren't any, or if there is no room, the liquid will just be lost instead. Max 1 per quarry.
Cup of coffee
If you like this plugin, please consider buying me a cup of coffee! Donate via PayPal! (You can do so by clicking the "Donate" button in the header on the top right of this page. Thanks a bunch!)
Awesome people who supported the plugin:
- Kreezxil
- TheAlmightyLlama
- Matecraft
Hi, can you update the plugin to 1.7.4??? thanks
I'm back again! Hey guys help him develop 1.7.x faster by donating. I'll send some more $$ in a few weeks myself. This is a great plugin and I too want to see it available for 1.7.x.
:)
can you make this have worldguard and towny support? i need it so players cant use this to get items outside their town!
Read my username... Please make it fo 1.7!!!!!!!!! Its been forever
@BeMacized
Hi hi I really would like to try this plugin on my 1.7.2-R0.2 would it be possible to get a PM link to the 1.7 version if it's complete. I figure it may take some time to get it approved on Bukkit.
Well, I'm not that new to Java so I took a look at the source code and tried to fix this myself. I guess I'm not that old to java either =/
So far, I've gotten it down to this line that is making the script not work:
This line is in WorldFunctions.queueBlock.
Unfortunately I don't know what chunk.a is supposed to do, and someone else told me the net.minecraft.server is obfuscated each release, meaning that most likely net.minecraft.server.v1_7_R1.Chunk.a is a different method than the previous version.
Eagerly awaiting 1.7 release of this. Looks epic :)
@IvanSokolovBG
Seems like a compatibility issue with 1.7. I'll try to upload a new version for you asap!
Hi!
I wanted to implement your plugin! Finally!
But when i restarted my server, a massive error came out...
http://pastebin.com/jNrA6vny
i wasn't able to wait till full error...cuz like it looked it will continue forever...
using craftbukkit version-1.7.2
nextquarry verison-1.6.4(latest)
a fix maybe...=-(
@Nuinethir
Haha thanks, although I'm dutch, so I don't celebrate thanksgiving here :P No it doesn't contain the fix. afaics, everything seems to be as it's supposed to be code side, couldn't really figure out why it could be malfunctioning.
@BeMacized
Does this latest update fix the quarry structure issue with Worldguard?
Hope you had a wonderful Thanksgiving. Thanks again!
@BeMacized
Very nice plugin I sure will be using it!
@alek123222
Thanks, pulled the new update from public view. I'll upload a working version in a sec.
Plugin will not load here's the error: http://pastebin.com/NBp2dLsm
@Nuinethir
I'll look into this issue as soon as I get home :)
@BeMacized
I wouldn't mind testing future versions out for you, so if/when you move forward, I would be happy to be a tester for you.
I was preparing to implement this on my server but came up with a problem. I tested the WorldGuard protection (which I use to administer player areas) and it works well, stopping the quarry when it hits a region. The problem lies within the framework itself, which "eats" into the region. I suppose applying the same check for the framework that the quarry drill uses would be good here.
If you could look into a fix for that I would appreciate it. I want to let players use this but I don't want them using the framework to potentially grief others. Thanks again!
@Nuinethir
Thanks for your feedback :)
There are indeed some problems with how it behaves atm, but I really want to rewrite the whole thing before I fix things like that, since it's very badly coded. (Which seems to happen to all stuff I make, magically, since I seem to be improving bit by bit) I however currently don't have the time to do that due to school and other projects, and therefore am only adding small fixes & features at a time. When I get a vacation again (Maybe around christmas) I'll consider spending my time rewriting the plugin, and of course I'll keep these things in mind you mentioned :)
Thanks for the help!
So I did a test run with this, as I wanted to see how it behaves. Here's what I found:
I noticed that if the quarry is broken and replaced in the same spot, it will rebuild the quarry but starts mining at the top. As I know this plugin is meant to imitate BuildCraft's quarry: BC has a check to look for the highest non-air block in the quarry area. It then goes to that level and begins to mine, skipping empty levels.
Changes I would like to see:
This is an awesome plugin and makes me much happier that I don't have to rely on a Forge-modded server. Keep up the good work!
Looks really cool!!! Will try at my private server :)
@robotnikthingy
Not really. I prefer working with these kinds of plugins directly, to prevent any kinds of compatibility issues from coming up when bukkit updates as much as possible.
@bianca2311
Yes. It does.