(TEMPORARILY DISCONTINUED) Eternal Ore - Respawnable Ores! 1.2.1

Create ores that automatically respawn!

  1. Nannerss
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    Source Code:
    https://github.com/Nannerss/EternalOre
    Eternal Ore
    Create ores that automatically respawn!

    This plugin has been temporarily discontinued and will not receive any more updates for the time being. It is still available for download, but it may not work for your version.

    Supports versions 1.8 - 1.14.2!

    Eternal Ore is a plugin that allows you to set certain ores that automatically respawn a certain amount of time after being mined.
    Is this for me?
    If you're a server owner and you're looking for a new, fun mechanic to add to your server, this is for you! This plugin works perfectly with any gamemode and is guaranteed to be loads of fun for the players!

    Ideas for implementation:

    • Add ores in your warzone/PvP zone to give players a reason to venture away from safety!
    • Create tiered mines filled with ores to encourage players to explore!
    • Nerf ore drops to slow down progression on your server!
    Still not convinced? Keep reading!

    Regular ores
    Currently, there are 10 regular ores that each have their own drops and respawn times that can be configured by you!

    Ores:
    - Coal Ore
    - Iron Ore
    - Gold Ore
    - Diamond Ore
    - Emerald Ore
    - Stone
    - Cobblestone
    - Nether Quartz Ore
    - Lapis Ore
    - Redstone Ore

    [​IMG]

    Random ore
    A random ore is an ore that changes between ores every second. Even though there are 10 ores, you get to configure which of them can appear in the random ore.

    When you mine a random ore, you get the drop for whatever regular ore was showing at the time you mined it.

    Example: It switches to an Emerald Ore and you manage to mine it before it changes. You get whatever drop you configured for the Emerald Ore.

    [​IMG]

    Mining ores
    Whenever you mine any of the ores, they will turn into a placeholder block of your choice! In this example, I have it configured to turn into bedrock.

    [​IMG]
    Mining regular ores

    [​IMG]
    Mining a random ore

    Respawning ores

    Automatic respawning
    After a certain amount of time, an ore that's been mined will respawn. The amount of time is different for each ore, and can also be configured by you.

    [​IMG]

    Manually respawning
    If for some reason you want to manually respawn ores, you can use /eternalore respawn [all]. The "all" argument is optional. If you don't include "all" in the command, it will only respawn the ore you are currently looking at. If you do, however, include the "all", it will respawn all of the mined ores on the server. Be careful, as this can cause lag if there are a large amount of mined ores.

    [​IMG]

    Eternal ore wand
    This magical tool is what will make managing respawnable and random ores possible!

    It has 3 different functions:
    - Set a regular ore (Left Click)
    - Set a random ore (Shift Click)
    - Remove any ore (Right Click)

    [​IMG]

    More on this below...

    Setting ores
    To set a regular ore, you simply have to hold the wand in your hand left click the ore you want to make respawnable. The block you click must be one of the 10 regular ore types mentioned above.

    NOTE: By default, Spigot only loads the world you have set in your server.properties file on startup. This means that if you set ores in a world, then change the name of that world or change the main world in which Spigot loads up, the plugin will throw errors. To solve this, you can either manually remove the set ores in the ores.yml file, or you can find a plugin that loads all of your worlds on startup.

    Example: You click a Gold Ore block with the wand, it is now a respawnable Gold Ore block.

    [​IMG]

    To set a random ore, you have to hold shift and left click the block you want to make a random ore. The block you click must either be a Redstone Block or one of the 10 regular ore types, although it is good practice to use Redstone Blocks as random ore placeholders.

    [​IMG]

    Removing ores
    To remove a regular ore or a random ore, you simply need to right click the ore you want to remove with the wand and it will turn into a normal, vanilla ore!

    [​IMG]

    Configuration
    Easily setup Eternal Ore with a simple and easy-to-understand configuration!
    Code (YAML):
    # The material of the wand item for this plugin.
    wand-material
    : BLAZE_ROD

    # The block that will take the place of the mined ore until it respawns.
    placeholder-block
    : BEDROCK

    # The settings for the mineable ores.
    ores
    :
      stone
    :
        drop
    : STONE
        max-drop-count
    : 1
        respawn-time
    : 1
      cobblestone
    :
        drop
    : COBBLESTONE
        max-drop-count
    : 1
        respawn-time
    : 1
      quartz-ore
    :
        drop
    : QUARTZ
        max-drop-count
    : 1
        respawn-time
    : 1
      coal-ore
    :
        drop
    : COAL
        max-drop-count
    : 1
        respawn-time
    : 1
      iron-ore
    :
        drop
    : IRON_INGOT
        max-drop-count
    : 1
        respawn-time
    : 2
      gold-ore
    :
        drop
    : GOLD_INGOT
        max-drop-count
    : 1
        respawn-time
    : 5
      lapis-ore
    :
        drop
    : LAPIS_LAZULI
        max-drop-count
    : 1
        respawn-time
    : 5
      redstone-ore
    :
        drop
    : REDSTONE
        max-drop-count
    : 1
        respawn-time
    : 5
      diamond-ore
    :
        drop
    : DIAMOND
        max-drop-count
    : 1
        respawn-time
    : 7
      emerald-ore
    :
        drop
    : EMERALD
        max-drop-count
    : 1
        respawn-time
    : 10
      random-ore
    :
        ores
    :
          - COAL_ORE
          - IRON_ORE
          - GOLD_ORE
          - DIAMOND_ORE
          - EMERALD_ORE
          # - STONE
          # - COBBLESTONE
          # - NETHER_QUARTZ_ORE (Could also be QUARTZ_ORE)
          # - LAPIS_ORE
          # - REDSTONE_ORE
        max-drop-count
    : 10
        respawn-time
    : 15

    wand-material
    The material of the Eternal Ore Wand. In the examples above, I had a Blaze Rod as the wand.


    placeholder-block

    The block that will take the place of a respawnable ore when mined.

    drop
    What will drop when said ore is mined.

    ores
    The list of ores that random ores will rotate through. Items must be one of the 10 regular ore types.

    max-drop-count
    The maximum amount of a drop that can be given per ore mined.

    respawn-time
    The time (in minutes) for an ore to respawn after being mined.

    Reloading the config
    If you want to make a change in the config (or settings.yml), then all you have to do is make the changes, save the config, and type /eternalore reload in-game! Say goodbye to having to restart your server for just a small change!

    Commands

    • /eternalore - The base command for the plugin.
    • /eternalore help - Lists the available commands for the plugin.
    • /eternalore reload - Reloads the settings.yml file.
    • /eternalore respawn [all] - Respawns all ores ore just the one you're looking at.
    • /eternalore wand - Gives you the Eternal Ore Wand.
    Permissions
    • eternalore.* - Gives the user every permission every permission within this plugin.
    • eternalore.help - Allows the player to use /eternalore help.
    • eternalore.reload - Allows the player to reload the settings.yml file.
    • eternalore.respawn - Allows the player to respawn mined ores.
    • eternalore.wand.give - Allows the player to give themself the Eternal Ore Wand.
    • eternalore.wand.use - Allows the player to use the Eternal Ore Wand.
    • eternalore.update - Allows the player to recieve a plugin update message on join.
    How do I set it up?
    1. Download the plugin jar above.
    2. Drag the jar into your plugins folder.
    3. Start your server.
    4. Edit the configuration to your liking.
    5. Restart the server and you're good to go!
    Important
    By downloading and using this plugin, you agree to not alter its contents or pirate it in any way. You also agree to not steal the source code and claim it as yours for your own personal gain. The source code is available to help others and for you to give feedback on the plugin. Please leave the reviews section only for legitimate reviews. If you have suggestions/complaints/concerns, PM me here or let me know on the GitHub repository page.

    Check out my other plugins!
    [​IMG]

