JukeBox

Versions

Version 1.8.2
Released 3 weeks ago

{"ops":[{"insert":"New DarkRP-related settings. These settings allow you to set which jobs can/can't request songs on the JukeBox. This allows you to create \"DJ\" jobs.\nAdded "},{"attributes":{"bold":true},"insert":"JukeBox.Settings.UseJobRestrictions"},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"Added"},{"attributes":{"bold":true},"insert":" JukeBox.Settings.JobRestrictionWhitelist"},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"Added "},{"attributes":{"bold":true},"insert":"JukeBox.Settings.RestrictedJobs"},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"These settings work exactly the same as the group restrictions, but apply to DarkRP jobs. There is also a new language phrase, "},{"attributes":{"bold":true},"insert":"#ALLSONGS_JobBanned"},{"insert":", which is for alerting users when they cannot request a song. \n"},{"attributes":{"bold":true},"insert":"There have been changes to the "},{"attributes":{"bold":true,"background":"#f0f0f0","code":true},"insert":"shared_settings.lua"},{"attributes":{"bold":true},"insert":" and "},{"attributes":{"bold":true,"background":"#f0f0f0","code":true},"insert":"shared_language.lua"},{"attributes":{"bold":true},"insert":" files, so the files will have to be replaced. Make sure to carry over your settings."},{"insert":"\n"}]}

Version 1.8.1
Released 1 month ago

{"ops":[{"insert":"Small fixes to the IdlePlay system.\nFixed saving the IdlePlay list (actually retrieves the songs from file rather than ignoring them)"},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"Slight modification to IdlePlay (will now only use songs checked on the list if any are checked, regardless of song cooldowns)"},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"\n"},{"attributes":{"bold":true},"insert":"There have been no changes to the "},{"attributes":{"bold":true,"code":true},"insert":"shared_settings.lua"},{"attributes":{"bold":true},"insert":" file, so you don't need to overwrite your version of the file."},{"insert":"\n"}]}

Version 1.8.0
Released 2 months ago

{"ops":[{"insert":"Sorry for the issues with video playback. It's not something I can fix, as it's an issue with Garry's Mod.\nI'm releasing this patch to add a non-intrusive popup for users who are having playback issues. This will outline how to change to the chromium branch in order to fix the playback issues. It opens once per level and can be disabled by the user.\nAdded Chromium popup for users who are having playback issues."},{"attributes":{"list":"bullet"},"insert":"\n"},{"insert":"\n"},{"attributes":{"bold":true},"insert":"There have been changes to the "},{"attributes":{"bold":true,"background":"#f0f0f0","code":true},"insert":"shared_settings.lua"},{"attributes":{"bold":true},"insert":" and "},{"attributes":{"bold":true,"background":"#f0f0f0","code":true},"insert":"shared_language.lua"},{"attributes":{"bold":true},"insert":" files, so the file will have to be replaced. Make sure to carry over your settings/translations."},{"insert":"\n"}]}

Version 1.7.9
Released 3 months ago

Small update to add a user-requested feature:

  • Added JukeBox.Settings.DarkRPJobRanks
    • Allows DarkRP Jobs to manage the JukeBox.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.7.8
Released 4 months ago
  • Added new setting JukeBox.Settings.RankDiscount
    • Allows you to specify ULX ranks that will be charged different amounts. Could be used to give donator discounts or allow admins to queue songs for free.
  • Added a potential fix to null player errors.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.7.7
Released 8 months ago
  • Fixed forward slashes ( / ) doubling up on the client.
  • Fixed backwards slashes ( \ ) doubling up during MySQL song saving. (Requires updating to mysqloo v9 )
    • Added console warnings to MySQL to alert users if using an older version
  • Fixed Debug Show Video button not working.
  • Fixed Idle Play picking from an extremely small pool of songs.
  • Fixed the Refresh All button not reloading the All Songs list.
  • Removed JavaScript console spam.
  • Updated the defaults for the following settings:
    • JukeBox.Settings.PointsCost to 50 (was 100)
    • JukeBox.Settings.PlayerCooldownsTime to 5 minutes (was 10 minutes)
    • JukeBox.Settings.VoteSkipPercent to 45% (was 60%)
    • Added "!radio" and "!music" chat commands (and their "/" counter-parts)

