Inactive [MECH] GravelClay v1.3.5 Gravel becomes clay with water! [CB 1.2.3-R0]

Discussion in 'Inactive/Unsupported Plugins' started by darklust, Apr 22, 2011.

  1. Offline

    darklust

    GravelClay - Turning your gravel into clay when submerged in water
    Version v1.3.5

    Usage is simple, place some gravel blocks on the ground and dump water/allow water to flow on them/touch them. VOILA! they turn into clay.

    NOW ON BUKKITDEV, CLICK FOR LINK

    Also, if you exploit the redstone block update/water flow redirect trick, you can design machines that flood a room with water, turning all the gravel inside into clay, then hit a torch holding a couple blocks of sand to stop the flood, making the room easily accessible.

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

    nossr50

    I linked to your plugin at the top of mcMMO :)
     
    Manji likes this.
  3. Offline

    Dunjonmaster

    Forgive my noobishness as I would love to install this for my players (I just installed mcMMO) but I cannot figure out what I am doing wrong. When I download from your link I get a WinZip file with two folders (META-INF and tld) as well as three other files (plugin.yml .classpath and .project). Am I supposed to be creating a jar file using these rsesources (which I would not know how to begin doing anyway) or do I just drop them into a folder called GravelClay in the plugins folder? Thanks for your efforts!
     
  4. Offline

    darklust

    Are you using internet explorer? I've only seen this happen with that browser; just download it and choose Save, then where it asks you to save type the name as gravelclay.jar or something similar and choose All Files in the dropdown.
    It's great to hear you say that man :D I love your idea and the fact that I've embellished on it, making an independent plugin, with your endorsement, should stop people from assuming it's a ripoff :]
     
    Manji likes this.
  5. Offline

    Dunjonmaster

    Yes Darklust, using IE 8 and your suggestion worked perfectly so +10 interwebz for you! Now to hit that donate button as soon as my paycheck gets here :D
     
  6. Offline

    toamuka

    comes with error Is it up to date?

    but it says its enabled in console.
     
  7. Offline

    darklust

    Great :D
    You'll need to paste the full error, that's too vague to diagnose.
     
  8. Offline

    Caman

    01:57:25 [SEVERE] null loading GravelClay v1.2.4 (Is it up to date?)
    java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at tld.louderthanthunder.Darklust.BukkitPlugin.BukkitPlugin.onEnable(Buk
    kitPlugin.java:63)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:632)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:218)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    But only on the first boot of the server
     
  9. Offline

    Phun

    Dunno why but this isn't doing anything for me, using Bukkit v 733
     
  10. Offline

    darklust

    I believe these problems are related to the first run of the plugin, and I found the error that would have caused these issues and corrected it. If you've run the plugin once already, the update is optional, but if it's the first time it'll correct the plugin not working.
     
  11. Offline

    Darkbanisher

    Thanks for this.
    Since mcMMO (the plugin mentioned in your post (all the way up)) removed this feature I am quite glad I can get it back.
    And I like the drop gravel in water turn into clay thing. Handy.
     
  12. Offline

    Intchanter

    I just added this to my server at the request of my users who enjoyed the functionality previously available in mcMMO. Just one issue I've noticed:

    If you drop a stack of gravel into standing or flowing water, you get 4 clay balls, same as if you'd dropped one clay. My guess on the cause of this is that the internal representation is a single item with a count attached, and GravelClay may not be checking this count when it does the conversion.

    If the count has a maximum value of 64, it may be necessary to create up to 4 stack items to replace a single stack of gravel for correct behavior.

    Steps to reproduce:

    1. Get a stack of gravel, and clear your inventory of all clay.
    2. Stand near and facing water.
    3. Open inventory, drag the stack of gravel out of the inventory box.
    4. Pick up the resulting clay balls.

    Observed behavior:

    4 clay balls obtained.

    Expected behavior:

    4 times N clay balls obtained, where N is the number of gravel in the stack.

    If you need more information on this issue, please let me know.
     
  13. Offline

    darklust

    Indeed, and you're absolutely right. I specified in the usage to use 'q' to drop an item; dropping the entire stack only sets off one instance of the class handling the conversion. I will work on implementing an ItemStack handler, but until then mashing 'q' is the only way to have the items convert.
     
  14. Offline

    Waffletastic

    Darklust is the best plugin dev ever. Let's all donate to him.
     
  15. Offline

    wassilij

    Can you make the block again to water when i destroy the clay block?
     
  16. Offline

    OmegaII

    I get the following error. But no clue why it would bother to open a zip file when there is none.

    Code:
    2011-05-16 04:27:11 [SEVERE] Could not load 'plugins/gravelclay1.2.5.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
            at java.util.zip.ZipFile.open(Native Method)
            at java.util.zip.ZipFile.<init>(ZipFile.java:127)
            at java.util.jar.JarFile.<init>(JarFile.java:135)
            at java.util.jar.JarFile.<init>(JarFile.java:99)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:59)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
     
  17. Offline

    Intchanter

    A .jar is just a .zip that happens to have Java files organized in a particular way. If you used a command-line tool to do the download, it may not have followed all the redirects. Once you have a copy that you can use a zip tool to unzip or examine, that copy should work better.
     
  18. Offline

    OmegaII

    A wget friendly url would be nice ...
     
  19. Offline

    darklust

    Clearly you have a web browser, why insist on using wget?
     
  20. Offline

    Digi

    Update checking plugin would be one reason, cmd line only servers would be another.
     
  21. Offline

    RazMaTaz

    What about using curl? I mean can it be used? Forgive my linux ignorance.
     
  22. Offline

    Qlaras

    Because downloading a file, then having to transfer it (from a Windows host) to a Linux server is a PITA. Wget ftw.
     
  23. Offline

    SamDean

    Hey there, I really like the idea of your plugin and i've had it on my multiplayer server for a couple of days now. The only problem I find is that clay is now created a little bit too easily... I was wondering if there was any chance you could put a time delay that is changable so that I could say, Have to have the water touching the clay for 10 minutes or so? Thanks.
     
  24. Offline

    darklust

    A similar plugin, ClayGen, has this delay feature.
     
  25. Offline

    SamDean

    Yeah i've seen it but with my multiplayer server host that addon isnt listed with bukkit, only this one is :(
     
  26. Offline

    Tux2

    There should be some way to ask for new plugins (even if you have to email support). If they reply back that they can't include it because of "X", let me know so I can change "X". Oh, and great plugin darklust! I know this feature hasn't been asked for yet by your users, but you might want to include an option for how many drops you get from clay for breaking the block.
     
  27. Offline

    SamDean

    Ok thanks! I will email them when the new 1.6 comes out, because im sure you guys will have to update all of your plugins anyway :) well at least multiplay will have to wait a few days before they let people use them again so they are compatible.
     
  28. Offline

    Avous

    @darklust

    i love you're keeping up with this plugin and keeping it updated... request time however :p can you make it so any time a item gravel hits water it turns to clay not just when you personally drop it?

    I always used Gravel to line my pools/put behind torches :p so no slimes way more worthless but slime look cute.

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

    retsrif

    Slimes now have a use though :) sticky pistons
     
  30. Offline

    Silarn

    At this point I have essentially trained my players to toss their gravel in one block at a time, but would it be possible to detect if someone throws a stack in and generate the proper amount of clay for the stack? Right now I believe it will turn the entire stack of gravel into only one block worth of clay.
     
  31. Offline

    wassilij

    I like this plugin, but i not want to use it because:
    When i place gravel into water .. it turns to clay and if i destroy the clay there is now water (not still water), could you make it, when you break the clay it drops clay and it turns to still water?

    Because if my users do that my water will be ugly ^^
     

Share This Page