[MECH] MineralManager v2.2.1 - Enrich your World! [1.6.4-R2.0]

Discussion in 'Archived: Plugin Releases' started by Paradox, Mar 11, 2012.

  1. Offline

    Crast

    Hi, I'm Crast, and I'm the one who's helping hellfire212 on the the new improved version 2.1 update of MineralManager.

    I've got a preview release up which includes some bug fixes plus pretty huge performance improvements to the code, with reduced I/O and memory usage especially for big servers, but even small servers will see a substantial boost. There's also useful features for server admins, such as human-readable region configs, and easier creation of "global" configs.

    Before I release 2.1 as a final release, I'm working on a nice little additional feature, which is a Conversation-based wizard for creating a region:

    [​IMG]

    It works with prompts, validating each entry and providing contextual help, so that you don't have to type up a long /command and find you messed something up. The old commands will exist for power users to quickly bang through making regions, but this wizard ought to alleviate some of the confusion with setting up MineralManager regions.

    It's a bit rough right now, I need to fix some colors and work on making the user experience consistent, but as you can see it's pretty close, expect a full release in the next week or so.
     
    Paradox likes this.
  2. Offline

    TomatoSoup

    Awesome work, and I'm really happy to see my suggestion about volatile ores! I just have two questions, though.
    First: What does the level part of creating a region do? I've just been setting it to 1 and it seems to work fine.
    Second: I tried adding EMERALD_ORE and LAPIS_LAZULI_ORE to the config file but got internal errors when trying to create a region. Are these the correct names and, if not, where can I find a list of proper names?
     
  3. Offline

    Spyke

    I'd like to know how you actually create a region. Can't find any way to enlighten me on this. :S
     
  4. Offline

    Paradox

    It was a great idea, of course we'd implement it! The "level" of a region determines its presence or it priority, basically it gives an ordering as to which regions should take precedence.

    For example, if we set a global region to level 0, and then we want to have a sub-region in our world that encloses our forest, we should set the forest region's level to 1 so it will override the global region. Then if we wanted to have a small persistent mine within that forest we could create another region that is within the forest and set its level to 2. Basically if you want to create sub-regions, each sub-region must have a level higher than its enclosing region to work. :)

    If EMERALD_ORE and LAPIS_LAZULI_ORE aren't working you can try using 129 (for emerald) and 21 (for lapis) and that should work. Bukkit might not have those exact names associated with those ores.

    If you have MineralManager v2.1 you only need to type "/mm create" and a region creation wizard will take you through the steps. :)
     
  5. Offline

    Crast

    EMERALD_ORE is correct, but lapis is actually LAPIS_ORE (no LAZULI). You can find the full list of material constants here: http://jd.bukkit.org/apidocs/org/bukkit/Material.html#enum_constant_summary
     
  6. Offline

    WolfMaster

    Are the timings in seconds in the config.yml
     
  7. Offline

    Crast

    Yep
     
  8. Offline

    TomatoSoup

    I have another feature request. Or two. Both are trying to accomplish the same goal.
    The first is that you make a toggle for if the placeholder block drops or not when mined. On my server, players are inclined to accidentally break the placeholder. I want to make it obsidian so that they don't just blow right through the cobblestone or glass placeholder, but I don't want them to be able to amass silly amounts of obsidian this way.
    Second, which is pretty much an alternative to that, is that you add a timer that makes the placeholder unmineable for X seconds after being created. Or, hell, even just a toggle to make it spawn bedrock as the placeholder for 10 seconds or so.
    And a bug report: When you have mineOriginalOnly set to true and you manually place an iron ore and then move it with a piston, Mineral Manager will make it respawn and, I presume, it will leave a glitchy entry in the list of placed blocks. I don't want you to disable pistons moving ores (if that's even possible) because it's cool that you can maneuver ores into more mineable patterns, but damn if this isn't a great exploit. I am in no way demanding that you fix this now or even in the foreseeable future. Just wanted to make sure you were aware.
     
  9. Offline

    Crast

    Interesting, but why not either have no placeholder (AIR) or bedrock as the placeholder outright?

    Good catch, though it'd be a lot of work to do such setup for each ore, putting down pistons and such. It is something to look into, however, and there may be a solution to that.
     
  10. Offline

    TomatoSoup

    Well, that was my primary reason for requesting volatile ores. If you're digging out your super secret underground base, wouldn't it suck to have unremovable clusters of ores just chilling in the middle of your base? I want it to be removable, but hard to accidentally remove.
     
  11. Offline

    Paradox

    Good observation on the piston thing! We'll have to look into some sort of fix for that. :)

    As for the placeholder block change, which would you rather have?

    • Option for placeholders to drop nothing when mined.
    • Option for placeholders to be indestructible for "x" seconds.
    • Option for placeholders to be permanently indestructible.
    • Option for "carry over" mining to not affect placeholder blocks. (Meaning if you don't release your mouse button or start mining a different block first, the placeholder cannot be broken).
     
  12. Offline

    Crast

    #1, don't double post.
    #2, whining is annoying.
    #3, It's already an option.

    In your config.yml, in the displayMessages section, set:
    Code:
          onBlockBreak: false
    And the same for onBlockProspect if you desire.
     
  13. Offline

    TomatoSoup

    Carryover mining would be pretty frickin awesome, but I'm concerned about lag invalidating that. Ore breaks, you start mining the block behind it, server spawns the placeholder, sees that you hit the block behind it, lets you break the placeholder.

    Having said that, I'd prefer indestructible for 'x' seconds.
     
  14. Offline

    noonzark

    You need to add emerald ore
     
  15. Offline

    Paradox

    Sounds good, we'll look into implementing it in future versions! Thanks for the suggestion! :)

    What do you mean? You can add any block you'd like to the managedBlocks list, you can either use EMERALD_ORE or 129 whichever works / you prefer. :)
     
  16. Offline

    noonzark

    Do i need mineralmanager and mineralvien?
     
  17. Offline

    Paradox

    Nope! MineralVein is the old version / name that was used for the plugin. There was a name conflict and so I changed the name of the plugin to MineralManager when Crast and I released the new and improved version.

    You only need to download and use MineralManager :)
     
  18. Offline

    noonzark


    ok well could you make like a video tutorial or put the commands on the page, to show what you need to do to make it work cause i know the commands but it dosent work im not sure if im doing it right plz help this is a great plugin for my server :D
     
  19. Offline

    Paradox

    Will do! I'm working on a detailed usage and setup page right now. A video will hopefully follow the 2.1.1 update when that goes live. :)
     
    Spyke likes this.
  20. Offline

    noonzark

    cool thx :D
     
  21. Offline

    Paradox

    I made a basic usage and installation guide for anyone who is interested! You can find it here! :)
     
  22. Offline

    Crast

    I just released version 2.2 of MineralManager yesterday. It contains a number of cleanups that reduce the code size and speeds up the containership algorithms as well, which should result in higher TPS for your servers.

    The code still works with 1.2.5 RB, 1.3.2 RB, 1.4.7 RB, and also works with 1.5.2-R0.1 beta.
     
  23. Offline

    zippolino

    Crast

    Hi, this is an awesome Plugin.
    But could you add an option to disable the Messages?

    Those
    [Mineral Manager] This IRON_ORE will be available in 10m.
    are all over the monitor. Quit annoying.


    Thank you very much.
    Regards
    Zippolino

    GOT IT WORKING:
    just set the message to false :-D
    Thx Dude
     
  24. Offline

    crazydred

    hey, i am getting the following error
    Code:
    [INFO] [MineralManager] Enabling MineralManager v2.2.1
     
    >23:51:00 [SEVERE] Error occurred while enabling MineralManager v2.2.1 (Is it up to date?)
    java.lang.NullPointerException
    at me.hellfire212.MineralManager.Commands.setup(Commands.java:43)
    at me.hellfire212.MineralManager.Commands.<init>(Commands.java:35)
    at me.hellfire212.MineralManager.MineralManager.onEnable(MineralManager.java:108)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382)
    at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:286)
    at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:268)
    at net.minecraft.server.v1_6_R3.MinecraftServer.l(MinecraftServer.java:321)
    at net.minecraft.server.v1_6_R3.MinecraftServer.f(MinecraftServer.java:298)
    at net.minecraft.server.v1_6_R3.MinecraftServer.a(MinecraftServer.java:258)
    at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:165)
    at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
     

Share This Page