GamesLauncherNewsDocsCommunityMy accountMy serversDownload Launcher
DocsVantix Menu plugin

Master server on Supabase

Set up the database, the storage bucket and the edge function that keep the server list.

The files are in the plugin (MasterServer/supabase/) and in the website (vantix-website/supabase/).

#1. Run the SQL

In Supabase → SQL Editor, run these files in this order:

OrderFileWhat it adds
1migrations/20261205_server_keys.sqlKeys and the server list
2migrations/20261206_server_branding.sqlLogo/banner and the storage bucket
Note

The migrations need the website's schema.sql first (profiles and private.is_admin()). Both files can be run more than once without breaking anything.

#2. Deploy the edge function

text
supabase functions deploy vantix-servers --no-verify-jwt

#3. Point the game at it

Fill in Project Settings → Vantix Menu → MasterServerUrl (and MasterServerKey if you need it). See Project settings.

#Tables

TableWhat's in it
server_keysid, owner, label, key_prefix, key_hash (SHA-256), revoked, last_used_at, last_server_name, last_address, logo_path, banner_path
community_serversOne row per key: address, ports, name, description, region, language, tags, map, players, version, listed, last_heartbeat

#Storage

server-media is a public bucket for logos and banners: PNG/JPEG, max 2 MB.

#Clean-up

Servers that have been quiet for a day are deleted by a pg_cron job, if pg_cron is on. The key is kept, and the server comes back by itself on its next heartbeat.

Last updated 2026-12-06