[FUN] FlowerPower v0.3 - Throw Ghast Fireballs! [1317]

Discussion in 'Inactive/Unsupported Plugins' started by redsgreens, Jun 20, 2011.

  1. Offline

    redsgreens

    FlowerPower - Throw Ghast Fireballs!
    Version: v0.3

    Hold a red flower in your hand and left click to throw a ghast fireball. Blowing stuff up is fun!

    Features:
    • Throw ghast fireballs
    • Permissions support
    Download FlowerPower v0.3 (07/09/2011)

    Permissions: If a permissions plugin is loaded, then "flowerpower.throw" permission is required. Otherwise, only Ops will be able to throw them.

    Config File:
    • WandItem: The name or id number of the item that must be held in the hand to throw fireballs. Defaults to "red_rose".
    • CoolDownInterval: Minimum time in seconds between fireballs. Default is 1 second.
    • RequireCommandToggle: If set to "yes", the command "/flowerpower" must be used to enable/disable the fireball functionality. Defaults to "yes".
    • TakeItemFromPlayer: Determines if the wand item should be take from the player. If the player holds a stack, only one will be taken. Defaults to "no".
    • FireballYieldMultiplier: Allows adjustment of fireball explosive power. A value of 1.0 is the standard Ghast fireball strength. A value of 0.5 is half that strength, and 2.0 is double. Be careful with very large values, you might cause major lag or crash your server. Defaults to 1.0.
    • ShowErrorsInClient: Self explanatory. Defaults to "yes".
    Changelog:
    Version 0.3 (07/09/2011)
    • Added TakeItemFromPlayer and FireballYieldMultiplier config options
    Version 0.2 (06/21/2011)
    • Config file
    • Optional command to switch FlowerPower mode on/off
    • Optional cool down period
    • Make the fireball originate from directly in front of the shooter
    • Configurable "wand" item
    Version 0.1 (06/20/2011)
    • Initial release
    To Do:
    • Make yellow flowers cause lightning strikes.
    Check out the source code.
     
  2. Offline

    ChrizC

  3. Offline

    Zarius

    This looks cool! Just curious, what caused it to require CB906?
     
  4. Offline

    Dreadreaver

    903 should be minimum ..
     
  5. Offline

    redsgreens

    The code is not up on GitHub yet, but it will be soon.
    I read that entire thread on URL shorteners, and it looks to me like only adf.ly URLs are banned, not goo.gl, bit.ly, etc. I like to use goo.gl in combination with DropBox because DropBox doesn't offer any download statistics. That being said, once the code is up on GitHub, I'll give their download system a try.
    The Ghast fireball spawning feature was added in build 903, which would probably work fine with this plugin. However, I only tested with 906, because it will probably be the next Recommended Build (see here).
     
  6. Offline

    Pencil

  7. Offline

    Specops343

  8. Offline

    Pencil

    No it's legit, thats what I didn't mean. He makes use of something that got implemented in 903, the other guy uses other ways to spawn that fireball. Still, 100% indentical plugin :p
     
  9. Offline

    Dreadreaver

    @Pencil @Specops343
    Just compared the source. This plugin is completly legit.

    If you care about details:
    The Mario plugin creates a fireball with over 10 lines of code all by itself while this plugin "just" spawns a fireball with the new methods since CB903. So the Mario plugin has fireballs for <903 while this plugin goes the easier way and just uses the methods from 903. There is NOTHING that looks even remotely similar. (except for standart plugin format)

    Edit: Pencil was faster :(
     
  10. Offline

    Specops343

    Oh okay, my bad. Shoulda known a lot of plugins with ghast fireballs would be popping up. ;)
     
  11. Offline

    Pencil

    :p
     
  12. Offline

    Dreadreaver

    heck but I compared the sources and even wrote a detailed post :p
     
  13. Offline

    ChrizC

    goo.gl is not banned, per sé, but it's use is discouraged.

    Chris
     
  14. Offline

    BR_

    I don't mind the coexistence of Mario and FlowerPower - Mario is in version 0.1, in later versions, things like mushrooms, 1-up mushrooms, 3-up moons, and so on, will be added (at least, according to my todo list). They'll eventually be different plugins, as I think this one will stay near to where it is.
     
  15. Offline

    Dreadreaver

    not like it matters whether you mind this or not as this plugin isnt stolen. no offense
     
  16. Offline

    BR_

    No offense taken, and I know it wasn't stolen. I was just trying to end the argument and save people decompilation/code analysis/thread reading time - if anyone wants to take it farther, you don't have to now.
     
  17. Offline

    redsgreens

    I am very surprised at how much attention this plugin has gotten, not all of it good. Oh well. Version 0.2 is out now, check the first post for the change log.

    I still prefer the extra information that goo.gl offers, but GitHub has a minimal download count that will give me what I want. So the URL shortener is gone, can the thread be moved to releases now?

    You are correct that this plugin will not approach the complexity that you are aiming for. I'm interested to see how yours progresses, though. :)
     
  18. Offline

    BloodyDie

    It's Inposable Only Op ?
     
  19. Offline

    redsgreens

    I'm not sure exactly what you're asking, but here's a quote from the first post:
     
  20. Offline

    BloodyDie

    Thx
     
  21. Offline

    Muyloco1

    When I reload the server a config is not being created. Am I missing something here? on cb953

    EDIT: Nevermind, I had to do an actual restart. My bad.
     
  22. Offline

    Smelyhobo

    I love this plugin. I want to use it with the buyabilities plugin to give players a purchasable fireball ability, but the server is not a PVP server and the fact that people could use it to grief undetected kind of worries me. Is it possible that you could add an option to disable the explosion and damage towards other players? Or even better a permission node for damage towards other players, so we could have it usable in a PVP world but not in our normal world.
     
  23. Offline

    redsgreens

    So you would like it to damage blocks but not players? I'll have to look into how to accomplish that. You can already use permissions to completely disable the fireballs on a per-world basis, though.
     
  24. Offline

    Smelyhobo

    Remove damage to blocks and players, but not mobs would be the desired effect for our PVE world. For PVP damage towards other players enabled and explosions i'm undecided. If it makes TNT cannons obsolete then i would not want it enabled but from what ive seen it ignores harder materials like stone so it could be a viable option. I would just have to test it out a bit. Not sure if this is possible. Still an awesome plugin regardless.
     
  25. Offline

    ACStache

    @Smelyhobo there's a plugin (not up to current RB) that allows for manipulating every type of explosion. It's called HigherExplosives. you can prevent terrain damage, player damage, monster damage, and a ton of other explosion attributes. I'd definitely check it out :p
     
  26. Offline

    blackbinary

    @redsgreens, it looks very nice, is there a way to kill one Item per shot? so u shoot five times and los 5 items
     
  27. Offline

    compgurusteve

  28. Offline

    redsgreens

    I like this idea. I'll add a config file option for it.

    This is a good idea, but messing with lighting like that plugin does/did is highly unreliable because the engine isn't designed to handle it. I've tried doing similar things and had poor results.
     
  29. Offline

    compgurusteve

    Indeed. I didn't know if it was revivable or not, last time I used that plugin when it was active it took out slices of people's creations and replaced them with torches. Needless to say no happy campers were around.
     
  30. Offline

    blackbinary

    Great!, because this way i can use it in Mob arena, or the plugin War. a limited amount of ammo. :)
     

Share This Page