Player Settings
1. Overview
PGOS supports configuring settings for player-related features on the portal console, currently allowing configuration of player login and player display name.
2. Player Login
2.1 Max Concurrent Players
Max Concurrent Players indicates the maximum number of players allowed to be online simultaneously in the title region. When online players reach this threshold, new logins will either fail or be placed in the login queue to wait for free slots.
If the switch is not enabled, then the Max Concurrent Players has a default value:
- For trial title region: 200.
- For other title region: 20,000,000.
2.2 Login Queue
The player login queue system provides a solution to ensure a smooth transition of login traffic during high-traffic periods (such as game launches, major updates, or peak times). This feature allows players to enter the game gradually, preventing server overload and ensuring a smoother experience for players rather than overwhelming the servers all at once. Additionally, the system provides players with their current position in the queue and an estimated wait time, offering a more organized and predictable gaming experience.
The Enable Login Queue switch allows you to enable or disable the login queue feature. If the switch is enabled, you can proceed to configure the settings below:
- Max Login Rate per Second: The maximum number of player logins allowed per second. When the login rate reaches this threshold, excess login requests will be placed in the login queue to wait.
- Exempted Players: These players can log into the game directly without waiting in the login queue. Please enter the Open IDs, separated by commas, with a maximum of 100.
If you want to enable the login queue feature, your game client will need to integrate with PgosSDK
v0.31.0 or later.
3. Display Name
3.1 Player Display Name Uniqueness
The setting specifies whether players' display name is required to be unique within the title region. The configuration is specified during the creation of the title region. Since it involves existing display name data, it is not easily modified afterward. If the modification is needed, please contact the PGOS team.
3.2 Player Display Name Verification
3.2.1 Verification Settings
Limit Total character count
The setting specifies the allowed range for the total character length of the display name, with a default range of 2 to 64 characters.
Limit character count of specified character set
This is an optional setting. It specifies the allowed range for the total number of characters in the nickname that belong to a specific character set. Currently, only configuration for the CJK(Chinese, Japanese, Korean) character set is supported. If configuration for other character sets is needed, please contact the PGOS team.
Regular expression for verification
This is an optional setting. It specifies the regular expression that the display name should match. If the game has more complex validation requirements, this setting can be used. The following screenshot shows an example where a display name cannot contain the characters '{' and '}'.
3.2.2 Online Verification Test
You can perform online validation tests before submitting these settings. Once the validation results meet the expectations, you can proceed with the submission.
3.3 Modification Restrictions
The setting specifies the modification restrictions for player display names. There are three policies, and the default policy is: "Game clients can modify their display name anytime".
Three policies:
- Game clients can modify their display name anytime.
- Game clients are restricted by a cooldown period when modifying the display name: Cooldown special hours after each name modification.
- Only game servers have the authority to modify the display name, although game clients are allowed to set their display name for the first time.