1
0
Fork 0
forked from Simnation/Main
Main/resources/[Developer]/[Max]/Fx_autoupdate/config.lua

36 lines
1.1 KiB
Lua
Raw Normal View History

2025-08-07 23:58:44 +02:00
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'
}