RealRyteAC v1.7 - LICENSE SETUP
================================

CUSTOMER SERVER.CFG
-------------------
The customer receives TWO values from your Key Manager:
  1) License Key
  2) Server ID

Add these to server.cfg BEFORE `ensure RealRyteAC`:

set realryteac_license "RRAC-XXXX-XXXX-XXXX-XXXX"
set realryteac_server_id "RRAC-SRV-XXXXXXXXXXXXXXXX"
set realryteac_license_url "https://YOUR-LICENSE-DOMAIN/v1/validate"

ensure RealRyteAC

For local testing with the included key manager on the SAME machine:
set realryteac_license_url "http://127.0.0.1:8099/v1/validate"

OWNER KEY MANAGER
-----------------
The separate RealRyteAC_LicenseManager folder is for YOU, not customers.
Run START_LICENSE_SERVER.bat. The first launch creates config.json with a random admin token.
Open http://127.0.0.1:8099/admin in a browser and paste that admin token.

From the dashboard you can:
- Generate a key + server ID
- Revoke/reactivate licenses
- Extend expiration
- Unbind/reset a server ID
- See validation timestamps and server information

INVALID/MISSING KEY BEHAVIOR
----------------------------
RealRyteAC prints:
  Please contact Real Ryte for a key.

Then it runs `quit` after the configured delay. If txAdmin or your Windows service is configured
to auto-restart FXServer, the server will restart and continue refusing to run until a valid key
is installed. This is intentionally fail-closed.

IMPORTANT
---------
Use HTTPS for a public/remote license server. Plain HTTP is intended only for localhost testing.
No source-distributed license system is impossible to patch by a determined attacker; for paid
FiveM distribution, combine this with Cfx.re Asset Escrow/obfuscation for stronger protection.
