NoOres
Introduction
NoOres gives you a whole new Minecraft experience by destroying the idea of ore blocks. Instead of digging 2x1 tunnels looking around for ore blocks (or using X-Ray...) you now gain ores by breaking ordinary smooth stone. Digging a giant cavern to hold your underground city will reward you with as many ores as digging a giant straight line (of equal volume). Without NoOres, all you would get is a fraction of the ores and a ton of cobblestone. With NoOres, you still get tons of cobblestore, but a bunch of useful ores to go along with that collection of yours.
Quick Demonstration Video: http:youtu.be/TBzkpbMGbus
Better Demonstration Video: http://www.youtube.com/watch?v=FVQHDr4OFP0
Overview / Implications
- Caves are no longer the best way to get ores.
- Digging 2 tall tunnels is no longer the best mining pattern. Mining pattern no longer matters; you're free to do whatever you want for equal reward.
- Gold pickaxes become somewhat useful, or at least not worthless.
- It makes sense to use iron/diamond pickaxes instead of stone.
- You can now legitimately gain ores in SkyBlock-like maps by creating a smooth stone generator (Google it)
- All ores become a renewable resource, since smooth stone is a renewable resource (see above).
Features
Efficient: NoOres was designed to be relatively efficient. During normal operation you shouldn't notice any impact on your server.
Command-based lag: To actually "destroy" ore blocks there is an automated command you can use (see below) to automatically generate the world (from a certain X/Z to another X/Z) and then remove ores from the loaded chunks. Replacing ore blocks with stone is a lag intensive process. With the command you can prepare your world before letting people login.
Robust: Using the above command is optional; the plugin will turn all ores into stone when someone attempts to break them. In other words, when someone mines a block of iron, it will drop a cobblestone block. Don't worry, the plugin also prevents people from placing ores to avoid complaints ("Hey, I placed my coal down and when I broke it, it turned into cobblestone?!").
Multiworld: NoOnes only applies to 1 world. This allows you to have a regular world and a NoOres world without issue.
Randomness: Ores drop randomly when destroy a stone block with a pickaxe. There is no way to cheat... you have to work hard and dig giant holes. That said, there are a lot of factors that go into how "lucky" you are. See below for a full description.
Luck System / How ores drop
This luck system is a bit complicated. I'll try to walk you through it, but if you don't really care skip to the summary at the end. WARNING: Math involved.
Your "luck" starts off at 100% Your type of pickaxe effects how lucky you are:
- Gold: +170%
- Diamond: +20%
- Iron: +10%
- Stone -10%
- Wood: -20%
Adding the two percentages together gives you a "base luck." For example, if you use a Diamond pickaxe your base luck is 100+PICK = 100% + 20% = 120%
Your base luck is then multiplied by any fortune enchantment you have on the pickaxe. Fortune 1 gives a *30% boost, Fortune 2 gives *75%, and Fortune3 gives *120%.
Going back to the example, if that diamond pickaxe also had fortune 1 your luck would be (120%) * (100% + 30%) = (1.2 * 1.3) = 1.56 = 156%
Now that you have how lucky you are, what does over 100% mean? It means there's a 100% chance something will drop, and then a 56% chance some else will drop at the same time! This means if you had a crazy pickaxe (Golden, Fortune 3 = 596%) you could potentially get up to 6 drops per stone block.
Now, what is "something" ? What specifically drops is determined by a configurable lottery between the styles of ores. Below is an excerpt from the default configuration:
- NOTHING_RARITY: 1945843
- COAL_RARITY: 107076
- IRON_RARITY: 59568
- REDSTONE_RARITY: 18214
- GOLD_RARITY: 6013
- LAPIS_RARITY: 2489
- DIAMOND_RARITY: 2317
- EMERALD_RARITY: 100
Think of the selection of which ore drops as a lottery. The number represents how many "tickets" each ore has in the drawing. In other words, NOTING has 1,945,843 tickets in the loterry while COAL has 107,076 tickets. "NOTHING" is exactly how it sounds... nothing drops. In other words your "100% chance to get something" is a dirty, dirty lie.
What does it all mean? The probabilities are set up that, by default, you'll get approximately as many ores as you would if you were to strip mine. If you strip mine using a stone pickaxe you'll earn about 90% (100% - 10%) of the ores you would have gotten strip mining in vanilla minecraft. If you use an iron pickaxe you'll earn about 110% (100% + 10%) of the ores you would have gotten in vanilla minecraft. Do these numbers seem familiar? They should, they're the pickaxe luck modifiers.
If you're unhappy with how many diamonds (or any other ore) are dropping, you can always increase the number of tickets "DIAMOND" has or decrease the number of tickets other ores have. Please do not go below 1 ticket per ore as that will cause unexpected behavior. If you want everyone to have tons of ores, but still keep the same ratio of diamonds-to-iron then decrease the "NOTHING" ticket count.
Commands
/destroyores X1 Z1 X2 Z2
Generates all chunks that cover the block range (X1,Z1) to (X2,Z2) and removes ores from said chunks. In other words, if you want your world to be a 1000 block square, then use /destroyores -500 -500 500 500 to destroy all ores within 500 blocks of (0,0) = a 1000x1000 block square world.
Chunks that were previously generated will not be re-generated, but ores will still be removed.
What this command actually does is teleport you from chunk to chunk until it covers the entire range you provided. As it teleports you, it also removes ores. This process can take a very long time depending on how big your map is. On my system (i7 processor, plenty of ram) it took about 810 minutes to finish executing the example command (-500,-500 to 500,500), but that included the time required to generate the terrain. If your map has already been generated, the process should go much faster.
After using the command, please restart bukkit. This ensures ram is properly cleaned up and that chunks are saved to disk.
Permissions
noores.destroyores: Allows you to use the /destroyores command. Defaults to OP. I highly recommend leaving the default. The server will lag significantly while the command executes, even if ores were removed previously.
Configuration
See the "Luck System" section for a description of what "X_RARITY" means in the configuration file.
The only other configurable option is "worldname" which should specify your world name. NoOres is only supported on one world at a time.
Compatibility
Should generally be compatible with future version of Bukkit until plugin breaking changes are made. Please try it out before asking me to update it.
Credits
All credits for coding go to myself (and the Bukkit team, for making Bukkit, of course) Credits for the basic idea of removing ores goes to Bashcraft (http://www.youtube.com/user/Bashurverse?feature=watch), but I had to significantly refine the specifics.
You're free to do whatever you want with the plugin, (modify and re-release for example), but please provide credit. Linking back to this page is fine.
-
View User Profile
-
Send Message
Posted Apr 17, 2015does this plugin still only work with vanilla tools? i can't use mod pickaxes as all i get is cobblestone
-
View User Profile
-
Send Message
Posted Feb 21, 2015This Works perfectly for Vanilla Minecraft 1.7.10, It really works great but it's strictly vanilla. If you use a Mod Pickaxe on Stone it will just give you cobblestone. Using anything other than vanilla pickaxes on stone will give you only cobblestone. I really love this plugin, but I have thermal expansion, Redstone Arsenal, Steel Industries, medicinecraft, AE. I would ask, please please please add an option maybe to the config to add mod tools and a section for each tool, such as a section for tools that will mine like iron, or tools that will mine like the diamond pickaxe or such. Giving the option to add such tools to a config would make this plugin the greatest anti Xray plugin ever!! Thank you for all your hard work and if this was or is open source, i would totally learn how to write code in java just so i can add to this plugin. This Plugin works great also as a preloader for worlds as the Command for destroying ores causes you to teleport to all the new chunks to destroy the ores, causing the preloading of a world. Again it works great in 1.7.10
-
View User Profile
-
Send Message
Posted Jun 5, 2014Is there a way to make ores placeable? I don't care about not being able to pick them up again.
-
View User Profile
-
Send Message
Posted Dec 20, 2013@robotnikthingy
Sure. If I don't update it, feel free to contact me. I'll try to get around to updating it if it actually needs to be updated.
That said, I think it's fairly update-resistant. I just tried it with the 1.7 beta build and it seems to work fine.
-
View User Profile
-
Send Message
Posted Dec 5, 2013I really like this plugin, please keep it updated, ive been looking for a plugin like this for some time
-
View User Profile
-
Send Message
Posted Nov 13, 2013@kokonut19
At the end of the day, it really just boils down to "Dig smooth stone if you want ores" The fancy math can be ignored :) They'll probably be annoyed at first, but you could always increase the drop rate temporarily by a bit and then slowly lower it back down... to let players "ease" into it.
I made this plugin quite a long time ago, and I actually have a hard time playing on servers with the regular ore system... I got extremely spoiled.
Although one feature that is missing is integration with a skills plugin. I think the plugin is at its best when you get rewarded with more ores the higher your mining level is.
-
View User Profile
-
Send Message
Posted Nov 12, 2013This seems like such a wonderful plugin. But I'm afraid it might upset a lot of players with out them understanding it.