Inactive [MECH/EDIT] ToughMelt v1.7 - Clean Up Quick [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Kevin Forte, Apr 16, 2011.

  1. Offline

    Kevin Forte

    ToughMelt: Get Rid of Stuff Faster
    ~Version: 1.7~
    Download: [JAR]

    A few weeks back, @retsrif was awesome enough to make a plugin for me that melts ice in a radius you specify. A few weeks later, he was awesome enough to help me (an understatement) allow you to type any item ID and a radius and destroy that item in a similar way. I took both of these, combined them, and added permissions, and this is the result.

    Features:
    • Permission node that allows users to use simple melt (ice & snow).
    • Permission node that allows admins to melt anything.
    • Prevent ice from reforming. (An option in the config.yml in /plugins/ToughMelt)
    Commands:
    [] = Necessary Argument
    {} = Optional Argument
    • /melt [radius]
    This is the basic melt command. It turns all ice within the specified radius into water and melts all snow in the radius.
    • /melt [itemID] [radius]
    This is the admin's melt. It will destroy all of the specified item in the specified radius. Useful for wiping structures quickly without worrying about destroying your surroundings.

    To-Do:
    • Try and figure out the bug that requires you to use the melt command a few times to get rid of everything.
    • I don't know, what else can be done with this?
    Permissions (Now Optional!):
    To allow users to melt only ice and snow:
    Code:
    ToughMelt.melt

    The admin node to melt anything:
    Code:
    ToughMelt.tough


    Changelog:
    v1.7
    • New configuration options: Configure the max radii of melting ice/snow and all other materials. @wargamer2010: I didn't beat him to the next update.
    Show Spoiler

    v1.6
    • Prevent ice from reforming at all and prevent torches from melting ice! Thanks AGAIN @wargamer2010. I am going to beat him to the next update if it's the last thing I do... xP
    v1.5
    • ToughMelt no longer requires permissions. Thanks again @wargamer2010 for cleaning up after my stupid. :)
    v1.4
    v1.3
    • OP functionality added.
    v1.2.1
    • Permissions updated.
    v1.2
    • Basic /melt command now also melts snow.
    v1.1:
    • Limited the radius to 30 to avoid the crash resulting from too high a radius.
    v1.0:
    • Released the plugin.

    Special Thanks To:
    retsrif - For indirectly doing most of this.
    wargamer2010 - For making this plugin even better :p
     
    EnzoFX and Inscrutable like this.
  2. Offline

    Klausar

    Would be great if you add a config that prevents Ice from turning into water when broken / melting by light.
     
  3. Offline

    Haduke

    Sounds awesome. I know the newer updates are all about "biomes", but to my knowledge it never snows in rainforests and deserts. When was the last time you saw an ice covered lake or ocean in a desert area? lol
     
  4. Offline

    Kevin Forte

    Darn, you beat me to it xP Not at all :p But yeah, there are new BlockListener events, correct?
     
  5. New version (1.6) has been uploaded to dropbox. It creates a config file under plugins/ToughMelt/ToughMelt.yml which has only one value named "PreventIceForm". This is, by default, set to false. So to enable ToughMelt to prevent Ice from forming, just set that to true.
    Just tested it in a snowy biom, without it ice was formed, with ToughMelt no ice was formed :)

    Sidenote: Keep in mind you will need the latest Bukkit release for this version to work!

    And yes, there is now an event called BlockForm :)
     
  6. Offline

    Kevin Forte

    So where is the file? Doesn't it need to be in my DropBox for that link to work? xD
     
  7. Offline

    Haduke

    Yeah, I'm not finding the file either. Is the download link updated?
    It's too bad that we have to use the latest bukkit build for this to work. I know the latest build messes up my blue teleports on my server. And we have about 13 of them set up now. I guess we'll have to figure something else out for our teleporting needs.
    Anyways... once the link is updated for this, that will be great. I can't wait to get rid of this damn ice problem on my server. Many thanks and appreciation for figuring this out guys!
    *UPDATE*
    I found the file and set it to true. It seems to have fixed the problem. Thanks again for the help guys! Much appreciated!

    Take that back...
    It's NOT working. I destroyed some ice, then just sat back and watched it reappear again.
    This is too the point where I am about to say fuck Minecraft and not even play anymore. I mean, this is just ridiculous.
    13:00:09 [INFO] [Toughmelt v1.6] enabled.
    13:00:09 [INFO] [Toughmelt v1.6] Configuration loaded succesfully.
    13:00:09 [SEVERE] Error occurred while enabling ToughMelt v1.5 (Is it up to date
    ?): BLOCK_FORM
    java.lang.NoSuchFieldError: BLOCK_FORM
    at kforte318.ToughMelt.ToughMelt.onEnable(ToughMelt.java:47)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    That is the error my server keeps giving me. Maybe it will help you guys figure out what I did wrong.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  8. Yes, this shows you don't have the most recent Bukkit release installed. As said the BLOCK_FROM has only recently been introduced so please grab Bukkit #935 (latest recommended build) from here and install that :)
    And also post back if it works or not (if you'd like to of course).
     
  9. Offline

    Haduke

    Alright. I'll give it a go and let you know what happens. I just hope the new bukkit update doesn't mess up too many of my other plugins.
     
  10. Offline

    EnzoFX

    Does this prevent formation in the entire world? =p
    What about biomes that are already snowy? Hmm
     
  11. Yes, it will prevent ice formation in the entire world.
    You can use /melt to get rid of existing snow :)
    Or did you mean something else?
     
  12. Offline

    EnzoFX

    I hate snow/ice in any of my built structures, but I think I'd like to keep the snow/ice biomes that are elsewhere in the world. Still, there is currently no alternative, and I may end up giving this a shot =).
     
  13. Offline

    Haduke

    It works great. The only plugin that doesn't work for me now is WAR. Other than that everything else is working and I now have no more ice in my world. Thanks!
     
  14. Offline

    xsolar66

    :D Finally!

    @wargamer2010 - Thanks for the prevention of ice forming :) My friend can finally continue his project!

    Also; I know this plugin is designed for preventing ice and getting rid of ice - but is it possible to prevent ice from melting via torches/external light sources as well? Possibly in a separate plugin.
    ..So far I know the only plugin that does this is WorldGuard, and I am really not keen to delve in to that level of complexity and have to endure world edit as well... not to mention it clashes with essentials at the moment.
     
  15. Glad to hear it helped someone out :)
    I actually do have a project laying around that I tried to prevent ice melting (because of torches) with. Might have to look at how WorldGuard did it ;) Will keep you posted.
     
  16. Offline

    xsolar66

    If it's any help - bukkit build #928 added the following :

    Added BlockSpread (when a block spreads due to world triggers), BlockForm (when a block forms due to world triggers, and BlockFade (when a block melts, disappears or fades due to world triggers, like snow melting due to a light source).

    ..Before this build, even world guard didn't stop ice from melting, i think?
     
  17. Could you up the max melt number from 30 to something like 100? This would save me a lot of time.
     
  18. Offline

    Kevin Forte

    I can make it configurable. I found though that anything above about 50 would freeze up and crash the entire server.
     
  19. Offline

    shawn34668

    Thanks you it works prefectly. :)
     
  20. Offline

    digidi

    Nice plugin!!
    But can you change the radius into a higher number?
    Like 1000
    I HATE SNOW AND ICE :p
     
  21. Kevin, could you check your "conversations"?
    Made an update a while back that should prevent torches from melting ice (which is of course configurable).
    I also added the ability to configure both the snow/ice melt radius and "other" melt radius today.

    In response to the above, a radius of more than 90 will crash your server or at least pressure it quite a bit because of the way the melting is done.
    So use the radius settings at your own risk! The default (30) has been tested and is safe to use, anything above might cause instability.
     
  22. Offline

    Gust van de Wal

    so, can we config the max radius, and if so: how???
    still, awesome mod! [diamond][diamond][diamond][diamond][diamond]
     
  23. Offline

    Kevin Forte

    I believe you can change it in the config.yml, but don't go too high as it will freeze up your server!
     
  24. Offline

    Gust van de Wal

    ehh... i only see one option: the one for ice coming back or not.
    what do i have to type in there?
     
  25. Hey Gust, you'll have to fetch the latest version first (1.7).
    Then, when you run it for the first time, new entries will be added to your ToughMelt config file which will look like:
    If you, however, continue to experience problems then feel free to leave another post.
     
  26. Offline

    EnzoFX

    Used this the other day with CB1185 to clear up some snow, worked fine, couldn't figure out how to increase maxradius. I tried just adding Max_Ice_Snow_MeltRadius: 30
    to the plugin config, no go. Wasn't a large area so just cleared it bit by bit. Thanks.
     
  27. Thanks for the headsup. For some reason the download link to the Jar refers to an older version (1.6).
    Kevin, if you read this, could you update the link? :)
     
  28. Offline

    kalez

    You know what i love about this. Its 1.0 time and this plugin is still working just fine :D
     
  29. Offline

    Kantana

    Any news on this? I also need to increase the radius for some major snow melting, but the link still points to v1.6 ^^;
     
  30. You are completely right. I'll be dirty and link you to 1.7 on my dropbox: http://dl.dropbox.com/u/4109728/ToughMelt.jar
     
  31. Offline

    Kantana

    Thanks a lot! Tried a /melt 100, worked like a charm ^^
    Great work on this!
     

Share This Page