ed
This commit is contained in:
		
							parent
							
								
									0e29315dd1
								
							
						
					
					
						commit
						e0a3b21c61
					
				
					 7 changed files with 1463 additions and 0 deletions
				
			
		
							
								
								
									
										72
									
								
								resources/[tools]/nordi_dj/config.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										72
									
								
								resources/[tools]/nordi_dj/config.lua
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,72 @@
 | 
			
		|||
Config = {}
 | 
			
		||||
 | 
			
		||||
-- Allgemeine Einstellungen
 | 
			
		||||
Config.UseJobRestriction = true
 | 
			
		||||
Config.AllowedJobs = {
 | 
			
		||||
    'dj',
 | 
			
		||||
    'nightclub',
 | 
			
		||||
    'admin'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Config.OpenMenuKey = 'F7'
 | 
			
		||||
Config.MaxVolume = 100
 | 
			
		||||
Config.DefaultVolume = 50
 | 
			
		||||
 | 
			
		||||
-- YouTube API Einstellungen
 | 
			
		||||
Config.YouTubeAPI = {
 | 
			
		||||
    enabled = true,
 | 
			
		||||
    -- Du kannst eine kostenlose API von https://rapidapi.com/ytjar/api/youtube-mp36 bekommen
 | 
			
		||||
    -- Oder eine andere YouTube to MP3 API verwenden
 | 
			
		||||
    apiUrl = "https://youtube-mp36.p.rapidapi.com/dl",
 | 
			
		||||
    apiKey = "DEIN_API_KEY_HIER", -- Ersetze mit deinem API Key
 | 
			
		||||
    headers = {
 | 
			
		||||
        ["X-RapidAPI-Key"] = "DEIN_API_KEY_HIER",
 | 
			
		||||
        ["X-RapidAPI-Host"] = "youtube-mp36.p.rapidapi.com"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
-- Alternative: Lokaler YouTube-DL Server (empfohlen für bessere Performance)
 | 
			
		||||
Config.LocalYouTubeConverter = {
 | 
			
		||||
    enabled = false, -- Setze auf true wenn du einen lokalen Converter verwendest
 | 
			
		||||
    serverUrl = "http://localhost:3000/convert" -- URL zu deinem lokalen Converter
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
-- DJ Booth Locations
 | 
			
		||||
Config.DJBooths = {
 | 
			
		||||
    {
 | 
			
		||||
        name = "Vanilla Unicorn",
 | 
			
		||||
        coords = vector3(120.13, -1281.72, 29.48),
 | 
			
		||||
        range = 50.0,
 | 
			
		||||
        maxRange = 100.0
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
        name = "Bahama Mamas",
 | 
			
		||||
        coords = vector3(-1387.08, -618.52, 30.82),
 | 
			
		||||
        range = 50.0,
 | 
			
		||||
        maxRange = 100.0
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
        name = "Diamond Casino",
 | 
			
		||||
        coords = vector3(1549.78, 252.44, -46.01),
 | 
			
		||||
        range = 60.0,
 | 
			
		||||
        maxRange = 120.0
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
-- Standard Playlists mit YouTube Links
 | 
			
		||||
Config.DefaultPlaylists = {
 | 
			
		||||
    {
 | 
			
		||||
        name = "Party Hits",
 | 
			
		||||
        songs = {
 | 
			
		||||
            {title = "Daft Punk - One More Time", url = "https://www.youtube.com/watch?v=FGBhQbmPwH8"},
 | 
			
		||||
            {title = "Calvin Harris - Feel So Close", url = "https://www.youtube.com/watch?v=dGghkjpNCQ8"}
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
        name = "Chill Music",
 | 
			
		||||
        songs = {
 | 
			
		||||
            {title = "Kygo - Firestone", url = "https://www.youtube.com/watch?v=9Sc-ir2UwGU"},
 | 
			
		||||
            {title = "Avicii - Levels", url = "https://www.youtube.com/watch?v=_ovdm2yX4MA"}
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue