MV Engine: CVars & CCVars

MV Engine adds the following new configuration variables:

Key Auth

auth.migration_via_hwid (bool)

Turn on/off auto-migration of accounts.

Intended for servers migrating from wizden accounts to multiverse keys. It will migrate based on user’s HWID if the following conditions are met:

  1. Connecting user’s public key does not already exist in DB
  2. HWID between old & new user matches
  3. User has no special permissions (you should do these by hand for safety)
  4. Old user has no prior public key

auth.limit_new_public_keys_from_ip_for_days (float) and
auth.limit_new_public_keys_from_ip_count (int)

If an IP connecting requests to make a new public-key based account (or migrate an old one), then check the database to see if they’re flooding. Flooding will be an IP using X accounts in Y days. Setting either of these to 0 will disable the check.

auth.require_audience_claim (bool)

Do not turn off during normal production use. This skips the audience claim verification, so any JWT auth token can be used by any server. For testing purposes only — will not work unless a tools/debug build.

VPN Block

vpn_block.enabled (bool)

Master switch to turn on/off vpn blocking

vpn_block.skip_with_min_overall_hours (float)

Minimal overall played time to skip VPN Block.

vpn_block.admin_email (string)

Admin e-mail, is passed to IP service (is their requirement)

vpn_block.threshold_for_blocked_ip (double)

At this value or above, server will consider IP to be suspicious and block it. API recommends .99 or .995

(Recommend to leave at default)

vpn_block.deny_message (string)

A message that is displayed to blocked connections. Recommend to customize this with your discord or forum url where people can request to be whitelisted.