Sueta

Ore Regeneration and Mines

1.9.6

Mines and regenerating ore nodes

·Plugin
  1. 1.9.6latestMinor Error FixMar 30, 2024
    Removed logger message if you have < 1 block entry in the config Fixed error (didn't break anything) that would throw if you have < 1 entries for ReplaceWith or ReplenishAs
    309 downloads
  2. 1.9.5Block Weights!Mar 30, 2024
    You can now set a weight for materials in the replaceWith and replenish As section for regions and the replaceWith section for the dynamic regions by right clicking the materials in the appropriate GUI and typing out a whole number! In file, data for these sections are now stored as "Material,weight" instead of just Material now, for example "COBBLESTONE,50" How rolling a block will go will be as follows: Given this list: GOLD_ORE,10 IRON_ORE,50 STONE,160 · The maximum weight is selected as the upper (exclusionary) boundary for the random number roll, meaning in this case, a number from 0-160 will be rolled. · When a number is rolled, all potential blocks are checked from lowest to greatest weight. If the block’s chance is less than or equal to the roll, it and all other blocks with the same weight are put into a list and a random (equal chances) block is chosen from that list. This means that Stone can only be rolled when 50 < roll <= 160, Gold Ore when roll <= 10, and Iron Ore when 10 < roll <= 50 Hope you all enjoy!
    20 downloads
  3. 1.9.0Finally Posted! Many new FeaturesOct 15, 2023
    I apologize for my hiatus. In truth, I had been distributing this update to those who had contacted me on discord and never got around to uploading it here. Anyways, here is a full list of changes: Ore Generation Changes New commands: /region [region] setPlaceMsg [msg] Sets the message that will play when a player is stopped from placing a block in a region. Leave an empty message to have no message. /region [region] setBreakMsg [msg] Same as above except plays when a player is stopped from breaking a block. /region [region] setFullmsg [msg] Sets the message that will play when the “drop in inventory” option is enabled in a region and a player’s inventory is full. /region [region] setBreakSound [sound] [volume] [pitch] Sets the sound that will play when you break a block on top of the blocks default break sound (I can’t remove this as far as I’m aware of). See the tabcompleter for available sounds. (It is all of the default minecraft sounds) /region [region] removeBreakSound This will clear the added break sound from the region /region [region] setPickupMsg [material-name] [msg] This will set the message that plays when you have the “drop in inventory” option enabled in a region and an item is added to the players inventory. You can use [x] as a place holder for # of items of a type received. For regions there is the “drop in inventory” option in which drops will be automatically added to a players inventory unless it is full in which it will drop the item as usual unless the “drop on player” is also on in which the item will drop on the player. Crops actually work in dynamic regions now, although I do not recommend using radius replenishment for them. Sugarcane, bamboo, and cactus also work differently now. When you break a block that isn’t the base of the crop, that block won’t regenerate, only the base will so the crops will regrow naturally. Cocoa Beans also work now too! For the region gui, in order to use them make sure to put the item cocoa beans in the canBreak gui. They will rotate onto the first possible log so I cannot guarantee the exact rotation they were originally in but they will rotate correctly towards the first available jungle log.
    383 downloads
  4. 1.8.0Node + Region Update (IMPORTANT)Jul 7, 2022
    This update fixes a lot of things that I found weren't working with the regions such as blocking mob spawns properly. This update also adds a new option for regions! There is now a dropOnPlayer option present in the first inventory you see in /region. When this is turned on, all mined items will drop on top of the player rather than inside of the respawned block. I also changed the way that regions and nodes are stored. This shouldn't be an issue since all regions will automatically be migrated to the new system upon server startup, if not, you can use the command /migrateregion [region] to do it manually! Nodes will also automatically migrate themselves when someone breaks the block it is resting at. Finally for regions, /showborder has changed, instead of putting a glass perimeter up for like 5 seconds, it will now outline a perimeter with green particles until you toggle it off, the new command looks like this: /showborder [region] [true/false] There are 2 new features for Nodes! You can now customize the item that dropped from getting mined, meaning you can change the name and add lore to the item. You can now also set a range for how much of the item you want to drop as well by setting a min-drop and max-drop value. Like with regions, there is also a dropOnPlayer flag that does the same thing when set to true. A new example drops.yml config using all the features can be seen here: Code (YAML): blocks: DIRT: drops: DIAMOND: name : '&2Optional Test Item' lore : - '&6Optional line' - '&2Optional Second line' max-drop : 5 min-drop : 1 replenishTime : 100 dropOnPlayer : true I'm sorry for disappearing for a bit, but if you still have any questions or have any issues, dm me on discord at Meep#8596
    2270 downloads
  5. 1.7.4HousecleaningOct 12, 2021
    Hello everyone, I haven't done one of these in a while. In this update, there were mainly 2 things changed. Changes - Removed the auto-regen-after-20-minutes thing Reason: This was a relic from when the plugin was first released and after it was brought to my attention by a user, decided that it was no longer needed - Fixed empty "replaceWith" sections auto-filling to bedrock
    968 downloads
  6. 1.7.3Some Bug FixingJul 19, 2021
    Hello everyone! In this update, a bug that was recently pointed out to me was fixed. Now you cannot remove an ore node unless it is done regenerating.
    239 downloads
  7. 1.7.2Fixing delete region internal error bugJul 18, 2021
    Hello there! This update is a bug fix update fixing a bug of /deleteregion returning an internal error
    42 downloads
  8. 1.7.1Post-update fixesJul 13, 2021
    - Fixed bedrock defaulting as the replaceWith option if you left it empty (Make to sure to manually take it out if you were affected and it'll be gone for good) - Fixed farmland trampling (Make sure your region covers the block below the farmland!)
    57 downloads
  9. 1.7.0Farming UpdateJul 13, 2021
    Hello everyone! This update's main thing is that normal regions now support crops! The video below demonstrates how to input crops: Other changes: - Regions now protect against explosions - Liquids not natively in the region cannot flow into your regions - Fixed some other minor vanity bugs
    32 downloads
  10. 1.6.1New region features! + minor bug fixesJun 1, 2021
    New Region Features: - Added a "replaceAs" option for normal regions (this isn't available for dynamic regions). What it does is it works similarly to replaceWith except instead of performing its action right after block breakage, it does its thing when your replenishTime timer is up! With this, you can, for example, have to break iron ore spawn stone or lapis ore when it replenishes [check resource page for a video displaying this] Bug Fixes: - Fixed mobSpawn icon being a bit weird when displaying when mob spawning is on or off
    110 downloads
  11. 1.6.0Dynamic Region Update!!!!!May 26, 2021
    This update adds 1 main thing, dynamic regions! Unlike normal regions dynamic regions when regenerating blocks will regenerate within a radius (that you choose) of the original broken block that meets certain criteria. For example, you can have a region where you can break iron ore which will be replaced with stone. The iron ore will replenish on a random stone block in a 2 block radius with a 2 second replenish time. (This is just an example, integer values can be edited!) There is another thing this update adds You can now disable mob spawning within your regions! This option appears on the front page of your region alongside 'canBreak' and 'canPvp' I hope you all enjoy this update, it took a while but it's finally here! As always, if you find any bugs, have issues, or a suggestion, dm me on discord at Meep#8596 (I will be updating the resource page with the appropriate information)
    64 downloads
  12. 1.5.0GUI UPDATEFeb 23, 2021
    Added a gui, Acess it with /region [name-of-region] It's pretty straight forward and if you have any questions on how to use check the resource description as it is all there!
    170 downloads
  13. 1.4.1Small Bug FixFeb 16, 2021
    In update 1.4.1 there was just a small bug fix. Removed the last remnants of the old formula for calculating regions that crashed if you have a big one like 300x300 kind of big. You should now be able to have your 300x300's in peace.
    67 downloads
  14. 1.4.0Bug Fixes and Calculation ChangesFeb 11, 2021
    -Removed plugin broadcasting node locations on server shutdown -Changed how the plugins tells if a block in a region (No need for you to worry all this does is allow you to make bigger regions like 300x300) -Changed how the replaceWith: option works The new format is like this Code (YAML): regions: CommandTest: pvp : false canBreak: STONE: replenishTime : 60 COAL_ORE: replenishTime : 60 replaceWith : - DIAMOND_ORE - IRON_ORE When you have multiple replacement options, it will select a random one
    82 downloads
  15. version 1.2Fixed /node not showing up, removed unnecessarymessagesFeb 5, 2021
    Fixed /node not showing up, removed unnecessarymessages
    55 downloads
  16. 1.0Feb 5, 2021
    45 downloads

Similar projects

Plugin →