These changes have been made to try and make using the JukeBox for new people more inviting. Feel free to revert them.

There have been no structural changes to the shared_settings.lua file, so you don't need to overwrite your version of the file. However, the recommended settings have changed. You may choose to adopt some of them.

Version 1.7.6
Released 1 year ago

Small update to partially fix ServerGuard support. If you don't use ServerGuard, there's no need to update.

  • Made various settings involving ranks use ServerGuard if JukeBox.Settings.UseServerGuardRanks is enabled.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.7.5.1
Released 1 year ago
  • Fixed MySQL being defaulted to ON instead of OFF, preventing songs loading from file.
  • Added a temporary potential fix to the options menu.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.7.5
Released 1 year ago

This update aims to address the video freezing issues. This is EXPERIMENTAL and may not work, please report which songs freeze and when so I can investigate further.

  • Changed the web-code to try and prevent YouTube videos freezing.
  • Added ServerGuard support to make people managers.
    • Added JukeBox.Settings.UseServerGuardRanks (default false)
      • Tells the JukeBox whether ServerGuard is installed.
    • Added JukeBox.Settings.ServerGuardRanksList (default list)
      • Tells the JukeBox which ServerGuard ranks are managers.
  • Added a max songs in All Songs list slider (default 200)
    • This defines how many songs can be displayed in the All Songs list at once to prevent crashing. Can be infinite still.
  • Altered the alert colour in the options menu to make the text more legible.

There have been changes to the shared_settings.lua and shared_language.lua files, so the file will have to be replaced. Make sure to carry over your settings/translations.

Version 1.7.4
Released 1 year ago

Small update to fix a few issues.

  • Updated the vote skip system to actually calculate the amount of votes needed correctly.
  • Made JukeBox.Settings.HUDEnabled = false actually work.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.7.3
Released 1 year ago

Hopefully video playback doesn't go and break itself again any time soon. This update should address a few outstanding issues with the JukeBox, including fixing the playback issues. Please let me know if any issues persist.

PLEASE NOTE: There is still an issue with videos randomly pausing. I'm still investigating. You can restart the video by hitting stop then play again.

  • Forced a minimum size of the YouTube video player.
    • It seems setting the player to a very small size caused the video not to play.
  • Updated the way the All Songs list is networked.
    • This should fix players getting kicked while joining when the all songs list is ridiculously big. This is untested in large-scale multiplayer servers.
  • Capped the amount of songs the All Songs list can display to 200.
    • This may help prevent crashes when opening up the UI.

There have been changes to the shared_language.lua file, so the file will have to be replaced. Make sure to carry over your translations. There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.7.2
Released 1 year ago

Small fix for an issue that's returned.

  • Fixed a bug that caused players with the Garry's Mod IsSuperAdmin privilege to be unable to add songs etc.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.7.1
Released 1 year ago

This is a quick update to fix some random bug out of nowhere that killed video playback.

  • Changed the video player to use HTML panel instead of DHTML panel.
    • This may have caused some issue somewhere else, let me know.

No idea what caused this. Sorry for the inconvenience. Please let me know if there are any bugs or issues as I've had to take out code that's not ready for release yet. Hopefully going to have a few user requested features out soon, just shaking off long-standing illness finally.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.7.0
Released 2 years ago

This update adds some user-requested features. Please read the shared_settings.lua file to understand better what they do.

  • Added a "Play Locally" option to the All Songs list.
    • This allows you to listen to a song independently from the current server queue.
  • Added JukeBox.Settings.AllowLocalPlay (default true)
    • Can be used to remove the option to play songs locally.
  • Added a few more translation phrases.
  • Added settings to allow you to limit the amount of songs people can request to be added to the JukeBox.
    • Added JukeBox.Settings.UseAddSongCooldowns (default false)
      • Decides if there should be add song cooldowns.
    • Added JukeBox.Settings.AddSongCooldownsTime (default 30mins)
      • Determines how long the cooldown for adding a song is.
    • Added JukeBox.Settings.AddSongCooldownsTimeList (default list)
      • More advanced version of the above setting (usergroup specific)
    • Added JukeBox.Settings.AddSongCooldownsLimit (default 2)
      • Determines how many songs can be added before the cooldown starts.
    • Added JukeBox.Settings.AddSongCooldownsLimitList (default list)
      • More advanced version of the above setting (usergroup specific)
    • Added JukeBox.Settings.UseAddSongGroupRestrictions (default false)
      • Allows you to ban groups from adding songs.
    • Added JukeBox.Settings.AddSongGroupRestrctionWhiteList (default false)
      • Sets if the groups are whitelisted or blacklisted.
    • Added JukeBox.Settings.AddSongRestrictedGroups (default list)
      • The groups to be white/blacklisted.
  • Added back default superadmin checks to server code.
  • Experimental fix to favourites bug.

