Play Music On Login

Play Music On Login 1.2.0

No permission to download
Play Music On Login

I've made this one to break the loop from the client start music. Forcing the server to play a town theme for the players when they join the game.

Installation

Just drop this script somewhere in you Scripts folder.

Configuration
Code:
bool Enabled = true;                          // Is this system enabled?
bool PlayRandomMusic = true;                  // Should we play a random music from the list?
MusicName SingleMusic = MusicName.Stones2;    // Music to be played if PlayRandomMusic = false.

By default, it will play a random music from the list.
Code:
public static MusicName[] MusicList = {
      MusicName.Stones2,
      MusicName.Magincia,
      MusicName.Minoc,
      MusicName.Ocllo,
      MusicName.Skarabra,
      MusicName.Trinsic,
      MusicName.Yew,
      MusicName.InTown01,
      MusicName.Moonglow,
      MusicName.MinocNegative,
      MusicName.ValoriaShips
};

But if you set PlayRandomMusic = false it will play the classic Stones song.

The complete list of musics available can be found on the Server/Region.cs core script.
Author
Felladrin
Downloads
54
Views
1,188
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Felladrin

Back