B&T Music Producer offers a truly immersive experience, allowing players to express their creativity and engage with the server community through music. With features that enable players to create, upload, and monetize their music, as well as customizable options for server owners, this script is a must-have for enhancing the dynamic of any FiveM server.
Config
Config = {}
Config.Framework = "" -- ESX "esx", QB "qb"
Config.Inventory = "" -- Ox Inventory "ox", QB "qb", Quasar "qs", Tgiann "tgiann"
Config.Notification = "" -- Ox Lib "ox", ESX "esx", QB "qb"
Config.Distance = 2.0 -- How close they have to be to see the Text UI
Config.ThirdEye = false
Config.Target = "" -- OX Target "ox_target", QB Target "qb-target"
Config.SocietyPayout = '' -- ESX "esx", QB "qb", OKOK "okok"
Config.AdminGroup = 'admin'
Config.RequireAdminAcceptance = true -- Requires admins to accept a song before it is officially posted
Config.OpenProducerCommand = 'openproducer'
Config.CdItemName = "cd"
Config.BlankCDItemName = "blank_cd"
Config.RequireBlankCD = false
Config.Views = 'ingame' -- 'ingame' for In Game views | 'youtube' for Youtube views | Youtube views requires a Youtube API Key
Config.YoutubeAPIKey = '' -- Only necessary if using youtube views | https://www.youtube.com/watch?v=LLAZUTbc97I
Config.ViewUpdateRate = 60 -- How often you want the server to update views to client in minutes
Config.Studios = {
['unemployed'] = { -- This is the job name, you can either use this job or create your own and change this
label = 'Music Producer Studio',
locations = {
{
coords = vector3(120.7261, -1281.1857, 29.4805), -- Coordinates for the studio location
heading = 270.0, -- Heading direction for the studio
},
-- {
-- coords = vector3(-817.8202, -720.3335, 32.25), -- Coordinates for the studio location
-- heading = 270.0, -- Heading direction for the studio
-- }
}
},
-- Add more studios and their locations as needed
}
Config.Payment = { -- Payouts will be deposited in job society
PerViewPay = 1, -- Amount of money paid per view
Schedule = {
{ day = 6, time = "15:00" }, -- Every Saturday at 3:00 PM
-- Add more schedules as needed
}
}
-- Days: Sunday = 1 | Monday = 2 | Tuesday = 3 | .... | Saturday = 6
-- Translations
Config.Strings = {
cant_carry = 'Cannot carry more items',
missing_cd = 'Missing Item Empty CD',
no_label = 'No label exists with the name ',
invalid_song = 'Invalid CD or no song link found',
artist = "Artist:",
song = "Song:",
link = "Link:"
}
Links:
- Preview: Click Here
- Tebex: Click Here
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 2500 |
| Requirements | Requirements ESX or QB, XSound & Ox Lib |
| Support | Yes |