There have been changes to the shared_settings.lua and shared_language.lua files, so the file will have to be replaced. Make sure to carry over your settings/translations.

Version 1.6.6
Released 2 years ago

Another small update. This one is highly recommended, however. This addresses long standing issues with the 3 smallest resolutions.

  • Fixed game freezing indefinitely when opening the JukeBox menu on low resolutions.
  • Make the All Songs and Queue lists slightly easier to read on low resolutions.
  • Changed JukeBox.Settings.TTTNotRoundEnd a tad.
    • This now mutes music and continues playing rather than starting a new song.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.6.5
Released 2 years ago

Small update for a user-requested feature. No need to update if you don't need this feature.

  • Added JukeBox.Settings.TTTNotRoundEnd (default false)
    • Basically the opposite of end round music for TTT, plays music all the time except for at the end of the round.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.6.4
Released 2 years ago

SECURITY UPDATE It is highly recommended you update to this version to prevent large exploits.

  • Fixed stupidity of networking the player via net.WriteEntity in net messages.
  • Stored who's voted to skip a song on the server to prevent repetitive skipping by 1 player.
  • Made MySQL settings more secure.
  • Made JukeBox_TransferSongs only available once per map.
  • Added sort by letter to the All Songs tab to try and help with servers that were exceeding the maximum songs per list.

There have been changes to the mysql_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings. There have been no changes to the shared_settings.lua file.

Version 1.6.3
Released 2 years ago

This is a small update to push 2 user-requested features. There is no need to update if you don't need any of these features.

  • Added JukeBox.Settings.DisabledOverride (default false)
    • Allows you to make it so the JukeBox is off by default for everyone that joins.
  • Added JukeBox.Settings.CooldownBypassers (default empty list)
    • Allows you to specify ranks that can queue songs even if the song was recently played.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.6.2
Released 2 years ago
  • Fixed the new timer system to prevent the song queue from not advancing.
  • Replaced a few more instances of CurTime so that player cool-downs aren't affected by host_timescale.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.6.1
Released 2 years ago

