Fireworks from Console

Discussion in 'Archived: Plugin Requests' started by mfred98, Oct 10, 2013.

  1. Offline

    mfred98

    Plugin category: Fun

    Suggested name: Fireworks on command (I don't really care what it's named)

    What I want: Basically I just need to be able to launch fireworks from the server console at a specified location. I am using VariableTriggers to make a script that will launch a firework above a players head when they die, but I can't find a plugin that will let you launch fireworks from a designated location. Also having options for color, shape, etc. would be great.

    Ideas for commands: /firecon <X,Y,Z> <Color(s)> <FadeColor(s)> <Shape> <Effect(s)>
    Ex: /firecon 575,184,-423 blue red creeper twinkle

    Again, that doesn't have to be the exact command name. If there was an option for multiple colors/effects, an argument would just be typed with a comma.
    Ex: /firecon 575,184,-423 blue,red red,blue creeper trail,twinkle

    Ideas for permissions: firecon.canuse
    (this isn't intended for regular players to be using, so I don't need multiple permissions)

    When I'd like it by: Anytime, but obviously the sooner the better.
     
  2. Offline

    calebbfmv

    Sounds like a cool idea, I will look into this.
     
  3. Offline

    mfred98

    Thanks
     
  4. Offline

    calebbfmv

  5. Offline

    JRL1004


    What do you mean by above player's heads? Like the specific coordinates where they died (Eg. 264.57, 67.83, -478.29?) or do you mean block coords (Like what you used as an example?) Keep in mind that block coordinates are the exact start of a block (usually where the intersection of four blocks are.)

    If calebbfmv is not working on this, I couldn't tell if he accepted it or not, I would be happy to give it a shot. Unfortunately, however, do to some real-life issues I cannot guarantee that.
     
  6. Offline

    Mathias Eklund

    There should be plugins that do this already, perhaps i am wrong ^^
     
  7. Offline

    calebbfmv

    JRL1004
    I should be able to get this done sometime tomorrow, I have baseball practice at 8-10, so we will see.
     
  8. Offline

    mfred98

    What I am using to return coordinates gives me the location of the block above the one the player is standing on, so it would be whole numbers like in my example. My idea was that the plugin would launch a firework from where the player was standing, but having the firework just explode at the specified location will work great for me. I can modify VariableTriggers to give me the coords +(number)Y if it was just an explosion.

    Mathias, I looked through all fireworks plugins for about 20 minutes and couldn't find anything.

    Thanks for the help everybody
     
  9. Offline

    Mathias Eklund

    mfred98 Ok, so what you want is to get the location and spawn a firework there? I could scramble something up. :) Will have to wait, doing some other small projects atm :) But I can see what i can do
     
  10. Offline

    mfred98

    I can already get the location myself, I just need a command to input the location into, and yes spawn a firework there
     
  11. Offline

    calebbfmv

    - starting -
     
  12. Offline

    mfred98

    K thanks!
     
  13. Offline

    Mathias Eklund

    Good :)
     
  14. Offline

    calebbfmv

    I am sorry, but something has come up that I will not be able to do this project, sorry to report!
    Mathias Eklund
    take it up?
     
  15. Offline

    monkeymanboy

    if no one else does this I could probably do it if you don't mind me posting it to dev.bukkit
     
  16. Offline

    calebbfmv

    Go for it.
     
  17. Offline

    monkeymanboy

    calebbfmv I started it and am almost done all I need to add now is FadeColors and Effects
     
  18. Offline

    calebbfmv

  19. Offline

    monkeymanboy

    mfred98 Ok, so I want to do a bit more work on this before I upload it(like a command to spawn it on a player) but I know you have stuff like that covered so I thought you would like it in its current state
    https://dl.dropboxusercontent.com/u/77585859/ConsoleWorks.jar
    All colors that are in it now are
    -red
    -blue
    -black
    -purple
    -aqua
    -gray
    -green
    -lime
    -orange
    -yellow
    Types are:
    -ball
    -bball
    -creeper
    -burst
    -star
    The command is set up like this
    /cworks <world> <x> <y> <z> <colors> <fadecolors> <type>
    The permission is cworks.use
    Hope you like it
     
  20. Offline

    mfred98

    Thanks! I'm putting it on my server now.

    K I'm having a problem. The location I'm getting comes in the form of X,Y,Z not X Y Z . Is there a way you can change the command to require it as X,Y,Z ? Also sometimes the firework doesn't explode, but that's rare so I don't really care.
     
  21. Offline

    monkeymanboy

    mfred98 I finished up a more polished version not 100% complete but works well enough and I plan on releasing it soon but this one has methods of spawning it on a player and creating packs for it so like in the config lets say I made one with the name monkey and it was brown and white for fading with burst then I could do
    /ppworks monkeymanboy monkey
    or
    /cpworks x y z monkey
    and it would spawn it like that
    anyways I'll edit this with a link to it in a second
    EDIT: And I believe I reduced amount of times it won't explode and there is a option to have it spawn one when they join
    https://dl.dropboxusercontent.com/u/77585859/ConsoleWorks.jar

    mfred98 Probably still waiting approval but here http://dev.bukkit.org/bukkit-plugins/firework-magic/
     
  22. Offline

    mfred98

    I downloaded the new one and now none of the commands work. Could you please change the location argument to be one solid line (X,Y,Z) instead of (X Y Z)? I need it to be that way for it to work for me.

    EDIT:
    I fixed the command problem (forgot to add the new permissions), but the crazy pack doesn't work. I still need the location problem fixed though
     
  23. Offline

    monkeymanboy

    mfred98 from what it looks like you want it above the players head just use that command instead and they do work
     
  24. Offline

    mfred98

    I would just use /pworks but I was planning on having the firework explode several times within the next minute after the player dies. If it's too late to change the arguments now then I'll just use /pworks but I really would like to have it the other way.
     
  25. Offline

    monkeymanboy

    mfred98 Well, I think variable triggers can take individual coordinates you'll have to check. But I would prefer not to change the arguments because most other plugins do it like that and it would simplify things a lot not to change it.
     
  26. Offline

    mfred98

    I already checked VT, it can't do individual coordinates, but I think I'll submit a request for that feature. Thanks for all your help anyway, I'll just use /pworks for now.
     
  27. Offline

    monkeymanboy

    mfred98 If that doesn't work out I could add a feature to my plugin to play a certain firework for a set amount of time
     
  28. Offline

    mfred98

    Thanks, but I think I'll just try to get it fixed on the VT side. I was having some fireworks dud problems again but not anymore so I think it was just a temporary problem.
     

Share This Page