forked from Simnation/Main
update
This commit is contained in:
parent
f866ac2379
commit
d97b416688
4 changed files with 327 additions and 0 deletions
35
resources/[Developer]/[Max]/Fx_autoupdate/config.lua
Normal file
35
resources/[Developer]/[Max]/Fx_autoupdate/config.lua
Normal file
|
@ -0,0 +1,35 @@
|
|||
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'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue