Skip to main content

PC_COMPLIANCE_SWITCH

PC
Optional
Available from: LI PASS V1.11.00

Syntax

PC_COMPLIANCE_SWITCH = 1

0: Disable age verification

1: Enable age verification

Default: 1

Description

This switch sets whether to enable age verification for logged in players, and only works with the PC platform. If disabled:

  • Players will still need to check and upload their consent to the Terms of Service.
  • Players who have not completed the compliance check will not be prevented from logging in when re-entering the game, but will be required to complete their compliance information.

PC_COMPLIANCE_SWITCH = 1

Image: PC_COMPLIANCE_SWITCH

PC_COMPLIANCE_SWITCH = 0

Image: PC_COMPLIANCE_SWITCH

When PC_COMPLIANCE_SWITCH is set to 0, the compliance information of the player account will remain in the unset state, including the compliance region, adult status, age verification status, and real-name verification status. When querying the player information with QueryUserInfo of Unity or UE, the values of adult_check_status and parent_certificate_status will be 0 in the returned callback AuthResult of Unity or UE.

Image: CONSOLE_COMPLIANCE_SWITCH