Admin Report

Clearing the Report Opened for Admins Monitoring the Player Going to the Player When it Fixes Discord Webhook report options for players

// Some code
-- Language
Config.Locale = {
    ['tr'] = {
        ['report_menu_title'] = 'REPORT OLUŞTUR',
        ['admin_menu_title'] = 'ADMİN PANELİ - REPORTLAR',
        ['select_reason'] = 'Sebep Seçin',
        ['reason_hack'] = 'Hile Kullanımı',
        ['reason_bug'] = 'Bug/Hata',
        ['reason_abuse'] = 'Kötüye Kullanım',
        ['reason_other'] = 'Diğer',
        ['description_placeholder'] = 'Detaylı açıklama yazın...',
        ['submit_button'] = 'Gönder',
        ['close_button'] = 'Kapat',
        ['spectate_button'] = 'İZLE',
        ['stop_spectate_button'] = 'İZLEMEYİ BİTİR',
        ['goto_button'] = 'GİT',
        ['fix_button'] = 'FİX',
        ['no_reports'] = 'Henüz hiç report bulunmuyor!',
        ['no_reports_sub'] = 'Yeni raporlar geldiğinde burada görüntülenecektir.',
        ['report_sent'] = 'Raporunuz başarıyla gönderildi!',
        ['report_fixed'] = 'Report fixlendi!',
        ['no_permission'] = 'Bu işlem için yetkiniz yok!',
        ['player_not_found'] = 'Oyuncu bulunamadı!',
        ['spectate_started'] = 'İzleme modu başlatıldı (ESC ile çıkabilirsiniz)',
        ['spectate_stopped'] = 'İzleme modu kapatıldı',
        ['fill_all_fields'] = 'Lütfen tüm alanları doldurun!',
        ['screenshot_failed'] = 'Screenshot alınamadı',
        ['cant_spectate_self'] = 'Kendinizi izleyemezsiniz!',
        ['report_fixed_log'] = 'Report Fixlendi',
        ['report_id'] = 'Report ID: ',
        ['player'] = 'Oyuncu',
        ['admin'] = 'Admin',
        ['report_system'] = 'Report Sistemi',
        ['report_fixed_notify'] = '%s ID\'li report fixlendi!',
        ['error_occurred'] = 'Bir hata oluştu!',
        ['report_cooldown'] = 'Yeni bir rapor göndermek için %s beklemelisiniz!',
        ['teleported_to_player'] = 'Oyuncunun yanına ışınlandınız!',
        ['new_report_notify'] = 'Yeni bir report geldi! ID: %s'
    },
    ['en'] = {
        ['report_menu_title'] = 'CREATE REPORT',
        ['admin_menu_title'] = 'ADMIN PANEL - REPORTS',
        ['select_reason'] = 'Select Reason',
        ['reason_hack'] = 'Cheating',
        ['reason_bug'] = 'Bug/Error',
        ['reason_abuse'] = 'Abuse',
        ['reason_other'] = 'Other',
        ['description_placeholder'] = 'Write detailed description...',
        ['submit_button'] = 'Submit',
        ['close_button'] = 'Close',
        ['spectate_button'] = 'SPECTATE',
        ['stop_spectate_button'] = 'STOP SPECTATE',
        ['goto_button'] = 'GOTO',
        ['fix_button'] = 'FIX',
        ['no_reports'] = 'No reports yet!',
        ['no_reports_sub'] = 'New reports will appear here.',
        ['report_sent'] = 'Your report has been sent successfully!',
        ['report_fixed'] = 'Report has been fixed!',
        ['no_permission'] = 'You don\'t have permission for this!',
        ['player_not_found'] = 'Player not found!',
        ['spectate_started'] = 'Spectate mode started (Press ESC to exit)',
        ['spectate_stopped'] = 'Spectate mode stopped',
        ['fill_all_fields'] = 'Please fill all fields!',
        ['screenshot_failed'] = 'Screenshot failed',
        ['cant_spectate_self'] = 'You cannot spectate yourself!',
        ['report_fixed_log'] = 'Report Fixed',
        ['report_id'] = 'Report ID: ',
        ['player'] = 'Player',
        ['admin'] = 'Admin',
        ['report_system'] = 'Report System',
        ['report_fixed_notify'] = 'Report with ID %s has been fixed!',
        ['error_occurred'] = 'An error occurred!',
        ['report_cooldown'] = 'You need to wait %s to send a new report!',
        ['teleported_to_player'] = 'Teleported to player!',
        ['new_report_notify'] = 'New report received! ID: %s'
    }
}
// Some code
-- Webhook System
ServerConfig.Webhooks = {
    Reports = {
        New = 'https://discord.com/api/.../.../...',      
        Fixed = 'https://discord.com/api/.../.../...',
        Screenshot = 'https://discord.com/api/.../.../...'
    },
    
    Messages = {
        Username = 'Beqeend Report',  -- Webhook kullanıcı adı değiştirildi
        Avatar = 'AVATAR_URL',    -- Webhook avatar URL (isteğe bağlı)
        Color = {
            New = 16711680,       -- Yeni report renk kodu (Kırmızı)
            Fixed = 5763719,      -- Fix'lenen report renk kodu (Yeşil)
            Screenshot = 3447003   -- Screenshot renk kodu (Mavi)
        }
    }
}
// Some code

-- Config System

Config.DefaultLanguage = 'tr' -- 'en'
-- sql i otomatik Oluşuturuyor

Config.AdminDiscordIDs = {
    ['discord:1239306741150384208'] = true,  -- Beqeend
    ['discord:722412469733294150'] = true,  -- ChenTR
}

Config.Permissions = {
    ['admin'] = true,
    ['god'] = true,
    ['mod'] = true
}

Config.Commands = {
    openReport = 'rapor',        -- Report menüsünü açma komutu
    adminReport = 'adminrapor',    -- Admin report menüsünü açma komutu
}

Config.Settings = {
    Cooldown = {
        Enabled = true,           -- Cooldown sistemi aktif/pasif
        Time = 300,                -- Saniye cinsinden bekleme süresi (varsayılan: 5 dakika)
        BypassGroups = {           -- Bu gruplar cooldown'u atlayabilir
            ['god'] = true,
            ['admin'] = true
        }
    },
    Screenshot = {
        Enabled = true,             -- Screenshot sistemi aktif/pasif
        WebhookURL = ''
    }
}

Last updated