Leaky Bukkit Acknowledgements: @Bush - For Helping me with the true/false messages in config! v2.5 This plugin aims to make container liquids more realistic. Soups will "spill" on random and water/lava buckets will spring a leak on random! Everything is Configurable! Features: Bukkits Break After a random ammount of uses! Lava & Water Bukkit are effected! Messages Player When Bukkit Breaks! Configurable! Download: http://dl.dropbox.com/u/1015938/LeakyBukkit.jar (src in .jar!) Configuration: To Edit: 1st - Shutoff server. 2nd - Use Notepad++ to edit the config and save it. 3rd - start server & enjoy! Code: message: enabled: true LeakyBukkit: Leaky-Message: Aww my bucket sprang a leak! Leaky-Random: 50 Soup-Message: IT BURNS! Soup-Random: 20 Todo: Config For Random & Message. No clue you tell meh. Make Soup "Spill". Add Burning effect to player when soup spills. Make Water / Lava leak onto ground near player. Known Issues: When Soup Spills Message will repeat & it will spam chat. Nothing major, just annoying. Ill try and fix it! Changelog: v1.0 Released - Supports Water & Lava Bukkits! v1.5 Added Config v2.0 Big Update! Added spilling soups with player smoke. soup random / soup message config added! v2.5 finally added true/false setting in the config for messages. thanks to @Bush
How about if you jump down too many blocks, it will spill? I like having a random chance of it spilling to, but I'd like that to be configurable (maybe that part is!) Maybe you could decrease the change of it spilling by hooking into a Heros level such as agility?
hey! awesome idea , i just added a config to the main plugin but when i add that falling idea ill make it configurable too. With the heroes idea, ill have to look into it. im not sure how to do that just yet...
after looking at the BukkitDocs, its not possible to add the falling player idea. http://jd.bukkit.org/apidocs/index.html it doesnt have the correct methods to do the code needed.
No, it's possible, hook into player move, make sure y-1 does equal zero (means they are jumping or falling), create a new random, calculate its next int, if it equals 1 (or whatever you want), remove the bucket from their inventory and replace it with an empty one, and set the location of where it has spilled, to whatever was in the bucket. If you need any help just tell me.
bowls? sure when the falling feature is working then sure. well what i can do is on random when player goes to eat the soup it will spill. Ill add a player damage when the soup spills. maybe some smoke?
You could do that too, sounds good! What I meant was bow's, if there's anyways to make something for bow's to have durability, aka "break" after an amount of uses!
Is there anyway you can just disable the message? I try to limit the messages in my chat so people don't get spamming with tons of updates such as "you gain 4 xp" etc etc. edit: not to discount what work you put into creating the messaging system!
hmm would you be happy with a permissions setup? im not sure how to disable it any other way atm. i wonder if i could make a config - true / false setting.
A true / false would make me happiest But a permissions system setup for a temp fix (because I think that is much easier) would also be fine. Then you can get to the big awesome features
or even better a no message LeakyBukkit. http://dl.dropbox.com/u/1015938/LeakyNoMessage..zip To use: Shut off server add plugin delete old config start server
Btw, saying you should only edit the config in notepad ++ isn't exactly fair. There are plenty of other great programs to use also. But the one I love to use it called WinSCP. I can open and edit and then save the config right from the server without ever putting it onto my computer, much less hassle Now that is only helpful if you don't run a local server, but still.
I agree, you should make the bows string "break" after a random amount of uses. Just an idea, Maybe make it to where items can drop out of your inventory... This would have to be configurable.
lol ill make this, i have an idea. how about on random make the bow blow apart and end up in the inventory in pieces. just released v2.5! it adds a true/false node to enable/disable the messages! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Sorry, it seems ShooterMcGaven"movie reference" didnt update the plugin. Ill be taking it over once again. Hope to see more users! running on CB1495(minecraft 1.0)
wow! i didnt realize it was this much of a hit! ill have to get back into fixing this. i honestly keep forgetting about LeakyBukkit lol. rebuilding plugin. adding new config system. updating to latest build
Love the plugin, but what if a player does not have the bucket out? Is there a way to make them leak if they're just in his inventory? I haven't tried using the plugin yet.
thanks ! Also thats an interesting idea! but how would this work? On random when the player moves, if the inventory contains a water/ lava bucket have it " drain" out onto the player?
Well, I imagine that carrying a bucket that tends to leak when it's in your hands would also leak if it was in a backpack or any other container. I imagine that it would have a chance to leak when its in your inventory when you jump or fall, or take any sudden acceleration or turn in like a minecart or boat or whatever.