Small update to add some requested features. (I'm still working on a few others)

  • Added support for Sandbox Simple Money System
  • Added a video quality option.
  • Changed the system to now ignore host_timescale and game speed.
  • Made the names/artists of songs shorten if they over-spill.
  • Added a few more language phrases.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.6.0
Released 2 years ago

I've been busy working on language support as well as a few other things. Language support is in beta as the Admin side of things hasn't been done yet. I'm currently working on moving songs up/down the queue as well as a few other things. Sorry for taking a while with this update, blame Rust.

  • Added language support (beta).
    • You can now create new languages that users can choose from using the Options menu of the JukeBox (read the README).
  • Added user blacklist/whitelist. This allows you to only allow certain ULX groups to be able to queue songs.
    • Added JukeBox.Settings.UseGroupRestrictions (default false).
    • Added JukeBox.Settings.GroupRestrctionWhiteList (default false).
    • Added JukeBox.Settings.RestrictedGroups.

If this update has issues, let me know using the ticket system or revert back to the old version, download here

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.5.5
Released 2 years ago
  • Added a "Refresh All" button to the All Songs list (10s delay between refreshes)
  • Changed the way checking for MySQL works to hopefully reduce/remove the chance of random MySQL errors for no reason.
  • Minor changes

Please note that I'm currently working on Language support as well as moving songs up/down the queue.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.5.4
Released 2 years ago
  • Fixed an issue that prevented queue'd songs from playing and potentially breaking PS2
  • Fixed an issue with IdlePlay that made it start playing over user requests

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.5.3
Released 2 years ago
  • Added who banned a player the the ban info page
  • Added JukeBox.Settings.ManagerOnlyMode (default false)
    • This allows only Managers to queue songs
  • Added JukeBox.Settings.RequestFasttrack (default false)
    • This allows people to skip the Manager approval system fro requests by paying a fee.
  • Added JukeBox.Settings.RequestFasttrackCost (default 250)
    • The amount of currency it costs to fast-track a request

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.5.2
Released 2 years ago
  • Added console command JukeBox_OpenMenu
  • Fixed songs playing even when the JukeBox is disabled
  • Fixed various song length checks ignoring the maximum song length

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.5.1
Released 2 years ago

YOU ONLY NEED TO UPDATE TO THIS VERSION IF YOU USE FASTDL RATHER THAN THE WORKSHOP

  • Added the new favourite icon to the download list

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.5.0
Released 2 years ago

Bug Fixes and changes

A lot of the features in this update aren't 100% polished as I needed to push the update for some vital fixes.

  • Changed the cookie system to use variables and only load cookies on initial join
    • This may fix a few issues some users were having where the play button didn't work
  • Added JukeBox.Settings.TTTOnlyRoundEnd (default false)
    • This makes the JukeBox act like \"end round music\" and plays the next queue'd song at the end of each round and ends when the next round starts.
  • Added a button under the Options tab to toggle the video player visibility
    • The video player can be dragged and resized. Positioning/scaling won't save over changelevel/rejoin
  • Added a feature for the JukeBox to play random songs while there's no songs in the queue
    • Added JukeBox.Settings.EnableIdlePlay (default false)
      • Decides if the JukeBox should play random songs while the queue is empty
    • Added JukeBox.Settings.IdlePlayCutoff (default false)
      • Decides if the currently playing idle-song should be cut off for newly queue'd songs
    • Added JukeBox.Settings.IdlePlayDelay (default 15s)
      • Decides how long the JukeBox should wait after the last queue'd song finishes to play an idle-song
    • Added JukeBox.Settings.IdlePlaySpacing (default 10s)
      • Decides how long the JukeBox should wait between idle-songs
    • Added a new tab under the ADMIN section called Idleplay
      • Allows you to decide which songs are considered for the JukeBox to idle-play. Tick nothing to have the JukeBox randomly select anything.
  • Added a favourites coloumn on the All Songs list and the ability to sort by favourites (new icon also added)
  • Added JukeBox.Settings.StopCommand
    • Allows a user to disable the JukeBox via chat
  • Added the chat command to open the JukeBox to the HUD
  • Changed the way the All Songs list is networked to prevent errors for servers with lots of songs
  • Added checks to hopefully prevent various errors
  • Fixed the font (I'm in the progress of re-aligning the text on buttons)
  • Changed the config file a little
  • A few other things

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.4.3
Released 2 years ago
  • Made MySQL and txt file saving separate, so switching to MySQL won't alter your text file saves (hopefully).
  • Added server console command JukeBox_TransferSongs.
    • Allows you to transfer all the songs from the txt file to the MySQL table (may lag server when used).

The mysql_settings.lua config file has been altered and thus will need replacing. Remember to carry over your settings.

Version 1.4.2
Released 2 years ago

The update finally comes out and I mess something up, then fail to fix it...

Smashes head against desk

Read the V1.4.0 Update notes for this update's features and fixes.

  • PROPERLY fixed song cooldowns being ignored after map-change/restart (broke to a last-minute change in what time system to use)

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.4.1
Released 2 years ago
  • Fixed song cooldowns being ignored after map-change/restart (broke to a last-minute change in what time system to use)

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.4.0
Released 2 years ago
  • Added a new "Bans" page under the "ADMIN" tab.
    • This allows Managers to ban people from queueing or requesting songs.
  • Added better alive/dead support for TTT.
  • Fixed an error when getting the length of a song on the ADD A SONG - Search page.
  • Fixed a bug where the Queue tab created errors when updating (maybe).
  • Fixed a bug where the JukeBox would add cooldowns to songs that didn't exist (didn't affect anything, but I felt like fixing it).
  • Made song cooldowns save across server changelevel and restart (and edited the way cooldowns are timed accordingly).
  • Added a clipping box around the HUD to prevent words overflowing the box.
  • Added basic MySQL Support.
    • Allows for the "All Songs" list to be shared across servers.
    • Added mysql_settings.lua file for MySQL settings.
    • Requires mysqloo.
  • Added JukeBox.Settings.PlayerCooldownsTimeList.
    • This allows for different user groups to be assigned different cooldown lengths when hitting the maximum songs queue'd limit.
  • Added JukeBox.Settings.PlayerCooldownsLimitList.
    • This allows for different user groups to be assigned different cooldown limits, allowing users to queue more or less songs.

If you want the web-code for the JukeBox, please message me on ScriptFodder here.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.3.6.2
Released 2 years ago
  • Fixed the broken config I uploaded with the last update.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.3.6.1
Released 2 years ago
  • Fixed an issue where buttons would overflow the navigation area, meaning they couldn't be seen or clicked (Added a scrollbar).

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.3.6
Released 2 years ago

USER REQUESTED UPDATE!

As it seems all is good in the PointShop2 update, this update adds a few new features. These may have bugs so feedback and bug reports are appreciated.

  • Added a new navigation heading, ADD A SONG.
    • Renamed old Add a song tab to Manual and moved it under the new heading.
    • Added Search tab under the new heading.
    • This allows a user to search for a song and will return the top 20 results. The user can then choose to add that song, where the JukeBox will automatically get the video ID and length and try to work out the name and artist. The user can then submit the song for approval like in the old Add a song tab.
    • Added JukeBox.Settings.SearchURL (with default URL)
  • Added JukeBox.Settings.PlayWhileAlive (default true)
    • This allows server owners to specify whether music should be played for players that are alive. Useful for round-based gamemodes like TTT where voice is most important. Please give me feedback on how well this works and if you'd like anything changed.
  • Fixed songs not considering their start time if they're started during playback.
  • Editing a song on the All Songs page now closes the popup once you finish editing/deleting.
  • The All Songs list now updates when a song is added/removed regardless of if the search box is empty.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.3.5
Released 3 years ago

POINTSHOP 2 SUPPORT!

This is a BETA as I don't own PS2 and don't know fully if the point-checking or taking works properly. Please let me know ASAP using a ticket to alert me of any issues or errors.

  • Added support for queueing songs with PointShop2 standard points.
    • Added JukeBox.Settings.UsePointshop2 (default false).
    • The amount of PointShop2 points required is defined using JukeBox.Settings.PointsCost, which also defines the PointShop1 cost depending on which you have chosen.
  • Fixed the colour scheme on the Manager "Add song straight to All Songs list" button.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.3.4 SETT
Released 3 years ago

Arrggg, I forgot to reset the settings file to default. Just changed the settings back to what they should be.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.3.4
Released 3 years ago

The Greater than an Hour update.

  • Changed all minute entry's to accept up to the maximum song length (doesn't cap out at 100 any more).
  • Songs over 1 hour long now display properly as hh:mm:ss
  • Get Song Length button now includes hours into the minuets, so it actually returns the correct time for songs over 1 hour.
  • Get Song Length button now creates a notification if the song length is longer than the settings allow, so it doesn't look like the process got the wrong time.
  • Added a timer to notifications in the menu so they automatically delete.
    • Added JukeBox.Settings.NotificationTimer (default 10secs).
  • Some other stuff that was changed weeks ago but never published.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.3.3
