[FUN/RPG] LeakyBukkit v2.5- Bro Your Bukkit is leaking[1.0.1R1]

Discussion in 'Inactive/Unsupported Plugins' started by TopGear93, Sep 23, 2011.

  1. Offline

    TopGear93

    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:
    1. Bukkits Break After a random ammount of uses!
    2. Lava & Water Bukkit are effected!
    3. Messages Player When Bukkit Breaks!
    4. 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:
    1. Config For Random & Message.
    2. No clue you tell meh. :D
    3. Make Soup "Spill".
    4. Add Burning effect to player when soup spills.
    5. Make Water / Lava leak onto ground near player.
    Known Issues:
    1. When Soup Spills Message will repeat & it will spam chat. Nothing major, just annoying. Ill try and fix it!
    Changelog:
    1. v1.0 Released - Supports Water & Lava Bukkits!
    2. v1.5 Added Config
    3. v2.0 Big Update! Added spilling soups with player smoke. soup random / soup message config added!
    4. v2.5 finally added true/false setting in the config for messages. thanks to @Bush
     
    Huffmanbran likes this.
  2. Offline

    gameswereus

    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?
     
  3. Offline

    TopGear93

    hey! awesome idea :D, 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...
     
  4. Offline

    gameswereus

    Thanks so much :p Btw, I LOVE Top Gear. My favorite episode is the one with the Reliant Regal in it :p
     
    TopGear93 likes this.
  5. Offline

    TopGear93

    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.
     
  6. Offline

    user_43347

    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.
     
    gameswereus likes this.
  7. Offline

    BioRage

    This is brilliant!, can you make one for bows now? :)
     
  8. Offline

    outfitter

    Great this really interesting and beautiful, thanks to share with us.
     
  9. Offline

    TopGear93

    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? :D
     
  10. Offline

    BioRage

    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!
     
  11. Offline

    TopGear93

    2.0 is out! added - spilling soups with player smoke. soup random / soup message config added!
     
    gameswereus likes this.
  12. Offline

    gameswereus

    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! :p
     
  13. Offline

    TopGear93

    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. :D
     
  14. Offline

    gameswereus

    A true / false would make me happiest :p 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 :p
     
  15. Offline

    TopGear93

    or even better a no message LeakyBukkit. :D
    http://dl.dropbox.com/u/1015938/LeakyNoMessage..zip

    To use:
    Shut off server
    add plugin
    delete old config
    start server
     
  16. Offline

    gameswereus

  17. Offline

    gameswereus

    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 :p Now that is only helpful if you don't run a local server, but still.
     
    TopGear93 likes this.
  18. Offline

    Seive

    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.
     
    TopGear93 likes this.
  19. Offline

    TopGear93

    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.
     
    Last edited by a moderator: May 19, 2016
  20. Offline

    Deleted user

    Please update.... bro
     
  21. Offline

    TopGear93

  22. Offline

    Deleted user

  23. Offline

    TopGear93

    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)
     
  24. Offline

    Huffmanbran

    Brilliant I say! Brilliant!
     
  25. Offline

    TopGear93

    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
     
  26. Offline

    HawkeyeCC

    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.
     
    TopGear93 likes this.
  27. Offline

    TopGear93

    thanks :D! 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?
     
  28. Offline

    HawkeyeCC

    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.
     
    TopGear93 likes this.

Share This Page