# Configure multiple Larpdevice administrators

The admin check in `lib/studio-store.ts` now supports comma-separated email and user-ID lists. The two lists must use the same order so each email stays paired with its account ID.

Example Namecheap Node.js app environment variables:

```text
LARPDEVICE_ADMIN_EMAIL=owner@example.com,helper@example.com
LARPDEVICE_ADMIN_USER_ID=USER_ID_FOR_OWNER,USER_ID_FOR_HELPER
```

In production, every configured email must have a matching user ID. Each person must sign up first. While signed in as each person, open `/api/bootstrap` and copy that account's `user.id` into the matching position in `LARPDEVICE_ADMIN_USER_ID`.

In cPanel, open **Setup Node.js App → Edit → Environment Variables**, set both values, save, and restart the app. Do not include quotation marks. Separate entries with commas.

After changing `lib/studio-store.ts`, rebuild and redeploy the app so the server uses the updated admin check. Keep the email and ID lists in the same order whenever you edit them.