Recent Reviews

  1. Ant4rez
    Ant4rez
    5/5,
    Version: 1.2.1
    The plugin works perfect, but i really love if if the time of ore's respawning was in secs and not minutes, and also have a way to select an area as a "respawnable or randome ores" like a worldguard selection or worldguard region, thnx.
  2. Nocky
    Nocky
    3/5,
    Version: 1.2.1
    It doesn't work for me on version 1.14.4. When I set ore to respawnable, and break , it won't respawn. And it writes this errors

    [16:19:32] [Server thread/WARN]: [EternalOre] Task #34 for EternalOre v1.2.1 generated an exception
    java.lang.NullPointerException: null
  3. Darlext
    Darlext
    5/5,
    Version: 1.2.1
    This plugin is awesome works as intended, but it would really nice if I could add new ores or blocks in the config to use on the server. Thank you for your work
  4. LovesAsuna
    LovesAsuna
    2/5,
    Version: 1.2.1
    The time of mineral rebirth cannot be defined in seconds, and the interval of random mines cannot be set.If you can make a change, I will try to re-score
  5. PvPCraftMC
    PvPCraftMC
    5/5,
    Version: 1.2.1
    Can you make like a configuration so you don't have to select each ore one by one make a configuration that enables you to set which block you automatically select all the ores at once or something. It'll be a great feature!
  6. dinoboss2001
    dinoboss2001
    5/5,
    Version: 1.2.1
    I would like compatibility with tokeenchants and also that there is a choice of whether mine is the one of the ore not the ore cosinado example the ore of iron not the iron cosinado
    1. Nannerss
      Author's Response
      You can configure what each ore drops in the config. Each ore has a “drop” option, just put in the material name of the item that drops. For example, for the iron ore, replace the drop, IRON_INGOT by default, to IRON_ORE to get the ore drop when you mine iron. Also thanks for the review!
  7. resolvelife12
    resolvelife12
    5/5,
    Version: 1.2.1
    goooooooooooooooooooooooooooooooooooooooooooooooooood plugin vas a por todas tu siguelo :)
  8. resolvelife12
    resolvelife12
    5/5,
    Version: 1.2.0
    algun dia este plugin pesara 5.6 mb y sera increíble espero futuros plugins de ti bro saludos desde uruguay
  9. lino9999
    lino9999
    5/5,
    Version: 1.2.0
    Plugin works well now. Easy to set up and easy to use too. recommended !!!!!!!!!