[EDIT/FUN/MECH] OreMagnet v1.2_02 - Configurable Instant Material Retrieval [Per/mcMMO/iCo] [1317]

Discussion in 'Inactive/Unsupported Plugins' started by insanj, Jul 8, 2011.

  1. Offline

    insanj

    OreMagnet - A fully configurable instant block retrieval plugin!
    Version: 1.2_02
    CraftBukkit Version: #1000

    If you find any strange bugs, or want new features LYKE NAO, please reply here as soon as possible, and I'll come to your aid whenever I possibly can!

    Ever get tired of mining every coal block in what seems like an entire chunk of ores? Need to gather or remove a ton of stone or clay in a flash, and don't have time for your instant break? Ever log on as an Admin on a server, but just want to use your bare hand to gather materials for friends? OreMagnet is your solution!

    After enabling this plugin (/magnet) you and your users can take down entire viens of ores, or groups of any material in the game. By using the built-in configuration file, you can literally make this plugin require the user to hold a feather, to take down all the wood blocks within a radius of 10, but they can't do it unless they wait a minute between each usage.

    Don't believe me? Try it for yourself!
    Just give any user the "OreMagnet.use" Permissions node (yes, that's right, I've already implemented the latest versions of the Permissions plugin) or make them an OP!

    Supported Plugins:
    Permissions 3! (NODES: "OreMagnet.use", "OreMagnet.always", "OreMagnet.radius", "OreMagnet.cooldown")
    mcMMO! (Users gain the amount of experience you set in the configuration file!)
    iConomy! (It costs a configurable amount of money to use this plugin.)

    It's just so easy, and I've put all the tools right into your hands! Think you got a better idea? Want to make everything more efficient? Well, the entire source is included in theOreMagnet.jar file in the download, and I'd love to hear from you! BAM! Did I forget anything?

    Oh, right.
    Source! - Older Versions:


    New for the 1.2 release...
    • Choose your mineral! Don't just mine precious ores, mine wood, dirt trees!
    • Don't want user abuse? Good thing there's iConomy support, and you can even choose how much to make your user pay!
    • Change your pickaxe! Use a feather instead, just look at the config file!
    • Want to search larger? Change the radius in which OreMagnet searches for anything, and exhaust the entire world's iron... even if it is a monster of lag.
    • Pickaxes don't last forever! If you dont have it set differently in the config, your pickaxe will be reduced in durability with each use, just not as much durability lost, as if you mined them manually.
    • Woah, why in such a hurry? Configurable cooldowns, so you can at least spread an illusion of mining.
    • Automatically generated configuration files, now you can have all of the above enabled, even through server reloads and resets!
     
  2. Offline

    RugRats

    mcMMO support :)? Please
     
  3. Offline

    insanj

    I'll look into it, and try to push an update tonight. :)
     
  4. Offline

    Rsmvbomb04

    Dude Carzy! i love it this is going on my server asap
     
  5. Offline

    insanj

    Done!
     
  6. Offline

    RugRats

    Sweet thank you!

    @insanj
    Okay, the mcmmo support works great but when I hit a vein of 2 iron it gives me 10 iron!! lol Also maybe you can make it so all you have to do is break the first block in the vein to collect it all? Because people can get a wooden pickaxe and run around collecting a ton of stuff.. again I found a vein for 3 iron hit it and it gave me 10 :O

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

    insanj

    This is not a bug, in fact, you could consider this a bonus. Because the plugin searches for ores that are within about a 6-block radius of the initial hit block, another vein of iron was most likely directly below the vein you discovered. So, you just mined two veins at once! This interesting feature will probably be removed/fixed in the next update or so, especially with the addition of user-defined search zones.

    Happy mining!
     
  8. Offline

    Ahagen550

    Could you perhaps add a configurable cooldown?
     
  9. Offline

    Bogden

    I would love you forever if you added a cooldown for a onetime use of it.
     
  10. Offline

    insanj

    And, just like that, adding to the todo. Expect it in the next update, which should be released before the end of the weekend. :D

    EDIT: DONE!
     
  11. Offline

    insanj

    New update is out everyone, make sure to check out the new features and push the new version to your servers!
    There might be some slight bugs here and there, so let me know ASAP if you see any?
     
  12. Offline

    Bogden

    Erm...

    Code:
    2011-08-02 02:03:29 [SEVERE] Could not pass event BLOCK_DAMAGE to OreMagnet
    java.lang.NoClassDefFoundError: com/gmail/nossr50/mcMMO
    at me.insanj.OreMagnet.OreListener.onBlockDamage(OreListener.java:62)
    at org.bukkit.plugin.java.JavaPluginLoader$29.execute(JavaPluginLoader.java:441)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockDamageEvent(CraftEventFactory.java:186)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:90)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:458)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    On Vanilla Bukkit 1000 with no other plugins but this one. :(
    It works for the first ore you hit, and then doesn't work again until you reload the plugin.

    Also, does /magnet enable Ore Magnet for the individual player, or for everyone on the server? Danke!
     
  13. Offline

    insanj

    Oops, I must've overlooked that problem somehow... Anyway, it should be fine now, try again with the new update.
    Also, the /magnet command only enables the plugin for the user, only people with the "OreMagnet.always" Permissions node will not have to use it, or not be affected.
     
  14. Offline

    atlem

    broken link. hope you put it back up
     
  15. Offline

    insanj

    Oh crap! Thanks for that, just fixed it.
    I owe you one.
     
  16. Offline

    atlem

    np bud :)
     
  17. Offline

    DF451asd

    hey how do you enable it.
    i cant get it to start working.
    i own the server.
     
  18. Offline

    insanj

    Drag the jar file into your plugins folder, and then add the respective Permissions nodes if you have the Permissions 3 plugin enabled. If you don't, then just make yourself an OP, and type in /magnet to start it up.
     
  19. Offline

    DF451asd

    i tried that
    all it brings up is
    /magnet
    /magnet radius
    /magnet cooldown

    in the chat

    + i am a op
    and a admin.
    i own and run the server

    one sec have a undated version of perms

    can you give me a link to the newest version

    nvm Found it

    it still says the same thing

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

    bluehasia

    minecraft 1.7.3
    bukit 1060

    all this plugin will do is give me the line feed back when i tpye /magnet
    also after installing this plugin i get strange log in errors sometimes
    I edited it a bit to hide personal info
    my server does see this plugin it does load but does nothing when i try to mine coal or ore with my pickaxes

    CONSOLE: Disconnecting [player name] [/IP ADRESS]: Failed to verify username! [internal error java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.minecraft.net/game/checkserver.jsp?user=playername&serverId=randomnumbers]

    another note even if i go /magnet radius [8] it does not update the config file

    I also added in the permissions into my group manager, i run essentials
     
  21. Offline

    insanj

    Well, I doubt Group Manager has anything to do with it, but that error is because Minecraft.net was down, or the user playing pirate the game, whenever you were testing things out, and had nothing to do with my plugin or your server.

    Also, the command is: /magnet radius 8
    No brackets...
     
  22. Offline

    bluehasia

    ok did
    /magnet radius 8

    did not update the config file and all it does is give me a feed back of

    /magnet
    /magnet radius
    /magnet cooldown

    I also have a plugin on the server, INSTABREAK 2.0 could those clash?
     
  23. Offline

    insanj

    Most probably, but I can't really give feedback, seeing as I am not familiar with it.
     
  24. Offline

    bluehasia

    I disbaled instabreak still same issue

    I dont know if this helps but the logs show it loads
    CONSOLE: {OreMagnet} version 1.2_02 (by insanj) has been enabled!
    CONSOLE: {OreMagnet} found a permissions system, and will use Permissions v2.7.2!
    CONSOLE: {OreMagnet} notices you're using the mcMMO plugin, that's cool, we'll give everyone 10 exp for every gathered mineral. (Tip: You can change this in the config file!)
     
  25. Offline

    insanj

    The only advice I could give right now would be to try and use Permissions 3, and have the most recent CB build that supports 1.7.3.
     
  26. Offline

    bluehasia

    ok to give you an update i turned off permissions to just test it. using /magnet gave me a new feed back message
    saying oremagnet has been enabled. but now when i mine the block i mine only disappears in one hit(instabreak turned off) and i get no resources for that one block...and its random mabye just the block i am digging poofs or mabye 2 blocks will poof and even another block will poof but the one i mined stays put?
     
  27. Offline

    insanj

    Look, this plugin is meant to destroy all the blocks in the specified radius that is of the type of the block you mined... in one click. I'm not really sure what you're trying to say, but, what your describing is accurate to what is supposed to happen (just, stuff should appear in your inventory).
     
  28. Offline

    bluehasia

    i have it set at radius 8 with and i mine the ore it poofs away. maybe the one im looking at or maybe the one next to it. but no nothing goes into my inventory and it is defiantly not... example taking a radios worth of 8 of gold around me.
     
  29. Offline

    logangorence

    Nice Plugin! Would like to see a YouTube series on making a all-in-one plugin with multiple commands like Essentials or CommandBook.
     

Share This Page