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
Amazing plugin! I am so glad I found this! EDIT: You wanted it, so here it is. mc.flintlockgaming.net
I have a request, can you add permission nodes for people being able to "upgrade" there quarry?
This Plugin is Really Cool But I dont get how to get a quarry... can someone please tell me how?
We now have 2 quarries running full speed and no discernible lag present... excellent! And man is it fast! As fast as a player except it doesn't need any breaks.. lol
Here is a request.... is it possible to enchant the quarry block with Fortune for example so you don't lose the extra drops?
This is running perfect on my server, thanks so much, try to make some more "tekkit" plugins haha!
Well.. it has been running overnight and I gotta say.. I love this thing!
Since I rent a MC server I cant say how much a single tier 1 quarry affects a cpu but I havent noticed any issues with it yet. But I can imagine it wouldnt take too many quarries to bring lag up to a noticeable level. I allow only 1 quarry per user (when I implement the perms) so hopefully it wont impact us too much. And I dont have it running if you are offline or the chunk is unloaded.
Now if it just didnt have to save all quarries every 60 seconds and the upgrades wouldnt disappear after a server restart then it would be perfect. Oh, and is there a way to set the direction of the "box" that the quarry builds? Or does it always set itself in the northeast corner?
Waiting anxiously for the next update.. lol. Maybe we can have a stationary "particle beam" to do the mining... would reduce the number of block updates that happen every time the current "arm" moves... especially as it goes deeper. Just thinking out loud. :) Oh, and perms for crafting the upgrades... would be less lag if the quarries were limited to no speed upgrades.. I think.
When it comes to implementing these items specific to this plugin, does this utilise only NBT tags, or does it also use damage values to distinguish the items from their normal counterparts?
Configurable names, lores, and recipes of each item would be rather nice. Also, the ability to configure what a block drops when it is mined by a quarry would also be great. (I know this plugin is still in its early stages; I just wanted to throw these ideas out there.)
By the way, you might want to change this plugin's status from "Planning" to something else. Great work though! :)
Umm.. I have the same problem as others.. it loses the upgrades after a restart...
And is it normal for it to save the quarries every 60 seconds?
fantastic,bu how much lag can do?
I am installing this in my server because it sounds very interesting. Going over the config I realized that it would be great if we could specify the sizes of the tiers ourselves. For example, on my server as you rank up you are allowed larger residences (love that Residence plugin) and if the tier sizes were configurable then each player could mine his land completely from border to border. Better yet would be if this plugin would recognize the res plot size and stay within those boundaries But it would get confusing dealing with attached areas so.. if we could specify the tier size then that would be great. I haven't even used this yet so I am supposing that you place this thing down in the center of the area you wish to mine?. I will find out since I am going in game now to play with it.
This is pretty sick! Im going to Hook it up with Super craft bros Test Server :D
@BeMacized
You can use my Jenkins. PM me if you want to.
@ImpyCode
@Frazew
Hmm, it could just be that I need to update worldedit to work with NeXTQuarry. I'll try that in the next version (1.6). I'll try to release that when I've got my build service back.
@ImpyCode
I don't know whether you run your server using a dedicated server or using an offer from a minecraft server hoster. Me, as I am running it with friends, I host it on my PC so, I was able to make shell scripts run automatically to save and restore the quarry files.
But, because I'm looking into having it hosted at a minecraft server hoster, I think I'm going to write a simple plugin in order to save and restore automatically the quarry files.
Great plugin, Just to jump onto Frazew's bandwagon... I have the same issue as he does. Quarries stop working after a server restart, and the quarry save files are deleted. I'm running the same Craftbook version 1.5.2-R0.2 Fuel injectors, quarry blocks and wrenches that I crafted before the restart are still usable, it's just the in-place quarry block and upgrades that must be replaced.
Plugins I'm using: Spawner, NeXTQuarry, Reforestation, EpicGlass, Vault, LightningOnJoin, TeslaCoil, TreeAssist, Zoom, WorldGen, VillagerNames, HothGenerator, ZombieResurrection, ArrowArsenal, BetterPassives, bSpace, ProtocolLib, Citizens, KeepXP, WorldEdit, BreedMeister, PermissionsBukkit, PlayerHeads, UberForest, TimeLikeMe, CraftArrows, Cannons, JukeboxChanger, BKCommonLib, Sylvester, MobHealth, Essentials, CityWorld, Multiverse-Core, dynmap, NoLagg, CraftBook, EssentialsChat, DynmapCitizens, DynmapIRC, EssentialsSpawn, Dynmap-Essentials, UVVillagers, Train Carts, Factions, WorldBorder, CreeperHeal, Multiverse-Portals, dynmap-mobs, Dynmap-Factions, Sentry
edit: If I disable Craftbook then the quarry save files are no longer deleted, but... If I then right-click the quarry with a fuel injector I get the following warning in the server console:
17:37:31 [WARNING] [WorldEdit] No compatible nms block class found.
and the quarry inventory is not presented for filling with coal. If I destroy that quarry and replace it, I *can* fill it as normal without a warning.
edit *again* :)
If I disable Worldedit (5.5.4) then I don't get the warning and I can fill the quarry, but it does nothing.
- editI updated to Worldedit 5.5.5, and re-enabled Craftbook but now the quarries just do nothing even if I destroy all the placed quarries and tools crafted before I updated to 5.5.5 and rebuild them.After deleting the quarry save files, they work again, but I'm back to them being deleted on server shutdown.
@antichip
Well you can factor out Craftbook as I am clearly using craftbook on my server, in fact I'm using about 67 different plugins. Here is an excerpt from my listings that lists those plugins:
AnnouncerPlus, ArmorAbilities, AssemblyLineFurnace-1.35, Autocrafter, AutoSort, CasinoSlots, CaveOreVeins, CookieMonster, CraftBook, CraftBukkitUpToDate, Dynmap-Essentials, dynmap-mobs, Dynmap-WorldGuard, dynmap, EC, EnjinMinecraftPlugin, Essentials, EssentialsChat, EssentialsSpawn, EZFurnace, GriefPrevention, HeadDrops, HealthBar, HoverPad, ItemInfo, LavaFurnace, Lift, Lockette, MachinaBuilder, MachinaCore, MachinaDrill, MachinaFactory, MachinaPlanter, MachinaPump, MachinaRedstoneBridge, mcMMO, MineCars, MinecartMania, MobArena, MobCatcher, Multiverse-Core-2.4, Multiverse-Inventories-2.5, Multiverse-Portals-2.4, NeXTQuarry, PermissionsEx, ProtectionStones, ProtocolLib-2.4.1, QuickShop, RailDriver-0.5, Roads, RPGSpawns, SalvageSmelter, SC_Blackjack, SC_Slots, Ships, Sign_Edit, solarfurnace-1.2, teslacoil, TreeAssist, UltimateSkyGridB085v-0.2.0, Vault, Votifier, WildBoars1.5.2_0, WirelessRedstone, WorldEdit, WorldGuard
All of those plugins are working well together, I'd be happy to share with others what I did or am doing that allows these plugins to work together.
Another thing to note is that I am running my server on an Minecrafting hosting account at exodushosting in a 3.5GB tier. So memory might be an issue.
Craftbook or craftpedia seems to be the upset for me. All seems to be going good.
well it was worth a shot, I will start with pulling out a plugin or 2 and go from there
@antichip
try switcing to bukkit version 2771 that's the one i'm using and NextQuarry is working fine on it.
I really want to get this going as an option for my players, but I get severe error on start-up. I am a server noob, but will supply you with what ever info I can. I wont post whole start log as it's quite large, but important info. Either way keep up the good work.
GUI] Retrieving your current bukkit version... [GUI] Your current bukkit version is 1.5.2-R0 (#2775) [GUI] Starting bukkit server - min. RAM:4048 max. RAM:10350
1:07:39 PM [INFO] This server is running CraftBukkit version git-Bukkit-1.5.2-R0.1-1-g53734d2-b2775jnks (MC: 1.5.2) (Implementing API version 1.5.2-R0.2-SNAPSHOT)
1:07:47 PM [INFO] [NeXTQuarry] Enabling NeXTQuarry v1.5.1 1:07:47 PM [SEVERE] Error occurred while enabling NeXTQuarry v1.5.1 (Is it up to date?) java.lang.NullPointerException at net.nextbattle.quarry.entities.CustomItems.<init>(CustomItems.java:43) at net.nextbattle.quarry.main.MainClass.onEnable(MainClass.java:70) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_5_R3.MinecraftServer.j(MinecraftServer.java:304) at net.minecraft.server.v1_5_R3.MinecraftServer.e(MinecraftServer.java:283) at net.minecraft.server.v1_5_R3.MinecraftServer.a(MinecraftServer.java:243) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:151) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:382) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)