<?php
// Copy this file to config.php and fill in your values. config.php is never committed to git.

return [
    'app_name'  => 'NERGmud Two',

    // Which world file in world/ to load (without .php).
    'world'     => 'hollow_hill',

    // URL prefix the game is served under:
    //   '/nergmud'  -> /srv/http/nergmud, played at https://nergtwo.com/nergmud/
    //   ''          -> its own domain or subdomain pointed at the public/ folder
    'base_path' => '/nergmud',

    'db' => [
        'dsn'  => 'mysql:host=localhost;dbname=nergmud;charset=utf8mb4',
        'user' => 'nergmud',
        'pass' => 'CHANGE_ME',
    ],

    // ---- Search engines
    // Full address of the site, used in the sitemap and link previews (no trailing slash).
    'site_url' => 'https://nergtwo.com',
    // The short pitch shown under your link in Google and Bing results.
    'description' => 'A free, shared text adventure in your browser. Explore Hollowmere, solve puzzles and help other explorers find the door under the hill.',
    // Google Search Console > Add property > URL prefix > "HTML tag": paste only the content="…" value.
    'google_site_verification' => '',
    // Bing Webmaster Tools > Add site > "HTML Meta Tag": paste only the content="…" value.
    'bing_site_verification' => '',

    // Shows PHP errors. Turn off once other people are playing.
    'dev_mode' => true,

    // true when players reach the game over https (Cloudflare). Set false only
    // while testing over plain http on your own network, or logins won't stick.
    'secure_cookies' => true,

    // Behind a Cloudflare tunnel, read the real player IP from Cloudflare's header.
    'trust_cloudflare_ip' => true,
];
