forked from Simnation/Main
ed
This commit is contained in:
parent
a3ab70ec94
commit
f6b296d053
4 changed files with 1055 additions and 936 deletions
|
@ -1,72 +1,70 @@
|
|||
Config = {}
|
||||
|
||||
-- Allgemeine Einstellungen
|
||||
Config.UseJobRestriction = true
|
||||
Config.UseJobRestriction = true -- true = nur bestimmte Jobs können das Script nutzen
|
||||
Config.AllowedJobs = {
|
||||
'dj',
|
||||
'nightclub',
|
||||
'admin'
|
||||
}
|
||||
|
||||
Config.OpenMenuKey = 'F7'
|
||||
Config.OpenMenuKey = 'F7' -- Taste zum Öffnen des Menüs
|
||||
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",
|
||||
["Vanilla Unicorn"] = {
|
||||
coords = vector3(120.13, -1281.72, 29.48),
|
||||
range = 50.0,
|
||||
maxRange = 100.0
|
||||
range = 30.0,
|
||||
maxRange = 50.0
|
||||
},
|
||||
{
|
||||
name = "Bahama Mamas",
|
||||
["Bahama Mamas"] = {
|
||||
coords = vector3(-1387.08, -618.52, 30.82),
|
||||
range = 50.0,
|
||||
maxRange = 100.0
|
||||
range = 25.0,
|
||||
maxRange = 45.0
|
||||
},
|
||||
{
|
||||
name = "Diamond Casino",
|
||||
["Diamond Casino"] = {
|
||||
coords = vector3(1549.78, 252.44, -46.01),
|
||||
range = 60.0,
|
||||
maxRange = 120.0
|
||||
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 mit YouTube Links
|
||||
-- Standard Playlists
|
||||
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"}
|
||||
{title = "Avicii - Levels", url = "https://www.youtube.com/watch?v=_ovdm2yX4MA"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Chill Music",
|
||||
name = "Chill Vibes",
|
||||
songs = {
|
||||
{title = "Kygo - Firestone", url = "https://www.youtube.com/watch?v=9Sc-ir2UwGU"},
|
||||
{title = "Avicii - Levels", url = "https://www.youtube.com/watch?v=_ovdm2yX4MA"}
|
||||
{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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue