VX Admin Coming Soon...
Scripts

Web panel

Use the menu from a browser anywhere, with Discord sign-in, over Tailscale or your own domain.

The web panel is the same menu as a website, so staff can use it without joining. Staff sign in with Discord, and only Discord accounts an owner adds on a staff profile get in. In-game-only tools (noclip, teleports, spectating) are left out.

1. Discord app

In discord.com/developers (your bot's application works), open OAuth2. Put the Client ID in Config.Web.discordClientId and the Client Secret in server.cfg:

server.cfg
set vxadmin_web_secret "your-client-secret"

2. Where staff open it

Tailscale (recommended; works from anywhere, with no domain and nothing opened on your router).

  1. Install Tailscale (free) on the server machine and sign in. The app shows the machine's Tailscale address, such as 100.101.102.103.
  2. Set Config.Web.url to that address: 'http://100.101.102.103:30120/vx-admin'.
  3. For each staff member, open the Tailscale admin console → Machines → your server → Share, and send them the link. They install Tailscale and accept it. They can reach that one machine and nothing else on your network.

Tailscale encrypts the connection, so the plain http:// address is safe to use from anywhere.

Your own domain, public, over HTTPS. For an address anyone can open without Tailscale. Your domain needs to use Cloudflare (free). In Cloudflare: Zero Trust → Networks → Tunnels → Create a tunnel → Cloudflared, and copy the token from the install command:

server.cfg
set vxadmin_tunnel_token "eyJ..."

Then add a Public Hostname such as admin.yourdomain.com, Service HTTP, URL localhost:30180. VX Admin downloads and runs Cloudflare's connector itself, and only the panel goes through it.

Or just your network: http://SERVER_IP:30120/vx-admin/ (not encrypted, so not over the internet).

3. Turn it on

In the Discord app → OAuth2 → Redirects, add your panel address followed by /auth/callback (the server console prints the exact one). Then set Config.Web.enabled = true and restart.

4. Give staff access

Open a staff member's profile (Staff → their name → Web panel access) and add their Discord user ID. Removing it signs that account out straight away.