OreRate
OreRate V0.3.1 [1.2.5-R4.0]
This plugin is inactive. There will not be any update soon.
Source code is already included in .jar file.
Change natural rate of ore.
Description
Want to decrease an amount of coal ore? Tired of digging stone instead of diamond? Wonder how diamond chunk will looks like? This plugin is the answer...
How it's work
When you set a block rate... on every new chunk will be looking for that block and be replace with a new block...
Example: You set stone as a block and replace with diamond ore with a rate of 50%... When a new chunk generate all about 50% of stone in that chunk will be diamond ore...
Chunk generation level is used when you feel a slow on chunk generate... it's use for decrease a range of level that will be replace...
Default is level 0 up to sky limit (256)
How to install
Just put the .jar file in Plugins folder and run the server...
OPs can use all commands only. No permission/database needed.
Commands
[] = Required () = Optional
Command | Meaning |
---|---|
/or new [BlockID] [Rate] [ChangeBlockID] [ChangeBlockData] (World Name) (From Level) (To Level) | Change block id to a new one |
/or add [BlockID] [Rate] [ChangeBlockID] [ChangeBlockData] (World Name) (From Level) (To Level) | Change block id to a new one |
/or del [BlockID] | Delete block |
/or delete [BlockID] | Delete block |
/or rem [BlockID] | Delete block |
/or remove [BlockID] | Delete block |
/or id | Show all blocks name and id |
/or blockid | Show all blocks name and id |
/or material | Show all blocks name and id |
/or list | Show all blocks |
/or all | Show all blocks |
/or from [Number] to [Number] | Change generation level |
/or reload | Reload config file |
Example
Decrease ore rate...
Command: /or add 15 50 1 0
Result: Decrease iron ore by 50%
Increase ore rate
Command: /or add 1 50 15 0
Result: Increase iron ore by 50% from all stone block (50% of stone block will be iron ore)
Replace all ore
Command: /or add 56 100 1 0
Result: Remove all diamond ore
Configurations
You can edit a range of ore generation in config.txt file or via in-game command.
Changelog
[A] = Add
[F] = Fix
[I] = Improve
[R] = Remove
v0.3.1 [#1.2.5-R4.0]
[A] Add support for CB1.2.5-R4.0
v0.3 [#1.2.5-R1.0]
[A] BlockID list
[I] Change storage type to a new class to support multiple ore generation
[F] Multiple ore generation
v0.2 [#1.2.5-R1.0]
[A] World, Ore Level customizable
[I] More info when enter invalid command
v0.1 [#1.2.5-R1.0]
First OreRate released
PS. Any requests can be accepted
@JoneKone
As in current version, no.
As a suggestion, thanks :) May be I'll add it...
Biome specific ore rates?
@keenerb
I'm working on it... looks like a new version of bukkit have update chunk generation... I need to rebuild the plugin and make sure it's work...
The command you typed is already correct... it should be plugin problem... sorry for that :(
/or add 0 100 10 0 world 1 10
Doesn't work.
I want to change all air blocks to lava blocks between levels 1 and 10?
@keenerb
Well, that's interesting idea... but it'll take a while (may be take a week or month)
But first of all i'll update plugin to support latest RB...
I'd really like to see the ability to spawn at a rate much lower than 1%.
I would like to add some additional items at rates of, say, .01 % of all stone blocks (one out of ten thousand).
Currently I can only replace at 1 out of 100 (1%).
I would really love the version that completely removes ores. and nice mod btw! good job
@Nicomang070
First of all, try to type "/or list" and make sure that plugin load your config file correctly (Check the info on desire ore)...
Plugin will replace ore with selected world or on your current world only upon which world you're in while typing command (if you not specify any world then it use your current world)
Plugin cannot replace existing generated ore... if you want your world to be fully limited then you need to set the config file before generate your world (so plugin can limit ore while chunk generated)
While you're checking these, i'll check my plugin too...
Thanks for report this by the way...
PS. your config file seem to be correct...
I wanted to limit diamonds, but instead, tons of more diamonds are appearing. Here is my config:
# OreRate Config File
FromLevel=0
ToLevel=256
TotalOre=3
Ore.ID0.ID=15
Ore.ID0.ChangeID=1
Ore.ID0.ChangeData=0
Ore.ID0.Rate=50
Ore.ID0.World=world
Ore.ID0.FromLevel=0
Ore.ID0.ToLevel=64
Ore.ID1.ID=56
Ore.ID1.ChangeID=1
Ore.ID1.ChangeData=0
Ore.ID1.Rate=60
Ore.ID1.World=world
Ore.ID1.FromLevel=0
Ore.ID1.ToLevel=64
Ore.ID2.ID=14
Ore.ID2.ChangeID=1
Ore.ID2.ChangeData=0
Ore.ID2.Rate=20
Ore.ID2.World=world
Ore.ID2.FromLevel=0
Ore.ID2.ToLevel=64
How can I make it so that the diamonds that already spawned are limited?
@greaperc4
yes... but take a while...
and it's always remove when chunk load... So, make sure everybody don't put ore underground...
If you want something more specific please PM me instead...
@spywhere
thats super cool so u want to make one specialy for me that removes all ores in the world i use/everybody use?? and i realy want to make own plugins but i know almost nothing bout making them
@greaperc4
ok... i'll take it as a plugin request. only for you... should take a while since i have many plugins to update...
@spywhere
can u make a plugin that removes all ores.. not like now its going away but remove it
@greaperc4
Then you need to generate a new world instead... existing chunk cannot be generated by this plugin or it'll be double result (like replace it twice or more)
@spywhere
so i need to add that all and then go to new chunk.... what if i want all the ores gonna go away @spawn?
@greaperc4
you should set data to 0. So it'd be like this
and with your settings it will be replace from bedrock unto sky limit.
And make sure you're going to a newly generated chunk.
@spywhere
but it isnt working i have a world im in a another world and did
@greaperc4
If you want to remove ore, just replace ore with stone and that's it.
I don't mind you if you want to use another plugin too... it's your choice :\
@spywhere
i think it is not the plugin i search for it isnt working so i wont use it!!! i just want a plugin that removes all ores from a world
@greaperc4
Yes, when you restart server the chunk will be unloaded. But plugin will generate ore on a newly populated chunk. So, unloaded chunk will not be generated anymore.
And ChangeBlockData is from 0 or more... (default of all block is 0)