Skip to content
LatchAdmin

One panel for your MafiaHub servers

Install, run, update and watch Arcane MP, Kingdoms Connected and Mafia 2 Online servers from your browser. One file, no start scripts, free and open source.

Version 0.2.0 · Windows and Linux · MIT licenseHow to install

This is a working demo. Type a command, restart the server or run an update.

localhost:40120Demo

Main server

Running

Arcane MP 1.12.123 / 64

03:08:13Arcane MP Server 1.12.1

03:08:13Loaded 6 resources: chat, jobs, housing, inventory, vehicles, spawn

03:08:13Server successfully started on port 27015

03:08:13Announced to the MafiaHub server list

03:08:13Player connected: grimhollow_ash (22/64)

03:08:13Player connected: ashford_mira (23/64)

03:08:13[jobs] Paycheck sent to 23 players

What's inside

Everything you do on a server, in one place

No start scripts, no remote desktop. Open the panel in a browser and you're on your server.

  • Install or bring your own

    Install a server from the official MafiaHub release, or add a folder you already run. Nothing in it changes.

  • Live console

    Watch the log as it happens and send commands, with suggestions from your server's own help.

  • Updates with a way back

    Game updates take a backup first and roll back on failure. The panel updates itself from signed releases.

  • Latch scripts, kept current

    Link your Latch account to install the scripts you own. Update them by hand, at the next restart or right away.

  • Statistics

    Players, CPU, memory, uptime and crashes for each server and the machine, from 1 hour to 7 days.

  • Resource performance

    Script time, memory and slow ticks of every resource, read once a minute from the server's own resource monitor.

  • Announcements in game

    Write a message and it shows as a card at the top of every player's screen, not in chat. Before scheduled restarts, players get a countdown.

  • Discord alerts

    Crashes, restarts, updates and player records in your staff channel, the moment they happen.

  • HMP Foundations, set up

    For Arcane MP: install and update the open-source Foundations framework, and create its MySQL or MariaDB database and user from the panel.

  • Resources and config

    Turn resources on and off, upload a zip, edit server.json, data files and secret variables.

  • Your team, with limits

    16 permissions in 6 groups and access per server. Generated passwords and two-factor sign-in.

  • In 8 languages

    The panel speaks English, German, Spanish, French, Italian, Portuguese, Russian and Turkish.

For your players

A live status message in your Discord

One message the panel keeps up to date: which servers are up, how many are playing and how to connect. Try it.

Change the servers

Main server

Arcane MP 1.12.2

Players
23 / 64

Event server

Kingdoms Connected 1.8.1

Players
0 / 32

Each change edits the same message in Discord. Nothing new is posted.

  • Edited in place

    The channel shows one message, always current. It never fills up with updates.

  • Only what you choose

    Servers, addresses, a join note and up to 3 buttons. Never the panel's address, config or console.

  • Honest when it's down

    When the panel stops, the servers show as offline, and Updated tells players how fresh it is.

Install

Running in a few minutes

Run it on the machine where your game server runs. The first start prints the address and a setup PIN.

  1. 1

    Create a user for it and download it

    Don't run it as root: it gets a system user of its own, and your game servers run as that user too. On ARM machines use latchadmin-linux-arm64.

    sudo useradd --system --create-home --home-dir /opt/latchadmin latchadmin
    sudo -u latchadmin curl -L -o /opt/latchadmin/latchadmin https://github.com/heylatch/latchadmin/releases/latest/download/latchadmin-linux-amd64
    sudo chmod +x /opt/latchadmin/latchadmin
  2. 2

    Set it up as a service

    systemd starts it with the machine and restarts it if it stops.

    sudo tee /etc/systemd/system/latchadmin.service > /dev/null <<'EOF'
    [Unit]
    Description=LatchAdmin
    After=network-online.target
    Wants=network-online.target
    
    [Service]
    User=latchadmin
    WorkingDirectory=/opt/latchadmin
    ExecStart=/opt/latchadmin/latchadmin --data /opt/latchadmin/data
    Restart=always
    KillMode=mixed
    TimeoutStopSec=60
    
    [Install]
    WantedBy=multi-user.target
    EOF
  3. 3

    Start it

    The last command shows the setup PIN.

    sudo systemctl daemon-reload
    sudo systemctl enable --now latchadmin
    journalctl -u latchadmin | grep -A4 'First-time setup'
  4. 4

    Open the panel

    Go to http://your-server:40120, enter the setup PIN and create your account.

The service user must be able to write to /opt/latchadmin, for the panel's data and its self-updates. Linux setup in the README

The panel listens on port 40120. Before you sign in over the internet, put HTTPS in front of it or reach it through an SSH tunnel.

Supported games

Version numbers are the latest MafiaHub releases.

  • Arcane MP

    Install or add an existing server

    1.16.4
  • Kingdoms Connected

    Install or add an existing server

    1.8.2
  • Mafia 2 Online

    Install or add an existing server

    1.8.0
  • Fallout MP

    Add an existing server

    Install soon
  • Mafia MP

    Add an existing server

    Install soon
  • Vanta MP

    Add an existing server

    Install soon

One-click install comes for the others as soon as MafiaHub publishes their releases.

Open source

You can read every line it runs

LatchAdmin is MIT licensed and built in the open, so you don't have to take our word for any of this.

  • Latch can't reach your server

    The panel calls out, nothing calls in. There's no remote command channel, and nothing Latch answers is ever run.

  • A short list of hosts

    It talks only to the hosts in this list and checks every request and redirect against it. The one exception is the MySQL or MariaDB server you enter when you set up a database for HMP Foundations.

  • Signed updates

    Panel updates install only when their Ed25519 signature matches the key built into the binary. The signing key never touches Latch's servers.

  • Nothing about you unless you link

    Unlinked, it only reads the public version list every 30 minutes, with no key or id, and you can turn that off. Linked, it also reports the panel's name, version, OS and a random id, and each server's game, version, state and Latch scripts. The panel shows you the exact report.

Where it connects

netx.go
  • api.heylatch.app

    Latch: release versions, and while linked your scripts and the panel report

  • api.mafiahub.dev

    MafiaHub: game releases

  • github.com

    GitHub: panel and HMP Foundations releases

  • discord.com

    Discord: only the webhooks you add

Plus the download hosts these send it to, and the database server you enter for HMP Foundations. Anything else is refused.

Read the security model
Partners

Want to build with us?

We're looking for partners to shape Latch and LatchAdmin with us. Tell us about your project and what you need.

  • Communities running MafiaHub servers
  • Developers making scripts for MafiaHub games
  • Hosting providers who want LatchAdmin on their machines

Give your server a panel

One download, one setup PIN, and you're running your server from the browser.