Garry's Mod

Garry's Mod

229 个评价
gMusic Player
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 特效
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
128.591 KB
2017 年 11 月 1 日 下午 12:07
2022 年 9 月 10 日 上午 10:23
11 项改动说明 ( 查看 )

订阅以下载
gMusic Player

描述
A Gmod Music Player inspired by the Vocaloid Menu Player which is also based on Garry's Mod Music Player made by Declivity.

As I never found any trace of the original vocaloid radio I decided to make one myself, well probably it's more than a vocaloid player, which has some other useful features.

Also this addon has no conflict with the music players mentioned above so feel free to use as many as you wish.

Warning: A new update it's in the works, so expect bugs (especially on server mode) with this current version

Features
  • Seek Bar
  • Serverside and Clientside Control
  • Play/Pause/Stop Song
  • Loop Active Song by right-clicking the Pause Button
  • Resizable Panel ( bottom-right )
  • Supports .mp3 .wav and .ogg files
  • Customizable song directory folders

    Context Button
  • Open the music player by clicking the context button
  • Pause/Unpause song by right clicking the context button
  • Loop/Unloop song by middle clicking (works with mouse 4 too)

How to Use
  • Press F3 to open/close the player. ( can be disabled in the settings )
  • You can change the toggle key by typing in console: bind yourkey gmplshow

How to add songs
  1. Press the settings wheel icon near the close button.
  2. Click on the Music Dirs button from the right side menu
  3. Select the folders on the list which that contain audio files
  4. Press the top-left button to add them to the right list
  5. They should now show up on the right list
  6. Switch back to the music list and you should see your songs

    ( these instructions also appear on the top )
WARNING: Do NOT add mp3/wav files directly in the /sound folder because those will be ignored. Create a folder inside the sound folder and put the songs in it and then select this folder in the music player.
NOTE: IF the garrysmod/sound folder is missing then create it.

Console commands
  • gmplshow - show/hide the player
  • gmpl_vol { 0 - 100 } - controls the volume slider
  • gmpl_svadminplay { 0 | 1 } - allows only admins to play songs serverside
    (non-admins can listen to them)
  • gmpl_svadmindir { 0 | 1 } - allows only admins to add/remove song directories
  • gmpl_nohotkey { 0 | 1 } - disables the F3 hotkey
  • gmpl_cmenu { 0 | 1 } - disable/enable the context menu button (top-right)

Planned Features
  • Update the freaking preview SCREENSHOT to reflect other buttons and some changed visuals.
  • Making use of the in-game music volume slider ( works only for .wav files though)
  • Adding a playback speed option ( maybe )
  • Support for ID3v1 tags
  • Feature for autoplaying next songs ( Most likely this is the next feature i'm gonna add)
  • Adding a Favorites Section ( probably this will be client side only but on servers it might reset)
  • Lower the volume if somebody is talking (customizable)
  • Checkbox to disable clientside songs ( handy for server with admin only host)
  • Support for playing url links and maybe seeking too
  • Support for playing music/url links at a specific point ( maybe )

Bugs / Feature Request
If you found a bug post it in the Bugs Discussion or on the Github Page[github.com] along with the lua error shown in console.
Also if you have an idea for a feature post it in the Feature Request Discussion.
热门讨论 查看全部(6)
40
2022 年 4 月 25 日 下午 2:42
置顶: Bugs
RedSigma
5
2020 年 10 月 28 日 上午 9:33
gmusic player is making errors
kefir
1
2024 年 3 月 7 日 上午 3:09
Some of my songs keep getting not on disk error
Sandbox Enjoyer Jerry
148 条留言
Die_ananaswandtapete 2 月 26 日 上午 8:56 
ok, thanks
RedSigma  [作者] 2 月 26 日 上午 8:45 
@Die_ananaswandtapete: it works with any mp3 file. Just make sure it's in the same folder as the other and the filename doesnt have weird characters.
Die_ananaswandtapete 2 月 22 日 下午 12:02 
Because I downloaded only 1 mp3 file straight from a website, and the rest doesn´t work because i got it from youtube, though, I don´t see how that could be a problem
Die_ananaswandtapete 2 月 22 日 下午 12:00 
Does it work when an mp3 file is installed from youtube or does it only work if it´s downloaded?
Die_ananaswandtapete 2 月 22 日 上午 11:46 
ohhhh, my bad
Thanks
RedSigma  [作者] 2 月 22 日 上午 6:38 
@Die_ananaswandtapete: The file doesnt exist or it has weird letters in it.
Die_ananaswandtapete 2 月 21 日 上午 5:07 
It keeps saying "Not On Disk!"
What am I doing wrong?
RedSigma  [作者] 2 月 2 日 下午 1:55 
Guesseur09125: I believe it is possible via steamworks, but most of the time servers have the audio files included with the maps, so it's pretty much redundant. And imo I think people can abuse it to have user auto-download any kind of files.
Guesseur09125 2 月 2 日 下午 12:10 
@RedSigma do you have an idea to make player have the files getting placed by himself with a content or script that i put in the collection ?
RedSigma  [作者] 2 月 2 日 上午 6:06 
@Guesseur09125: Players need to have the same music file in their folder as well. Read the `How To add songs` section from the description.

Also i recommend to not have weird symbols in the filename but just numbers and letters.