Inactive [FUN] AmbientSpout WIP v1.0.2 - Custom ambient music & Looping sound effects[SPOUT] [1.2.5-R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by Rahazan, Dec 23, 2011.

     
  1. Offline

    Rahazan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Fully rewritten
    AmbientSpout



    How to setup

    ------------
    Step 1 - Configuration:
    - Start your server with the plugin installed. The plugin will generate the necessary files for you.
    - Shut down your server and change config.yml to your likings.

    ------------
    Step 2 - Adding music:
    There are two ways of adding music (or sounds). Either, you make use of the built-in webserver, or you provide links to where the music can be found.
    You can use both methods simoultaneously.


    << Built-in Webserver >>

    With this method, you place your sounds in a specific folder (probably AmbientSpout/Resources/Ambient or AmbientSpout/Resources/EffectLoop).

    For .wav files: Simply drag and drop them in.
    For .ogg files: Make the last 3 characters of the filename the length of the song in seconds. Say the song (or sound) is 1 min 32 long, 1*60sec + 32 = 92.
    You name your file music092.ogg (or whichever other name you like).

    Note that using the webserver will use bandwidth of your server.



    << Providing Links >>

    In AmbientSpout/Resources you can find Ambient.txt. In this file, you can add links to sound files. Add them in this format, one per line:
    <SONGLENGTH> <LINK>

    Example:
    123 http://google.com/song.ogg

    NOTE: The link has to be a non-secure HTTP link, so not https://. I am saying this because DropBox gives https:// links nowadays, just remove the s at the end :).

    Providing links is suggested (instead of webserver) if you fear the upload speed of your server is not the best, or you pay per bandwidth use.

    ------------
    Step 3 - OPTIONAL: Configuring WebServer:
    In case you want to make use of the built-in webserver, you will have to configure it.
    In config.yml you have to add configure these fields:
    HostAdress: Your host address (most likely the sameas the IP of the minecraft server.
    HostPort: The port you want the webserver to run on (the default should be just fine in most cases).
    EnableWebServer: Boolean value, do you want to use the webserver (you probably do, as you are reading this).

    Example:
    HostAdress: myawesomeserver.minecrafthost.com
    HostPort: 5651
    EnableWebServer: true

    >?> How do I know if the webserver is working?
    Everything in the Resources folder is hosted. Because Ambient.txt is always present, try to go to this address:
    http://HostAdress:HostPort/Ambient.txt

    Example:
    http://myawesomeserver.minecrafthost.com:5651/Ambient.txt

    If you see the contents of your Ambient.txt file, then congratulations, it's working! (Note that Ambient.txt may be empty if you didn't add anything to it.)


    "="-key is used to open the overlay by default.

    A collection of posts about the functionality + configuration:



    MusicArea's (to be implemented) will have such a feature if you feel like it's a useful feature :). The current sound effects are really meant for ambient sound EFFECTS, but there is no reason it shouldn't work for some gregorian music in a cathedral ;), or a greensleeves song in a tavern :p.

    Currently, the sound effects work in a certain fashion: The custom sound effect is played for everybody in the server at the same time, to reduce the resources the plugin needs dramatically. A downside to this is that if you join the server, you may not hear the ambient sound effect yet, as you must wait for the next custom sound effect to play for you.

    The way I currently implemented it: If you join a server, and you are not in a sound area, it will play the sound effect anyhow (for you personally). So there is a possibility, that if you just join a server, walk into a different effectloop area, your personal & the global sound effect will overlap.. I have thought of making them per-user, but I think that just won't be worth the resources for that unlikely problem ;).

    Because they are global, I can not make an intro, after which it goes into loop-mode. For MusicArea's this will be possible though. I will try to make them as configurable as is desired by server hosts :).



    AmbientSpout
    Free Version | BukkitDev

    This plugin adds custom ambient music to your server. Players can turn this on and off. There is also a widget that is toggle-able and the possibility for users to use their own music link. After a song has stopped playing, the next song will start.

    Demonstration of this plugin.

    How to use:
    In config.yml you find a list, which is initially empty, where you enter the following information; the duration of the song and the link to it. The format can only be .ogg or .wav ! You can add as many songs as you like.

    Example config.yml
    Code:
    DebugMode: false
    Ambient:
    - 146 http://dl.google.com/u/JustAnExample.ogg
    - 169 http://dl.google.com/u/JustAnotherExample.ogg
    - 123 http://dl.google.com/u/JustAnotherExampleAgain.ogg

    Dependencies:
    • Spout serverside.
    • SpoutCraft clientside(if the player wants to use this plugin).
    Features:
    • Easy to configure.
    • Lightweight.
    • Permissions-based.
    • Hotkey configurable in SpoutCraft
    Downloads:


    How does it help my plugin?
    Plugin-wise, in absolutely no way.

    Then why on Earth would I donate?
    Time and effort was put into this plugin. Maybe this plugin makes your life easier, gets your server more players or simply makes you and the players have a good time.


    How do I donate?
    You can donate through PayPal. If you do not have the means to do so, you can also "donate" by showing your appreciation in the form of a nice comment. These donations and comments keep me motivated. Oh, and it keeps me alive in this overpriced studentroom I live in. It means the world to me.

    Thank you for reading this.


    Changelog
    Version 0.1
    • Initial release.
    Any feedback is more than welcome!

    This post has been edited 21 times. It was last edited by Rahazan Jul 6, 2012.
  2.  
  3. Offline

    levisn1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    pls tell me how to open menu for change music... i try to use = above the 0 in my keyboard but doesnt's append..where i fail? how to open menuù of songs pls tell me...i just want to change song.. XD :D

    This post has been edited 1 time. It was last edited by levisn1 Jul 7, 2012.
  4. Offline

    Rahazan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Try pressing ALT (a few times) and then clicking =. If that doesn't work, you can change your personal setting in the controls part of the options of SpoutCraft :)
  5. Offline

    TheCoCe

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey
    really nice plugin but... I have a problem!
    I have added a ogg file to the Ambient folder... The file is 40 seconds long, so I have renamed it to "bla040"
    I have reloaded the server and pressed "="... I have turned music on and there was a info which says "Downloading bla040" The file is 640kb big. I was waiting 20 minutes but I haven't heard a sound...
    How can I fix it?
  6. Offline

    levisn1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok now it work :D...but..at the moment i use my dedicated as web-server, and i have all my songs in ambient music, (i hope local area music will implement soon *.*)..however my question is in the string for the drop box...i see that you have put the option for coordinates...what it means? it means that at that coordinates music start?...
  7. Offline

    Rahazan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Try and see if your webserver is working in the first place, check the instructions, it states how you can test it ;).

    @levisn1
    Those are for EffectLoops, you can see one of them in the video (the chimes sound).
  8. Offline

    levisn1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  9. Offline

    TheCoCe

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok it work's now... But wav files do not work :(
    And what about add playlist's?
  10. Offline

    ChrisX930

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it possible to make Regional-Music?
    For Example: You enter the Region "Cubecity", the plugin should play "cubecity.ogg" for the player.
    When the player leave this location, the music will stop.
  11. Offline

    bloobblop

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    dosent work at all . fully loaded & your web address for wem music is NULL
  12. Offline

    donald1440

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  13. Offline

    wolfenit415

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So I've started using this plugin. Seems to work good although it seems to not play all the music. I'm using the link to drop box method.also wondering if I change the way the song name shows up?. I understand your no longer updating or programming but I just need a small amount of info. Thanks for any info you can give.
  14. Offline

    paragonxx99

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It's stuck at downloading for like 2 hours. Please help! I have the port and ip on the config.yml!
  15. Offline

    |Anthony|

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I love this plugin! Really hope it continues!
  16. Offline

    wolfenit415

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I really hope this plugin continue to my players like using it!
  17. Offline

    craterface12

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  18. Offline

    Lummox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please, update! :(

    But seeing the last time which entered ....

    Rahazan was last seen: Aug 10, 2012

    This post has been edited 1 time. It was last edited by Lummox Oct 19, 2012.

Share This Page