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
@MateCraft
I'm glad that it's working now :) For the bug, You're totally right. I did indeed do the block changes, but I totally forgot to send them to the players once the whole frame was removed. I just fixed that in the latest indev build. I'll see if I can offer support for HawkEye too.
@sandtcraft
If you mean the Fuel finder upgrade, you can find it in the plugin description above. If you mean the Fuel Efficiency Upgrade, I did implement that already, but did not add any recipe for it yet. It's simply not finished yet :P
@BeMacized
Hey I thought I'd report back with the good news.
The quarries are now fully functional, with no logblocking tools. We're going to fix up hawkeye tonight, hopefully that won't break it :)
Thanks for everything, this is quite an amazing plug-in.
I leave you with a minor bug report and a suggestion:
Bug: When you destroy the quarry the mc client doesn't register that the whole structure is supposed to disappear, so it appears to still be there until you restart.
Suggestion: it'd be cool to be able to decide both the speed bonus gained from boosters and the fuel cost. The current 3 booster system is a bit too fast I feel like, as it invalidates any need for a bigger quarry.
recipe for fuelupgrade?
@bear2759
Hmm, I'll look into that in a sec. Could you maybe try the latest build from our build service?
hi mate, my quarry is getting stuck on dungeon chests, even though it has the chest mining upgrade. on my test server without the chest miner upgrade it mined the chest and dropped all the items. 2nd is probably expected behavior, 1st though I doubt it....
@S0Nx0FxAxS0N
That's right, as liquids are on the ignored blocks list in your configuration file. This will change in the upcoming version though.
@MateCraft
Seems like an error with CoreProtect. I'll add in some protections to stop these errors in the new release. For the problem you have with your quarry not consuming fuel, I'll try to look into your problem somewhere today. In the meanwhile, try uninstalling NeXTQuarry. Start your server once without it, and reinstall it.
Hey, it doesn't work if there is lava in the way. :/
Ok, I'm back.
We've finally updated to the latest craftbukkit issue. I'm having the same issue as legglestheghost, *however* my console is showing me an error as follows:
" at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) [ at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:409) [ at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:476) [ at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) [ at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:512) [ at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [ at org.bukkit.craftbukkit.v1_5_R2.scheduler.CraftTask.run(CraftTask.java:53) [ at net.nextbattle.quarry.main.MainClass$1.run(MainClass.java:114) [ at net.nextbattle.quarry.entities.Quarry.doTick(Quarry.java:390) [ at net.nextbattle.quarry.entities.Quarry.mineStep(Quarry.java:463) [ at net.nextbattle.quarry.support.PluginSupport.logRemoval(PluginSupport.java:41) [ at net.nextbattle.quarry.support.CoreProtect.logRemoval(CoreProtect.java:26) [ java.lang.NullPointerException [ 2013-04-23 16:35:28 [WARNING] [NeXTQuarry] Task #16 for NeXTQuarry v1.4.2 generated an exception "
As always you're still welcome to my server, if you wish to investigate it personally or chat in real time - or even just have a good time.
EDIT: We replaced CoreProtect with HawkEye, no more errors but it's not even consuming fuel at this point. When we all logged off and back in the quarry was actually built (in CoreProtect, it glitched somehow) but was not able to dig anything from what we could tell.
@LegglestheGhost
Everything seems to be ok, assuming that you use NeXTQuarry v1.4.2. I do see the ClearLag interacts with loaded chunks, so I could tell you the following. Try to remove ClearLag, and see if the issue persists. If this fixes the issue, and you still want ClearLag installed, try setting "continue-when-unloaded" in the configuration file of NeXTQuarry to "true". That might fix the problem.
@BeMacized
1.5.1-R0.2 is my version.
The version that's provided here. The latest one I assume.
I built it, and noticed it had consumed coal, but nothing happened. So when I tried to move near it, it gave me a little jump like walking into an unloaded block. Then I re-logged and it had appeared a little further completed each re-log.
There were no errors in console.
The only plugin I have that maybe conflicts with it is ClearLag, but it's such a popular plugin I assume you wouldn't have errors with it.
@LegglestheGhost
It should not give much more lag. It indeed did before, but I fixed that.
To be able to solve your issue, could you tell me the following things:
- Your CraftBukkit version
- Your NeXTQuarry version (And build version too if you downloaded it off our build service)
- All steps you did before you concluded the quarry did not work
- Any errors caused by NeXTQuarry that may have appeared in your console (There may not be any)
If you can give me this information, I can help you further in solving your issue :)
Is it expensive on server resources? I have a bit of lag if more than 30 players join my server. Will this increase that lag drastically?
- Edit: I just added it, though I still would like a response to my last question, but anyways. It's not drawing the frame like it does in yours. I have to relog to see the progress mad.
Beast.
@sandtcraft
It could be too that the quarries did not save. Quarries do not save if the server did not shut down properly. So if you shut down your server by doing anything else than using the /stop command ingame, or in your console, like force quitting it, or if it had a crash, the quarries won't be saved. If the quarries are placed after the last restart, the blocks may have been saved, but for NeXTQuarry it would appear they have never been there at all.
I will try to make periodic saving, to prevent such a thing from happening this often.
@Chester007
Hmm, could you tell me what version, and if you downloaded it from our build service, what build of NeXTQuarry you are running? Same goes for your Craftbukkit version. (You can find that information by using the /version command in your testserver). I'll need to know these things to be able to help you :P
@sandtcraft
That means the quarries were not able to load properly. Did you mess with or delete any files in the NeXTQuarry folder in your plugins folder, apart from config.yml?
quarrys become destructable! after restart!
also after restart if u remove quarry it wont only block will remove!
btw restarting server forgot the quaarry and becoming normal blocks!
that error is from bukkit it self, they ruined the last one!
I'm getting an error when running it. I tested it out on a small server (192MB RAM) and I get this:
2013-04-23 05:49:23 [SEVERE] Could not load 'plugins/NeXTQuarry.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/nextbattle/quarry/main/MainClass : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_5_R2.PlayerList.<init>(PlayerList.java:55) at net.minecraft.server.v1_5_R2.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.UnsupportedClassVersionError: net/nextbattle/quarry/main/MainClass : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:266) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more