background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
التصنيفات

Midnight Ghost Hunt Server Setup Guide

midnight-ghost-hunt setup config prop-hunt 0 وجدوا هذا المقال مفيداً

This guide covers how to set up your Midnight Ghost Hunt dedicated server on Legion Hosting, configure startup variables, edit Engine.ini and Game.ini settings, set up map rotation, and connect to your server. For admin commands and player management, see Midnight Ghost Hunt Admin Commands.

About Midnight Ghost Hunt: Midnight Ghost Hunt is an asymmetric multiplayer prop hunt game built on Unreal Engine 4. Ghosts hide by possessing objects while hunters search for them. When midnight strikes, the ghosts become the hunters. Dedicated servers allow persistent lobbies with customised game settings.

1. First Start

  1. Log in to GPanel and select your Midnight Ghost Hunt server.
  2. Go to the Startup tab and review the available variables (see the table below).
  3. Set a GAME_NAME to identify your server in the browser.
  4. Optionally set a PASSWORD to restrict access.
  5. Return to the Console tab and click Start.
  6. Wait for the console to confirm the server is ready. The first start generates default configuration files.
First start: The server will generate default INI configuration files on the first boot. Allow 1-2 minutes for initialisation to complete before connecting.

2. GPanel Startup Variables

The following variables are available in the GPanel Startup tab. These are passed to the server executable on each start.

Variable Required Description
GAME_NAME No The name displayed in the server browser. Default is Dedicated_Server_01.
PASSWORD No Optional password required to join the server. Leave blank for a public server.
MAP No The starting map. Options: Mansion, Asylum, Theatre, Museum, Ghost Ship, Carnival, School, Graveyard, Doll Factory, Mall. Default is Asylum.
GAME_MODE No Game mode. Options: 4v4 Hunt, 6v6 Hunt, Darkness. Default is 4v4 Hunt.
REGION No Server region. Options: North America, South America, Western Europe, Northern Europe, Eastern Europe, Middle East, Asia, Africa, Oceania.
B_DIFFICULTY No Bot difficulty. Options: Easy, Normal, Hard, Auto. Default is Auto.
ADDITIONAL_ARGS No Extra launch arguments (e.g. -NoBots -NoAutobalance).
BEACON_PORT No Beacon port. Default is 7787. Managed by GPanel.

3. Server Configuration (INI Files)

Midnight Ghost Hunt uses Unreal Engine 4 INI files for detailed server configuration. Stop your server before editing these files.

File Locations

MidnightGhostHunt/Saved/Config/LinuxServer/Engine.ini
MidnightGhostHunt/Saved/Config/LinuxServer/Game.ini

Open these files using the Files tab in GPanel or connect via SFTP. If the files do not exist, start and stop the server once to generate them.

Always stop your server before editing INI files. The server may overwrite changes on shutdown if it is running while you edit.

Engine.ini -- Key Settings

Section Setting Description
[OnlineSubsystemSteam] GameServerQueryPort Query port for the Steam server browser. GPanel sets this automatically.
[/Script/Engine.GameSession] MaxPlayers Maximum number of players. Default is 8.

Game.ini -- Key Settings

Section Setting Description
[/Script/MGH.MGHGameMode] RoundTimeLimit Duration of each round in seconds before midnight triggers. Default is 300 (5 minutes).
[/Script/MGH.MGHGameMode] MidnightDuration Duration of the midnight phase in seconds. Default is 120 (2 minutes).
[/Script/MGH.MGHGameMode] WarmupTime Time before the round begins in seconds. Default is 15.
[/Script/MGH.MGHGameMode] bAutoBalanceTeams Automatically balance teams between rounds. Default is True.
[/Script/MGH.MGHGameMode] NumRounds Number of rounds per match. Default is 4.

Example Game.ini

[/Script/MGH.MGHGameMode]
RoundTimeLimit=300
MidnightDuration=120
WarmupTime=15
bAutoBalanceTeams=True
NumRounds=4

4. Map Rotation

Midnight Ghost Hunt supports configuring which maps are included in the rotation. The map list is defined in Game.ini:

[/Script/MGH.MGHGameMode]
+GameMapRotation=/Game/Maps/Museum
+GameMapRotation=/Game/Maps/Mansion
+GameMapRotation=/Game/Maps/School
+GameMapRotation=/Game/Maps/GhostShip
+GameMapRotation=/Game/Maps/Cabin
+GameMapRotation=/Game/Maps/Asylum
+GameMapRotation=/Game/Maps/Diner

Remove or comment out maps you do not want in the rotation. The server cycles through the listed maps in order after each match.

Tip: Check the game's official documentation or update notes for the latest available maps. New maps may be added with game updates.

5. Round and Game Settings

Fine-tune the gameplay experience by adjusting these round settings in Game.ini:

Setting Default Description
RoundTimeLimit 300 Pre-midnight phase duration (seconds). Shorter times pressure hunters; longer times favour ghosts.
MidnightDuration 120 Post-midnight phase where ghosts hunt the hunters (seconds).
NumRounds 4 Rounds per match. Teams swap sides each round.
WarmupTime 15 Countdown before each round starts (seconds).
bFriendlyFire False Allow team damage. Enabling this adds an extra layer of caution for hunters.

6. How to Connect

Option A -- In-Game Server Browser

  1. Launch Midnight Ghost Hunt via Steam.
  2. From the main menu, select Play and then Server Browser.
  3. Search for your server by name or browse the list.
  4. Select your server and click Join. Enter the password if prompted.

Option B -- Direct Connect via Steam

  1. Open the Steam client.
  2. Click View in the top menu, then Game Servers.
  3. Click Favourites, then Add a server.
  4. Enter your server IP and port from GPanel's Network tab:
    <your-server-ip>:<port>
  5. Click Add this address to favourites, then select the server and click Connect.
Need help finding your server's IP and port? See How to Find Your Server IP and Port. Ports are randomly assigned unless you have a private IP.

Troubleshooting

  • Server not appearing in browser: Verify the server is fully started in GPanel. The Steam server browser may take 2-3 minutes to index a new server.
  • Cannot connect: Check your server IP and port in GPanel's Network tab. Ensure no password mismatch.
  • Crashes on startup: Delete the INI files in MidnightGhostHunt/Saved/Config/LinuxServer/ and restart the server to regenerate defaults.
  • Map rotation not working: Verify the map paths in Game.ini are correct. Invalid paths will cause the server to skip those entries.
  • Performance issues: Reduce MAX_PLAYERS if the server is lagging with a full lobby.

Related Articles

Need Help?

If you run into issues not covered here, open a support ticket and include your server IP, a description of the problem, and any error messages from the GPanel console.


هل كان هذا المقال مفيداً؟

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.