Inactive [MECH] oreRespawn 0.7 - Automatic Ore Respawn [1.1-R3]

Discussion in 'Inactive/Unsupported Plugins' started by SvenBrnn, Apr 7, 2011.

     
  1. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    This post has been edited 4 times. It was last edited by SvenBrnn Feb 13, 2012.
  2.  
  3. Offline

    Carnes

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great idea. Would be perfect for a town mine.
  4. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yea, but i wrote in the wrong forum :-/
    I wrote to a mod if they can move it to the Submition Forum.

    Greeting SvenBrnn
  5. Offline

    RazorFlint

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah, Pretty Cool Dude.
  6. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Changed Version to 0.2
    Added Blacklisting function

    Greetings SvenBrnn
  7. Offline

    Komavok

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This plugin requires configuration? and how does it work? may be suchthat some underground caves eventually be filled with the ore? He fills the cavern ores relative layer arrangement?

  8. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The plugin checks if there is a cave and just places the ore if there is a light if 7 and below.
    It also checks if there are solid blocks above the stone. In config file you can change the world the Plugin is enabled for and the Maxrange from the Block Broken the new block will be created.

    Greetings SvenBrnn
  9. Offline

    Komavok

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    if
    worldenabled: 'true'
    then the blocks will be created and if
    worldenabled: 'false'
    they will not?

    If I do not understand correctly then tell us is responsible for what "worldenabled"
  10. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yea
    <worldname>enabled is the parameter for each world. If it is true its enabled and if it is false it is disabled.

    if you have 2 worlds, 1 called world and 1 called survival u will have to set:
    worldenabled: true/false
    survivalenabled: true/false

    Greeting SvenBrnn
  11. Offline

    Komavok

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thank you:)
  12. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have added the Desciption for the Worldsetting in my Top Post as a Spoiler.
  13. Offline

    Finer1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nice, realy. I like it ! Thank you Dude ! ;)
  14. Offline

    Jagwah

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    First off, I think that this is a fantastic idea. But I have a few questions:

    How does the plugin detect where to regenerate the ore? I wouldn't want to use the plugin if there were going to be random ore blocks spawning in the middle of fields, for example.

    Also, I know that there is no delay support right now, but does that mean that the current regeneration is instantaneous, or is there a delay function (just not a configurable one)?

    Thanks and keep up the good work! Looking forward to customisable delay functionality. [diamond]
  15. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    1. The Plugin Checks all blocks within the in the Config given range. If the block is in a Cave, it get added to an Array.
    Then a random number is Generated from 0 to the count of entrys in the array. The block that is choosen get checked if there is Light below 8. If its not it tryes an other block up to 20 times (to not get into a infinite loop). If there is light below 8 it places the block.

    2. At the moment the blocks get spawnt intsand. I will change this in my next version this weekend. The problem i have to check bevor if the plugin can place any blocks in unloaded chunks and if not i have to think about how to solve this problem.

    Greetings SvenBrnn
  16. Offline

    deep

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    does the plugin spawn ores in the place of existing stone in changeable radius?
    I my opinion, spawning ores on walls in caves, where are very easy to spot and aquire, leads players to become very rich very fast :)
  17. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Released v0.3
    • Added the Delay function with a new Config Parameter
    • Fixed some Bugs
  18. Offline

    Raith945

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi, would it be possible, to set a random intervall for the ressources to respawn ?
    Something like 86400 - 259200, so they respawn within the next 1-3 days ?
  19. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The maximum should be 2.147.483.647 because i am using a 32bit integer for this setting. I think 2-3 Days will work fine :)
  20. Offline

    Raith945

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    But is it set to respawn in a fixed time for example, if Delay is set to 1 day and someone mines it at 1am, will the ores respawn exactly at 1am or does it happen sometime in between ?

    If its a random spawntime, other people on the server would also get a chance to mine certain minerals ..
    if they always respawn after the same amount of time, the one who farms them first will be the one
    to farm it over and over.
  21. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This is an intresting Point. At the moment it will spawn after 12 Houers if you say Delay of 12 houers. Programming the from-to would be posible but is a bit dificult (I think i would have to change a lot of code for this^^).
    For the moment there is only way to respawn after X sec. I will try to intigrate your idee in a later version of my plugin.

    Greeting SvenBrnn
  22. Offline

    Raith945

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I see, but wouldn't something like Delay = MinDelay + rand(MaxDelay-MinDelay) work
    or don't you have any random number generator function available ?
  23. Offline

    zehkaiser

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I love it! Maybe you could add this, or just make it a different plugin, but I'd like a way to add ore back to the game. My world is becoming barren, and while this is great to keep our ore from disappearing completely, I'd like a way to randomly restore the areas of the world that are already mined.
  24. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have a Random Number Generator for use. But its not as easy as you think because of the Database functions.
    In the database is just Saved the date when u have mined The ore. If you now would generate all few seconds a random number you can be shure thats very close to the min-delay everytime.

    Eventually i can add a function that deletes and Regenerates Chunks in a choosen area Later. I am able to Regenerate Chunks via plugin functions.

    Greetings SvenBrnn
  25. Offline

    rellish

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Will this work in only natural caves or can people make a synthetic cave or have strip mines that enable them to find the ores quickly?
  26. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think it will work in Synthetic and Natural caves. And i have no Idee how to Check if a Cave is Syntetic or natural.
  27. Offline

    thepackett

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you choose what ores would spawn in the given radius? like a coal or iron for a coal or iron mine?
    EDIT: change radius to given area, since i'm not sure how you designate where ores will spawn
  28. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    no you cant do. At the monent you can only say that all ores Respawn withing a definded Range from the block where they are mined.

    Greetings SvenBrnn
  29. Offline

    eagleFMJ

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    +1

    Yes this scares me a bit, I plan on using the seed I have right now for a long time, and running out of ore seems not far away, I want to regenerate my world with ores.
  30. Offline

    SvenBrnn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Updated oreRespawn.
    Now with Commands and Permission Support.
  31. Offline

    MineralMC

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any chance of adding the different types of ore to the configuration? I'd like to use this, but only for coal and iron veins.

Share This Page