Released 3 years ago
  • Video Checker popup changes:
    • Added checks to timed events to prevent errors.
    • Added JS function that should stop the video playing before closing.
    • Removed the ability to click on items in the YouTube player, preventing sounds from continually playing.
    • Added the ability to open the YouTube links in Steam Overlay rather than the popup for further inspection.
  • Added JukeBox.Settings.DefaultEnabled (defualt true).

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.3.2 FIX
Released 3 years ago
  • Cheaty workaround to prevent the console spam produced from switching to DHTML from HTML panels.
    • This now means HTML errors from the JukeBox YouTube Player page won't display in console.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.3.2
Released 3 years ago
  • Fixed an issue with songs under 1 minute returning their value as minutes (PHP Code Update, should have fixed automatically now).
  • Added checks to (hopefully) fix a rare reported issue with Accepting songs causing errors with the notification system.
  • Added JS to set the volume of the JukeBox when the client loads (this should hopefully prevent people's volume's not being set).

Please note that from now on the default value of JukeBox.Settings.VoteSkipPercent will be 60% rather than 80%. Remember to change this if you don't want it like this.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.3.1
Released 3 years ago
  • Fixed a bug that allowed users to vote skip a song infinitely.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.3.0
Released 3 years ago

Well, we made it to 1.3.0 by accident. I guess there's enough in this update to warrant going to a new number.

  • Switched the Song Queue table format to a new one in order to accommodate new features.
  • Added a system to (hopefully) update your server's current Song Queue to the new format (Tested as best I could).
  • Managers can now see who queue'd a song and copy their SteamID.
  • Managers can now delete songs from the Queue.
  • Players can now only request X amount of songs in Y amount of time.
    • Added JukeBox.Settings.UsePlayerCooldowns (default true).
    • Added JukeBox.Settings.PlayerCooldownsTime (default 10mins).
    • Added JukeBox.Settings.PlayerCooldownsLimit (default 2).
  • Added a chat command to vote skip the current song.
    • Added JukeBox.Settings.SkipCommands (default "!skipsong" and "/skipsong").
  • Removed more Debug print statements.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.2.9 BETA
