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
@bear2759
I'm glad the lag issue is finally resolved then :) Thanks for the reports. About the chest issue, I was indeed aware of that problem, which I'll fix in a later version.
@MateCraft
I had that issue before, try stopping your server, removing the plugin, starting the server, stop it when it's fully started, reinsert the plugin and start your server again. That fixed it for me.
Hey, sweet plug-in!
I've been trying to install it on my server, but the recipe doesn't show up even though the command (/nextquarry) does. I tried reading everything you posted, and can't find any dependencies or incompatibilities (I even removed a custom recipe plug-in just to be sure).
Any ideas of what could be causing this?
leave it for when this one's working 100% ;)
I've got 4 tier 1 quarry's running now, and while yes it is pushing my CPU it's still not causing lag. I think I can confidently say you resolved the issue that I had with the quarry file. I do have a slight bug to report though.
if all slots in the chest have an item, quarry will halt regardless of weather item is stackable or not. e.g. to test yourself, you could start a quarry, and put 1 cobble in each slot (while it's mining stone) and it'll halt.
very happy with the progress, I'm almost confident enough with the 1.4.2 build to implement it on my live server :)
@bear2759
That's a nice idea :), I'll get working on that maybe.
looking good, testing 1.4.2 build now. definitely improved again, will monitor it over time and get back to you...
just had a cool idea, a mod to your mod if you will. obviously once you get your quarry mod up to scratch and are happy with it as a finished product, you could then create another version that is a 3d printer :). one that can print from schematics. possibly even a 2 in 1 where it will mine a 16x16 (or otherwise) area, then when done, print a specified schematic in the hole. :)
imagine it as a way servers could auto build users houses on their plots before they can move in :). i'm picturing it being implemented with towny, where it can deconstruct ex-users houses, all materials being returned to town stockpile and a default house built in its place...
@kreezxil
It should yes.
Does the quarry frame go away when you remove the quarry machine?
oh I will be updatng to the latest. lol Right now only have 2 worlds a creative and a survival.
@sandtcraft Awesome! I'm glad you like my plugin :)
@UpGive You're welcome! :) If you're gonna use world whitelists, I highly recommend you to use v1.4.2, as I fixed a bug with those in that version.
To everyone who wants to use that version before its approved here on BukkitDev, you can get it from our build service:
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk. http://vps.nextbattle.net:35790/job/NeXTQuarry/43/
Great work. Am testing it out on my multiverse server. Have tried every version since 1.1.0 right now using the latest one. with 2 quarries going server is using 6% of cpu and staying at a steady 14% or ram. No noticeable lag at this point. Been running none stop for about 30 minutes and have it set up to run when I am offline. Have not tried to put whitelist into other worlds as of yet. But just wanted to say good work and thanks for the fast updates.
@BeMacized
btw I am testing your nice plugin :)
Gonna use it on our donator ranks! :)
If I found bugs I will report them!
@sandtcraft
That's bad. I'll try to fix that in a sec. Hang on.
if you place other blocks in other worlds its starting to spam you cant build a quary or something in this world! :(
@sandtcraft
I mean other blocks in other worlds!
there is a bug or problem when I enable whitelist for resource world people cant build anymore!
@sandtcraft
Yeah I already implemented this in NeXTQuarry v1.3.0. Just make sure it generates a new config file, and you should see the option for world whitelists somewhere at the bottom of it.
btw I gonna use this plugin if it could enable each world seperate so I can let people use it on our resource world!
BTW if you wanna check out our server IP: sandtcraft.uk.to
@bear2759 @ryanblm Yeah I disabled those on purpose. Quarries can't mine liquids by default. You can remove them from the config if you want, but that would just turn them to air, and not mine them. I disabled them by default because it causes the liquid blocks to update often, causing quite some lag. Consider that a warning, but I won't stop you :P
For the arm beam idea, I'll add a configurable anti lag option to only draw 1 beam.
@bear2759
can i just butt in here... water and lava blocks are auto blocked from being removed from by the quarry (i believe but could be wrong that it can cause issues!) but you can allow the block to mine it using the config remvoe the 8-11 blocks as they are the water and lava blocks :)
@BeMacized
no problem, glad you found that. while the file is only around 2kb, it works great. something else I noticed, which you may want to test, my quarry appeared to get stuck on water blocks, as though it didn't know how to process them.
another thing that may help reduce lag, is removing one of the frame axis. your traditional gantry cnc/crane etc all have a single overhead beam running along the Y axis, not both X and Y. this would reduce the number of block updates per tick.