Scheduling Limited Access Events #
You may wish to restrict player access to your game, for example while hosting a closed alpha test or early beta test. While it’s possible to restrict account creation, Pragma Engine provides additional flexibility by allowing you to set login access to a subset of existing accounts.
Start Pragma Engine #
Run make run-demo
to start Pragma Engine. Run this in a terminal with platform
as the working directory.
Log into the Social portal #
Navigate to the Social portal at http://localhost:11200/.
Sign into Pragma Portal by clicking Sign in with Pragma Unsafe.
- Enter
test01
into the Username field and click the Sign In button.
Create and populate a Player Group #
- Click Groups in the Accounts menu on the left, then click the Add group button.
Note: If you don’t see the Accounts menu, click the Services menu at the top, then click Accounts Service.
- Enter a name and optional description for the Player Group, then click Create Group.
- View the newly created Player Group in Pragma Portal. Click Add Player.
- Add the
test01
account to the group by clicking the Add button.
- Click Groups in the Accounts menu on the left-hand side and verify that your group now has one player added.
Create a Limited Access Event #
- Navigate to Game Title Management by clicking the Services menu at the top, then clicking Game Title Management.
- In the Game Title Management view, click on
testGame
.
- Click on
testGameShard
.
- Click the Add Event button.
- Set up your event by naming it, adding an optional description, adding the player group, and scheduling starting and ending dates/times. Click the Add Event button.
- Under Access Mode, click the Limited button, then confirm that you wish to set the shard to Limited Access mode.