70 lines
		
	
	
	
		
			1.8 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			70 lines
		
	
	
	
		
			1.8 KiB
		
	
	
	
		
			Lua
		
	
	
	
	
	
| Config = {}
 | |
| 
 | |
| -- Allgemeine Einstellungen
 | |
| Config.UseJobRestriction = false -- true = nur bestimmte Jobs können das Script nutzen
 | |
| Config.AllowedJobs = {
 | |
|     'dj',
 | |
|     'nightclub',
 | |
|     'admin'
 | |
| }
 | |
| 
 | |
| Config.OpenMenuKey = 'F7' -- Taste zum Öffnen des Menüs
 | |
| Config.MaxVolume = 100
 | |
| Config.DefaultVolume = 50
 | |
| 
 | |
| -- DJ Booth Locations
 | |
| Config.DJBooths = {
 | |
|     ["Vanilla Unicorn"] = {
 | |
|         coords = vector3(120.13, -1281.72, 29.48),
 | |
|         range = 30.0,
 | |
|         maxRange = 50.0
 | |
|     },
 | |
|     ["Bahama Mamas"] = {
 | |
|         coords = vector3(-1387.08, -618.52, 30.82),
 | |
|         range = 25.0,
 | |
|         maxRange = 45.0
 | |
|     },
 | |
|     ["Diamond Casino"] = {
 | |
|         coords = vector3(1549.78, 252.44, -46.01),
 | |
|         range = 35.0,
 | |
|         maxRange = 60.0
 | |
|     },
 | |
|     ["Galaxy Nightclub"] = {
 | |
|         coords = vector3(-1605.78, -3012.47, -77.79),
 | |
|         range = 40.0,
 | |
|         maxRange = 60.0
 | |
|     },
 | |
|     ["Tequi-la-la"] = {
 | |
|         coords = vector3(-564.14, 275.35, 83.02),
 | |
|         range = 25.0,
 | |
|         maxRange = 40.0
 | |
|     }
 | |
| }
 | |
| 
 | |
| -- Standard Playlists
 | |
| Config.DefaultPlaylists = {
 | |
|     {
 | |
|         name = "Party Hits",
 | |
|         songs = {
 | |
|             {title = "Daft Punk - One More Time", url = "https://www.youtube.com/watch?v=FGBhQbmPwH8"},
 | |
|             {title = "Avicii - Levels", url = "https://www.youtube.com/watch?v=_ovdm2yX4MA"}
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         name = "Chill Vibes",
 | |
|         songs = {
 | |
|             {title = "Kygo - Firestone", url = "https://www.youtube.com/watch?v=9Sc-ir2UwGU"},
 | |
|             {title = "Kygo - Stole The Show", url = "https://www.youtube.com/watch?v=BgfcToAjfdc"}
 | |
|         }
 | |
|     }
 | |
| }
 | |
| 
 | |
| -- Distanz-basierte Lautstärke
 | |
| Config.DistanceVolume = {
 | |
|     enabled = true,
 | |
|     updateInterval = 1000, -- Wie oft die Lautstärke aktualisiert wird (ms)
 | |
|     fadeTime = 1000 -- Wie lange der Fade-Effekt dauert (ms)
 | |
| }
 | |
| 
 | |
| -- Debug-Modus
 | |
| Config.Debug = false
 | 
