<?php
return [
    'site' => [
        'name' => 'MuOnline Season X',
        'tagline' => 'Servidor PvP / No-PvP con eventos, resets y panel web',
        'timezone' => 'America/New_York',
        'base_url' => '',
        'facebook' => 'https://servers-infranet.com/',
        'discord' => 'https://discord.gg/gkU46EScVj',
        'youtube' => 'https://servers-infranet.com/',
        'forum' => 'https://servers-infranet.com/',
        'support_whatsapp' => '+1 727 503 72 51',
    ],
    'db' => [
        'driver' => 'sqlsrv',
        'host' => 'localhost',     // localhost , 127.0.0.1 o nombre de tu host
        'port' => '',              // por defecto 80 o 8080
        'database' => 'MuOnline', // nombre de tu base datos por defecto MuOnline
        'username' => 'sa',       // por defecto "sa"
        'password' => 'password',         // tu contraseña
        'trust_server_certificate' => true,
        'windows_auth' => true,
    ],
    'server_checks' => [
        'main_label' => 'GameServer',
        'services' => [
            ['label' => 'ConnectServer', 'host' => '127.0.0.1', 'port' => 44405],
            ['label' => 'GameServer', 'host' => '127.0.0.1', 'port' => 55901],
            ['label' => 'GameServerCS', 'host' => '127.0.0.1', 'port' => 55919],
        ],
    ],
    'security' => [
        'login_max_attempts' => 6,
        'login_window_seconds' => 900,
        'register_max_attempts' => 4,
        'register_window_seconds' => 3600,
        'panel_action_max_per_minute' => 25,
        'admin_action_max_per_minute' => 50,
        'max_upload_bytes' => 2097152,
    ],
    'performance' => [
        'site_cache_ttl' => 15,
        'stats_cache_ttl' => 60,
        'home_cache_ttl' => 45,
        'ranking_cache_ttl' => 45,
        'services_cache_ttl' => 10,
    ],
    'mu' => [
        'password_mode' => 'plain', // plain | md5
        'default_vip' => 0,
        'default_wcoin_c' => 0,
        'default_wcoin_p' => 0,
        'default_goblin' => 0,
        'ranking_limit' => 20,
        'tables' => [
            'accounts' => 'MEMB_INFO',
            'characters' => 'Character',
            'guilds' => 'Guild',
            'cashshop' => 'CashShopData',
            'gens' => 'Gens_Rank',
            'castle' => 'MuCastle_DATA',
        ],
        'columns' => [
            'account_id' => 'memb___id',
            'password' => 'memb__pwd',
            'name' => 'memb_name',
            'email' => 'mail_addr',
            'personal_id' => 'sno__numb',
            'block' => 'bloc_code',
            'ctl' => 'ctl1_code',
            'character_account_id' => 'AccountID',
        ],
        'registration' => [
            'enabled' => true,
            'create_cashshop_row' => true,
            'default_personal_id' => '11111111111111',
            'default_name_prefix' => 'Jugador ',
        ],
        'panel' => [
            'change_password' => true,
            'reset_web' => [
                'enabled' => true,
                'min_level' => 400,
                'set_level' => 1,
                'reward_points' => 500,
                'require_server_offline' => false,
            ],
            'clear_pk' => [
                'enabled' => true,
                'wcoin_cost' => 0,
                'goblin_cost' => 0,
            ],
        ],
        'downloads' => [
            'client' => '#',
            'launcher' => '#',
            'patch' => '#',
            'guide' => '#',
        ],
        'rates' => [
            'version' => 'Season 6 Episode 3',    // aqui modificas tu version 
            'experience' => 'x1000',             // modifica tu experiencia
            'master_experience' => 'x500',       // master experiencia
            'drop' => '40%',
            'reset' => 'Acumulativo',
            'master_reset' => 'Sí',
            'max_stats' => '65.000',
        ],
        'server_root_path' => 'C:/MuServer', // ruta base esperada del servidor en Windows
        'event_data_path' => 'C:/MuServer/Data/Event', // agenda de eventos leída directo desde el MuServer
        'events' => [
            ['name' => 'Blood Castle', 'time' => 'Cada 2 horas'],
            ['name' => 'Devil Square', 'time' => 'Cada 2 horas'],
            ['name' => 'Chaos Castle', 'time' => 'Cada 3 horas'],
            ['name' => 'Castle Siege', 'time' => 'Domingos 20:00'],
            ['name' => 'CryWolf', 'time' => 'Diario 18:00'],
            ['name' => 'Raklion', 'time' => 'Cada 4 horas'],
        ],
    ],
    'donations' => [
        'enabled' => true,
        'currency' => 'USD',
        'auto_credit' => true,
        'min_amount' => 3,
        'support_email' => 'soporte@muonline.local',
        'support_text' => 'Una vez enviado el pago, crea tu solicitud con referencia y cuenta para que el staff la valide.',
        'methods' => [
            [
                'key' => 'paypal',
                'label' => 'PayPal',
                'account' => 'tu-paypal@correo.com',
                'notes' => 'Envía el pago y pega el ID de transacción exacto en la solicitud.',
                'highlight' => 'Rápido',
            ],
            [
                'key' => 'binance',
                'label' => 'Binance / USDT',
                'account' => 'TU-WALLET-USDT-TRC20',
                'notes' => 'Usa la red indicada por tu staff y conserva el hash o referencia del envío.',
                'highlight' => 'Crypto',
            ],
            [
                'key' => 'zelle',
                'label' => 'Zelle',
                'account' => '+1 727 503 72 51',
                'notes' => 'Después del envío indica nombre del emisor y referencia.',
                'highlight' => 'USA',
            ],
        ],
        'packages' => [
            [
                'id' => 'stygian-1',
                'title' => 'Stygian I',
                'price' => 5,
                'currency' => 'USD',
                'featured' => false,
                'badge' => 'Starter',
                'description' => 'Paquete inicial para activar la economía web del personaje.',
                'wcoin_c' => 500,
                'wcoin_p' => 0,
                'goblin' => 50,
                'vip_level' => 0,
                'vip_days' => 0,
            ],
            [
                'id' => 'stygian-2',
                'title' => 'Stygian II',
                'price' => 10,
                'currency' => 'USD',
                'featured' => true,
                'badge' => 'Popular',
                'description' => 'Balance ideal entre monedas web y progreso premium.',
                'wcoin_c' => 1200,
                'wcoin_p' => 100,
                'goblin' => 120,
                'vip_level' => 1,
                'vip_days' => 15,
            ],
            [
                'id' => 'stygian-3',
                'title' => 'Stygian III',
                'price' => 20,
                'currency' => 'USD',
                'featured' => false,
                'badge' => 'VIP',
                'description' => 'Pack avanzado para jugadores que quieren empujar fuerte su cuenta.',
                'wcoin_c' => 2600,
                'wcoin_p' => 250,
                'goblin' => 300,
                'vip_level' => 1,
                'vip_days' => 30,
            ],
        ],
    ],

];
