Jump to content

Mplayer

From CIT Wiki
Revision as of 20:14, 19 April 2025 by Jarrah (talk | contribs) (Created page with "= '''Music Player System''' = The '''Music Player''' in CIT allows players to stream their own music using <code>.mp3</code> links. Unlike the <code>/mymusic</code> command, this feature includes advanced options like '''playlists''', '''sound speed control''', '''vehicle streaming''', and '''custom effects'''. ---- == Opening the Music Player == You can open the Music Player GUI in two ways: * Press <code>T</code> and type: <code>/mplayer</code> * Or press <code>B</co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Music Player System

The Music Player in CIT allows players to stream their own music using .mp3 links. Unlike the /mymusic command, this feature includes advanced options like playlists, sound speed control, vehicle streaming, and custom effects.


Opening the Music Player

You can open the Music Player GUI in two ways:

  • Press T and type: /mplayer
  • Or press B > Select Music Player from the CITphone

Playlists

Create a New Playlist

  • Expand the GUI by clicking >>
  • Enter the name in the textbox
  • Click Add Playlist

Add Songs to Your Playlist

  • Must be .mp3 links (e.g. from mp3skull.com)
  • Expand the GUI, input the URL and Song Name
  • Click Add song to playlist
  • You may use "Get song name" to auto-detect the title (note: may not work for all links)

Edit Playlist/Song Names

  • Expand the GUI twice
  • Select the playlist or song
  • Type the new name and click Save

Streaming in Vehicles

You can stream music to your vehicle passengers:

  • Expand the GUI twice
  • Enable/disable the option: Stream the music in the vehicle I'm in

Volume and Sound Options

  • Set Volume:
    • GUI: Expand once and enter volume (1–100)
    • Or use: /mplayer vol [0-100]
  • Change Speed: /mplayer speed [0-2]

Playback Options

You can control song playback using the GUI or commands:

  • Next Song: /mplayer next
  • Previous Song: /mplayer prev
  • Play a Random Song: /mplayer random
  • Shuffle All Playlists: /mplayer random all
  • Play by Index: /mplayer [songIndex] {playlistIndex}
  • Stop/Resume: /mplayer stop or /mplayer play

CIT2radio

  • CIT2radio is the official server radio
  • Managed by CIT players
  • Use /songreq to request songs to be played

Command List

Command Description
/mplayer Open or close the Music Player GUI
/mplayer stop Stop currently playing music
/mplayer play Resume or replay music
/mplayer next Skip to next song
/mplayer prev Return to previous song
/mplayer vol [0-100] Adjust volume
/mplayer speed [0-2] Adjust playback speed
/mplayer random Play one random song
/mplayer random all Shuffle all songs from all playlists
/mplayer [songIndex] {playlistIndex} Play specific song
/mplayer help Show or hide the help panel