forked from Simnation/Main
36 lines
1.1 KiB
Lua
36 lines
1.1 KiB
Lua
|
Config = {}
|
||
|
|
||
|
-- Update Einstellungen
|
||
|
Config.CheckInterval = 60 * 60 * 1000 -- Prüfe alle 60 Minuten (in ms)
|
||
|
Config.AutoUpdate = false -- Automatisches Update (false = nur benachrichtigen)
|
||
|
Config.RequiredArtifact = 18214 -- Gewünschte FX Version
|
||
|
Config.BackupEnabled = true -- Backup vor Update erstellen
|
||
|
|
||
|
-- Berechtigungen
|
||
|
Config.AllowedGroups = {
|
||
|
'god',
|
||
|
'admin',
|
||
|
'superadmin'
|
||
|
}
|
||
|
|
||
|
-- Pfade (relativ zum Server-Root)
|
||
|
Config.ServerPath = './' -- Server Hauptordner
|
||
|
Config.BackupPath = './backups/' -- Backup Ordner
|
||
|
|
||
|
-- Benachrichtigungen
|
||
|
Config.Notifications = {
|
||
|
updateAvailable = 'Neues FXServer Update verfügbar! Artifact: %s',
|
||
|
updateStarted = 'FXServer Update wird gestartet...',
|
||
|
updateCompleted = 'FXServer Update abgeschlossen! Server wird neu gestartet.',
|
||
|
updateFailed = 'FXServer Update fehlgeschlagen: %s',
|
||
|
noPermission = 'Du hast keine Berechtigung für diesen Befehl!',
|
||
|
currentVersion = 'Aktuelle FXServer Version: %s'
|
||
|
}
|
||
|
|
||
|
-- Discord Webhook (optional)
|
||
|
Config.DiscordWebhook = {
|
||
|
enabled = false,
|
||
|
url = '', -- Deine Discord Webhook URL
|
||
|
botName = 'FXServer Updater'
|
||
|
}
|