This update allows Managers to bulk-add videos using YouTube Playlists. Currently, this supports entering a Playlist ID, which will then be used to auto-generate a list of songs to add to the JukeBox. These can then be edited once added to the JukeBox. This currently only supports the first 200 songs in a playlist to prevent freezing.
- Added new admin tab, Add Playlist
- This allows you to add up to 200 songs from a given YouTube Playlist.
- Added setting JukeBox.Settings.DisableAddPlaylistTab (default false)
- This setting allows you to disable the Add Playlist tab if you're worried Managers may abuse this feature.
- Added setting JukeBox.Settings.PlaylistURL (default URL)
- Added 6 new language phrases for the new tab, prefixed with PLAYLIST.
These new features haven't been tested with a full server. It should be fine, but you may want to consider only using the Add Playlist feature while the server isn't busy or mid-round.
There have been changes to the shared_settings.lua and shared_language.lua files, so the files will have to be replaced. Make sure to carry over your settings.
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.
- Added JukeBox.Settings.UseJobRestrictions
- Added JukeBox.Settings.JobRestrictionWhitelist
- Added JukeBox.Settings.RestrictedJobs
These settings work exactly the same as the group restrictions, but apply to DarkRP jobs. There is also a new language phrase, #ALLSONGS_JobBanned, which is for alerting users when they cannot request a song.
There have been changes to the shared_settings.lua and shared_language.lua files, so the files will have to be replaced. Make sure to carry over your settings.
Small fixes to the IdlePlay system.
- Fixed saving the IdlePlay list (actually retrieves the songs from file rather than ignoring them)
- Slight modification to IdlePlay (will now only use songs checked on the list if any are checked, regardless of song cooldowns)
There have been no changes to the shared_settings.lua file, so you don't need to overwrite your version of the file.
Sorry for the issues with video playback. It's not something I can fix, as it's an issue with Garry's Mod.
I'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.
- Added Chromium popup for users who are having playback issues.
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.
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.
- 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.
- 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.
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.
- 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.
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.
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.
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.