Skip to main content

Matchmaking Ruleset Draft

1. Overview

For more convenient use of Matchmaking Ruleset, we provide the feature of save the Ruleset as a draft, so there are currently two states of the Ruleset: Normal and Draft. At the same time, the Ruleset draft can also perform other normal Ruleset-related operations such as Debug Rules and New Simulator Case.

The draft Ruleset has the following limitations:

  1. Ruleset draft data cannot be associated with Match Configuration;
  2. Ruleset draft data will not be validated by default when it is saved, and there may be problems when performing operations such as Debug;
tip

We strongly recommend that you save as a draft when writing a Ruleset, and then submit the Ruleset to ensure the data reliability of the Ruleset after performing operations such as Validate, Debug, and Simulator Test of the Ruleset.

2. Ruleset Type Introduction

As mentioned above, Ruleset has two states: Normal and Draft. The flow of the two states is shown below.

Case 1. Create -(Submit)-> Normal

On the create (edit) page of Ruleset, we can see that there is a Submit button at the bottom of the page, click to save the current Ruleset form data as Normal data, as shown in the figure:

image-20220426201308354

After the save is successful, you will see the following information in the Ruleset list:

image-20220426195636268

Case 2. Create -(Save as Draft)-> Draft

On the create (edit) page of Ruleset, we can see that there is a Save as Draft button at the bottom of the page, click to save the current Ruleset form data as draft data, as shown in the figure:

image-20220426201359278

After the save is successful, you will see the following information in the Ruleset list:

⭐️ Draft data will display the draft Tag in front of the Ruleset Name.

image-20220426195718195

Case 3. Normal -(Save as Draft)-> Draft

If you want to convert normal's Ruleset to draft data, there are two situations as follows:

Ruleset is not associated with MatchConfiguration

Select a Ruleset, enter its edit page, and click the Save as Draft button at the bottom to save the data as draft data:

image-20220426201359278

tip
  1. Ruleset will be not validated when saving data as a draft;

  2. Once the data is saved as a draft, it cannot be associated to Match Configuration;

Ruleset has been associated with MatchConfiguration

The Ruleset (eg: ruleset 1) that has been associated with the Match Configuration cannot be directly saved as a draft. Once you want to save it as a draft Save as Draft, the following prompt will pop up:

image-20220426200750330

PGOS will determine whether the Ruleset is associated with the MatchConfiguration, and if it has been associated, it will prompt whether to create a new copy for draft data. Once you click Create to submit, PGOS will create a draft copy based on the current Ruleset. As follows:

image-20220426201213182

The created copy will not affect the Normal data, please use it with confidence.

Case 4. Draft -(Submit)-> Normal

Select a Ruleset draft data, enter the editing interface, we can see that there is a Submit button at the bottom of the page, click to save the current Ruleset form data as Normal data, as shown in the figure:

image-20220426201359278

After updating the data to Normal data, you can use it to associate with the Match Configuration.