Released 3 years ago

Bugfixes

  • If you remove a song that's currently queue'd, it will be removed from the queue.
  • Vote skips max needed now displays as a whole number on the VGUI rather than a decimal.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.2.8 BETA
Released 3 years ago

Just changed the config back to default settings rather than the weird way I had it set up for testing.

There have changes to the shared_settings.lua file, but I've only reset the values to the default values.

Version 1.2.8 BETA
Released 3 years ago

Bug fixes and BETA feature requests update

  • Fixed a check for if the song doesn't exist but is queue'd.
  • Vote skips now reset when the next song plays.
  • Added JukeBox.Settings.AutoAcceptRequests (default false).
    • This allows users to have their requests instantly added to the All Songs list without approval.
  • Added JukeBox.Settings.MaxSongLength (default 30mins).
    • This can help prevent people submitting long mash-ups or compilations to the JukeBox.
  • The play/stop button now completely prevents playback and loading of videos.
  • Having the JukeBox disabled now hides the HUD element and most chat notifications.
    • A chat notification is displayed when a new song starts displaying the song and the chat command to start listening.
  • Vote skipping now requires you to be listening to the JukeBox
  • Vote Skipping is now a percentage of all players currently listening, not the entire server population. [BETA]

This update is in BETA because I can't currently test it with more than one person. Please report all bugs straight to be via a ticket and I'll rectify them ASAP.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.2.7
Released 3 years ago
  • Fixed accepting requests in the Manager Requests area (whoops)

I haven't been able to test this update as much as I would have liked due to dire internet issues. I've made getting this out a priority though as it really broke the JukeBox.

