Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- -- "esx" or "qb"
- Config.Framework = "qb"
- -- Enables the rewards feature for stations, requires esx_society or qb-mangement
- Config.Society = false
- -- How often should the station be paid for their listener count? (In seconds)
- Config.PayInterval = 60
- -- When should payment be capped off for amount of listeners (in listeners)
- Config.MaxListenerPay = 10
- -- Allow players to use a portable radio? (Requires ESX or QB item)
- Config.PortablePlayer = true
- Config.ItemName = "mp3"
- -- Allow players to use the radio in their vehicle?
- Config.VehicleRadio = true
- -- The maximum length of a song before it's auto skipped
- Config.MaxLength = 300
- -- The button used to open a DJ deck
- Config.DeckButton = 38 -- Default: E
- -- Volume command name
- Config.VolumeCommand = "stationvol"
- -- The higher the number, the higher priority it has in playing a station
- -- For example, the player will hear the station that nearby speakers are playing, regardless of their car radio or MP3
- Config.Priority = {
- ["none"] = 0,
- ["mp3"] = 1,
- ["car"] = 2,
- ["speaker"] = 3,
- ["deck"] = 4
- }
- -- Read the docs for help setting up new stations
- -- https://docs.palscripts.xyz/radio-dj-job/configuration/create-radio-station
- Config.Stations = {
- -- By default, this uses Gabz Triad Records MLO
- ["triads"] = {
- name = "Triad Records",
- job = "radiodj",
- replace = "RADIO_01_CLASS_ROCK",
- deckLocation = vector3(-818.51, -719.04, 32.34),
- rewards = {
- societyAccount = "triads",
- payPerListener = 50,
- }
- },
- -- By default, this uses Gabz MRPD as a deck location
- ["government"] = {
- name = "Totally Not Propaganda",
- job = "police",
- replace = "RADIO_02_POP",
- deckLocation = vector3(442.24, -998.74, 34.97)
- },
- }
- -- Permanent speakers that will play music in a proxmity
- Config.Speakers = {
- -- By default, this uses Gabz Triad Records MLO
- ["triadsbar"] = {
- station = "triads",
- speakerLocation = vector3(-838.13, -719.94, 28.28),
- radius = 10
- },
- ["vanillaunicorn"] = {
- station = "triads",
- speakerLocation = vector3(109.62, -1289.04, 29.25),
- radius = 20
- }
- }
- -- Shouldn't really enable this unless you're told 👁🗨
- -- (Please, defiently, don't this enable this on a live server)
- Config.Debug = false
- Config.DebugStation = "triads"
Advertisement
Add Comment
Please, Sign In to add comment