[INACTIVE][MECH] GrowingOre v0.6- Public mines [860/935]

Discussion in 'Inactive/Unsupported Plugins' started by Streammz, May 6, 2011.

  1. GrowingOre
    Version: 0.6

    With this plugin, you can make public mines easily with ores that respawn after a set time.
    It also has a small chance of baby ores to be born in 5x5 around the ore.
    It makes use of the build-in OP, not by permissions

    Features:
    • Registering specific respawning ores
    • Set-able respawn time
    • Chance of new ores to be spawned in 5x5 area around the ore
    • Timer keeps counting after the server has been restarted (!)
    • Selecting blocks in a radius around you (0.3)
    • Respawning all ores in the world if configured (0.5)
    Download:
    v0.6 - Download


    Commands:
    Code:
    /ore add <itemID> <minutes>
         remove <radius>
         count <radius>
         select
               none
               radius <size>*
         register <radius>*
    
    * = Heavily lags server when used with too high parameters

    Settings file:
    Show Spoiler

    ######General settings######
    Worldwide=false
    GrowTemp=true
    ToolID=295
    Debug=false

    ######Default values for ores######
    GoldTime=90
    IronTime=60
    CoalTime=30
    LapisTime=300
    DiamondTime=600
    RedstoneTime=150


    How to register ores:
    When your an OP, you can select ores using the <ToolID> as tool.
    Whenever you think you have selected all the ores you need, you need to register them:
    use /ore add <itemid> <minutes of delay>
    as example: /ore add 56 15 - respawns diamond ore (ID 56) 15 minutes after it is mined.

    v0.6
    You now can register ores in an radius around you using /ore register <radius>

    Frequently asked questions:
    Show Spoiler

    Q: How do I need select the ores I want to respawn?
    A: Using the tool "seeds" ( /give seeds ), you can right-click the blocks you want to register

    Q: Where do I get the itemID's that I need to use for the ores?
    A: http://www.minecraftwiki.net/wiki/Data_values

    Q: How do I register the selected ores?
    A: using /ore add <itemID> <minutes of delay>

    Q: My ores don't respawn, they just turn into cobblestone/smoothstone
    A: The script calculates the time it needs to change into a specific ore, You'll just have to wait longer

    Q: What happens if i /reload or stop the server?
    A: The script will save all timing / ore data, and will start counting again after the script starts again.

    Q: How do i remove my selected ores?
    A: /ore select

    Q: How do i select all ores around me?
    A: /ore select radius <size>

    Q: I get errors with "OutOfMemoryUsage", should I ignore them?
    A: Please report the error in here, with some information when it happens, how much ores you have registered, selected etc (details helps me improve RAM usage)

    Q: Hello!
    A: Hey :)


    Video:


    Changelog:
    v0.6
    • Fixed all radius effects
    • Fixed wrong folders due to capitals in linux
    • Added /ore register <radius> - registers ore with the default time in settings.txt
    • performance tweak (i wonder how many i can find more of these, they seem pretty common)
    Show Spoiler

    V0.5
    • Support for explosions like creepers/tnt
    • Settings file (auto-generated on load)
    • Possibility to grow all ores in the world
    V0.4
    • Improved RAM usage again (forgot that we don't need timers with 0 delay at startup)
    • Changed the way that /area select radius <radius> works, and its now at least 2x as fast. (also changed limit to 200 radius now)
    V0.3
    • DRASTICALLY improved RAM usage (2500MB to 440MB, anyone?)
    • added /ore select radius <radius>
    • Changed timers to only eat RAM when they are activated
    • fixed baby ores overwriting registered ores
    • Fixed a lot of other major stuff.
    V0.2
    • Fixed using /ore without any parameters
    • Fixed timers if you do /ore remove
    V0.1
    • First release
     
    kahlilnc, po5 and Killie01 like this.
  2. Offline

    Samylots

    Can you update please? :)
     
  3. Offline

    Scoopula

    I love this, not sure if you are open to requests or suggestions, but I requested something like this back in Feb. It would be nice to specify an area by selecting two opposite corners, and have the option to expand down to bedrock. Then have the ability to repopulate the area after x time. Maybe have a way to charge people to mine for a certain amount of time, almost like Crater of Diamonds State Park. Don't think there is anything like that, unless I missed it. Thanks.
     
  4. am i able to lower the spawn time to seconds?
     
  5. Sorry, nope
    Maybe in an later version
     
  6. Offline

    Ratchet

    can this plugin be used to regenerate all glowstone in the nether?

    if so what command would I use for that?

    thanks @Streammz
     
  7. currently not, but if you really want that, i'll add that
     
  8. Offline

    Ratchet

    I really do! it would be awesome 8)
    thanks
     
  9. Offline

    Donald Scott

    There is a bug with register... The affected ores extend down to bedrock instead of staying in the radius.
     
  10. It is kinda intented to be the x/z radius only
     
  11. Offline

    Donald Scott

    Can you make a 3d radius command? As I am making a public mine in which I would like to place my desired ore and have this plugin only affect those ores.
     
  12. Offline

    PandaC0mmander

    hey there, Were having some issues on our server. When we try and mine a ore, it simply stays there unless your a op. Do you have to be a op to even have access to the regen ores function.

    Thanks
    -Dan
     
  13. Offline

    enkious

    Is it possible to set the time of the cobblestone coming back?
     
  14. Offline

    Rellac

    Is ther esome kind of permissions node I'm missing here? It seems my Admins can use the plugin fine (even without OP status), but everything just goes wrong with everyone else.

    @Streammz

    Also, there is no actual error in the console. I am using Bukkit version 1000

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  15. Offline

    Ratchet

    any progress? I'd like to start a fresh Nether map and have the glowstone regenerate so the map doesn't eventually run out of glowstone.
     
  16. Offline

    Rellac

    Manage to solve my error. Was a problem with WorldGuard.

    However, would it be possible to have ores turn into Bedrock, rather than cobblestone/stone? Would be far easier to keep track of the ores and would reduce the problems I seem to have with people mining the Cobblestone because they're idiots and having the ores disappear.
     
  17. Offline

    enkious

    @Streammz
    Is it possible to set the time of the cobble stone to come back?
    also i get this on loadup.

    Code:
    18:53:03 [SEVERE] Error occurred while enabling GrowingOre v0.6 (Is it up to dat
    e?): null
    java.lang.NullPointerException
            at net.gamesketch.bukkit.growingore.data.RegisteredData.StringToData(Reg
    isteredData.java:29)
            at net.gamesketch.bukkit.growingore.data.RegisteredData.Load(RegisteredD
    ata.java:64)
            at net.gamesketch.bukkit.growingore.core.onEnable(core.java:67)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:285)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:272)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:336)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  18. Offline

    Nali

    How do i change the cobble and stone from spawning? Id like to remove it or replace it with glass, where do i do that? :)

    Can you change the cobble and stone into just bedrock? so nobody can farm cobble really fast.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  19. Offline

    Silentnight18

    is this plugin going to be maintained?

    @Streammz
     
  20. Offline

    enkious

  21. Offline

    kahlilnc

    Ah this could help out alot to worn out maps :D
     
  22. Offline

    muCkk

  23. Offline

    alfskan

  24. Offline

    muCkk

    thanks ;). my other plugin takes all my time at the moment, but if i have time left i will look at growingore.
     
  25. Offline

    Takel

    @muCkk
    If you're planning on picking up this plug-in (which I dearly hope someone does), would it be possible to add the ability to set random timers on the ore regeneration?
     
  26. Offline

    symrex

    Can you pls update to #1185 ? :)
     
  27. Offline

    Soviet

    Nice plugin, very useful! :)
    But there is one trouble: cobble stone spawns too fast and my players complain about being burried alive in walls. Is there any way to make cobble stone spawn like 30sec after the ore is mined ?
     
  28. Offline

    chobohobo

    This is GREAT.
     
  29. Offline

    Vorna

    OMFG. I HAVE BEEN LOOKING FOR THIS FOREVER. YOU ARE A GENIUS! PLEASE. I am going to test it. I hope it still works! Please someone take voer the project and keep it alive. There is no other plugin out there like this that targets specific blocks like this!

    Runescape Server, Here I come! :D

    OMG. Tested. this is flawless! Your a my hero!~

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  30. Offline

    YoshiGenius

    I'd like it, but please upgrade to the latest RB: #1317.
     

Share This Page