Hogwarts Legacy multiplayer servers with Arcane MP: scripts and setup

Latch team · 2026-12-05 · 5 min read

Arcane MP is a free multiplayer mod for Hogwarts Legacy, built on MafiaHub technology. Players share the castle and the Highlands on community-hosted servers, which hold 128 players by default and up to 512. What happens on a server, from houses and duels to creature care and roleplay, depends on the resources its owner installs, and those are written in JavaScript.

This post is for server owners. It points you to the official setup docs for the server itself, then covers the part Latch handles: finding scripts, installing protected resources, keys and updates.

Setting up the server

Arcane MP has its own hosting guide, and it's the source to follow. In short, it covers:

  • A Windows x64 or Linux x86-64 host, with the dedicated-server bundle from the same release and channel as your players.
  • The server folder layout: the executable, server.json, and resources/, data/ and logs/ beside it.
  • Ports: UDP 27015 for the game, and a TCP port for the server's information API that you keep private.
  • Foundation, the open-source framework the guide recommends for public servers, which needs MySQL 8 or MariaDB 10.6 or newer.
  • Listing on the public server list through the MafiaHub dashboard, plus a Docker image and a Pterodactyl egg for hosted setups.

For the scripting side, the Arcane MP scripting docs describe the server API (Node.js) and the client API. You don't need either to install a protected resource, but they help when you want to know what a script can do.

Where scripts come from

Beyond Foundation, most servers add resources from other developers. Some of them protect their work with Latch: the server code is encrypted, and it only runs on servers whose owners the developer granted access by account. For you, that means a download, one line in an env file and a console message, nothing more.

The easiest place to look is Explore, Latch's public directory of studios and the scripts they choose to show. Each listing has images and a description, and a studio page can link to the developer's website and Discord.

  • Free to use scripts can be added to your Library in one click while you're signed in. They stay protected and run on your account's keys.
  • Other scripts are arranged with the developer directly. Latch doesn't sell anything; you send the developer your account ID and they grant access.
Five steps: find a script on Explore, get it into your Library, extract it into resources, add your key, start the server

Installing a protected resource

Account and key

Create an account at heylatch.app. Your account ID is in Settings and looks like LA-7K2M-9QXD; this is what developers use to grant you access. Your key is on the Keys page. Every account gets one key free, and one key runs one server at a time.

Download and extract

  1. Open the script from your Library and click Download.
  2. Extract it into the server's resources/ folder. The folder name should be the script's short name.
  3. If the download page lists dependencies, install those the same way.

The package is encrypted, so there's nothing inside you need to open. Modified packages won't run. If the developer left a config file readable on purpose, edit that one as their instructions say.

Add the key

Add the key to the env file in the server's root folder, the one with server.json and resources/. Use server.env if it's there, or create a .env:

LATCH_LICENSE=LT-XXXX-XXXX-XXXX-XXXX

One line covers every protected script on that server. You don't need a key per script.

Start and check

Restart the server. The Arcane MP hosting guide already asks for a restart after resource changes in release builds, so this fits the routine you have. Each protected resource prints a line when its license is verified.

Server console showing Latch verifying the license for two protected Arcane MP resources

If something is off, the console tells you what. A missing or misnamed LATCH_LICENSE line shows "License key not found". "This account has no access to this script" means the developer hasn't granted your account yet. "Could not reach the license server" usually means outbound HTTPS (443) to api.heylatch.app is blocked by a firewall. The troubleshooting page lists every message.

What protection means for you

A few things behave differently from a plain resource folder, and they're worth knowing before something surprises you:

  • Access is per account. Once granted, a script works on every server you run with your keys.
  • Access can end. If the developer revokes it, the script stops at its next check. The server and your other resources keep running.
  • Connection drops are tolerated. If the license server can't be reached while a script runs, it keeps running and retries, and only stops after 30 minutes without contact. At startup it retries every 30 seconds until it gets through.
  • Client files aren't encrypted. The game sends client scripts to players, so those are obfuscated instead. You don't need to do anything about it; it's why some files in the package are scrambled JavaScript rather than encrypted data.

The How protection works page explains the model without the technical detail.

More than one server

A dev or test server running next to your public one needs its own key, because a key runs on one server at a time. If the same key starts on a second server, the scripts won't open there. Extra keys come from the Keys page and are billed monthly (see pricing). Your access doesn't change: every script you can run on one server runs on the other.

A key is tied to the machine, not the IP address. If you move to a new machine, shut the old server down first; about 10 minutes later the key opens on the new one. More on the keys page.

Keeping scripts current

When a developer ships a new version, the script is marked "Update available" in the dashboard and you get an email. Download it, replace the old folder and restart; the env file stays as it is.

For many scripts, the CLI installs and updates everything in your Library at once. It needs Node.js 20 or newer and an account API key (lta_…) from Settings under API keys, saved in the env file as LATCH_API_KEY:

npx -y @heylatch/cli pull --all --to resources

Put it at the top of your start script and the server always boots on the newest versions. The updates page has start scripts for Windows and Linux, a cron line and a GitHub Actions workflow.

Or use LatchAdmin

LatchAdmin is a free, open-source (MIT) web panel for MafiaHub servers. For Arcane MP it can install the server from the official MafiaHub release, install and update Foundation, and create its MySQL or MariaDB database. Link your Latch account and you can install your scripts on each server and choose whether they update when you click, at the next restart or right away. No Latch account is needed to use the panel itself.

If you already have an Arcane MP server running, the next step is to browse Explore for a script you'd like to try, then follow the install guide. Your first key is free.

All posts