Please report all bugs as a ticket to me and I'll get it sorted ASAP.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.2.6
Released 3 years ago
  • Chat messages should now work on EVERY gamemode.
  • [REQUEST] Button added for Managers to add a song straight to the all songs list rather than it needing accepting as a request.
  • Removed debug print messages (I have no idea if these actually ended up in the last update but they're not in this one.)

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.2.5
Released 3 years ago
  • Added Get Video Length button on the Add a Song page to automatically get the length of a video.
  • Added requester info button to the Requests tab for Managers. Now you can check who submitted the request and grab their SteamID.
  • Moved the JukeBox volume and enabled systems over to cookies rather than ClientConVars. This should fix volume inconsistencies and fix a few issues.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.2.4
Released 3 years ago

Sorry for all the issues lately, webhost changes and stuff have broken everything!

So, I brought a new webspace that is currently only dedicated to the JukeBox and development tests.

  • Added JukeBox.Settings.CheckerURL
    • Uses the new webhost
  • Changed JukeBox.Settings.PlayerURL
    • Uses the new webhost

Sorry for all the issues yet again, I'm trying to keep them at bay, even with all the unpredictable changes.

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.2.3 WEBH
Released 3 years ago

Didn't actually change the webhost setting, fixed now. sorry...

Super sorry for the problems, I'm just as annoyed with it all. I'm trying to get everything back and proper ASAP!

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.2.3 WEBH
Released 3 years ago

Sorry for all this issues over the last day with adding songs and the player itself. My Web-host has been in the middle of a switch-over as the last host wasn't providing what we needed. After the move, the new one is even worse.

As I'm not sure how long it'll take for everything to be sorted, I've switched the player URL to the backup GitHub one and allowed song requests to be made without the URLs being checked.

I've also added checks to the song checking so that lua errors regarding info won't keep appearing.

Super sorry for the problems, I'm just as annoyed with it all. I'm trying to get everything back and proper ASAP!

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.2.3 FIX
Released 3 years ago

Whopps, last-minute variable name-change caused sorting to not work, fixed now.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.2.3
Released 3 years ago

I'll look into adding names and SteamIDs onto requests so managers can deal with spammers ect. tomorrow.

  • Sorting of the All Songs list and search results added.
    • By Song Name
    • By Artist
    • By Length
  • Support for songs to be queued using DarkRP cash.
    • Setting JukeBox.Settings.UseDarkRPCash added (disabled by default).
    • Setting JukeBox.Settings.DarkRPCashCost added (1000 by default).
  • Options area added.
    • Chat message options:
    • When a song starts playing (enabled by default).
    • When a song is skipped (disabled by default).
    • When someone votes to skip a song (enabled by default).
    • When a song is added to the queue (enabled by default).
    • [MANAGER] When a new request is submitted (disabled by default).

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.2.2
Released 3 years ago

Just to note: I'm working on a remade V2 version of the JukeBox. Therefore most of my development time will be on that. Please do continue to report bugs and I'll fix them ASAP. Feature requests will likely be bundled into the V2 update.

  • Added ability to make songs have a cooldown time (prevent them from playing repetitively)
    • Setting JukeBox.Settings.UseCooldowns added (enabled by default).
    • Setting JukeBox.Settings.CooldownAmount added (15 minutes by default)

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.2.1
Released 3 years ago
  • Fixed Video checking (again, bug left from V1.0.1).
  • Length column under the Queue tab now displays as mm:ss rather than just seconds.

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.2.0
Released 3 years ago
  • Option to assign a key to open the JukeBox.
    • Setting JukeBox.Settings.UseQuickKey added (enabled by default).
    • Setting JukeBox.Settings.QuickKey added (F7 by default).
  • Slight changes to the chat command.
  • Check for ply:IsAdmin() removed from Manager check - must be done as a ULX rank now.
  • Currently playing song will be skipped if it is deleted.
  • HUD Element added, there's now on-screen information
    • Setting JukeBox.Settings.HUDEnabled added (enabled by default).
    • Setting JukeBox.Settings.HUDAcross added for HUD positioning ("center" by default).
    • Setting JukeBox.Settings.HUDDown added for HUD positioning ("bottom" by default).
    • Colour JukeBox.Colours.HUDBase added (Color( 0, 0, 0, 200 ) by default).
    • Colour JukeBox.Colours.HUDHighlight added (Color( 230, 126, 34, 200 ) by default).
    • Colour JukeBox.Colours.HUDFont added (Color( 255, 255, 255, 220 ) by default).

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.1.0.1
Released 3 years ago
  • Left in a debug print statement (removed now).

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.1.0
Released 3 years ago
  • Manager's can Force Skip the current song.
  • Dropdown menu added to skip button for Managers to choose to vote or force skip.
  • You now can't queue the currently playing song.
  • Fixed Video checking (broke in V1.0.1 Update).
  • Small check to prevent errors if PointShop isn't installed but is enabled in config.
  • Fixed actually queueing songs with PointShop points (I don't think this was ever broken in any release).

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.0.2
Released 3 years ago
  • Updated server-side to actually use JukeBox.Settings.UsePointshop

There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.

Version 1.0.1
Released 3 years ago

Minor fixes regarding material downloads.

  • materials/JukeBox/ renamed to materials/jukebox/
  • Workshop download option available
  • Setting JukeBox.Settings.UseWorkshop added for Workshop downloads (enabled by default)

There have been changes to the shared_settings.lua file, so the file will have to be replaced. Make sure to carry over your settings.

Version 1.0
Released 3 years ago

Initial version.