Pragma Engine 0.0.54
February 8th, 2022
- Added bulk action account plugin.
- Added new type of item grant to crafting calls to allow for randomized rewards.
- Game Shard Access Mode is now live.
- Required integrations:
- You will need to update your crafting plugin to integrate with the new crafting system.
Features #
Added bulk action account plugin.
- Description: We’ve added a
BulkActionPluginthat lets users perform customer-defined actions leveraging our account searching functionality. - Reference:
Pragma.Account.BulkActionPlugin
- Description: We’ve added a
Added new type of item grant to crafting calls to allow for randomized rewards.
- Description: We’ve added a
rewardGrantsoption into the crafting class so players can receive aRewardGrantin addition toinstancedItemsandstackableItems. ARewardGrantmaps to aRewardTablethat can result in a set of guaranteed rewards items and/or random rewards by usingRewardSlots. - Related notes: Integration required. See content system note below.
- Reference:
data class CraftResult( val instancedItemGrants: List<InstancedItemServerGrant>, val stackableItemGrants: List<StackableItemGrant></StackableItemGrant>, val rewardGrants: List<RewardGrant> = listOf() )- Description: We’ve added a
Game Shard Access Mode is now live.
- Description:
shardAccessModeis now enforced onauthenticateOrCreate. Authentication will respect the setshardAccessModeand deny access to users not in approved player groups on active limited access events. Default access is set toeveryone. - Postman path:
Social → RPC - Operator → Game Management → SetShardAccessModeV1
- Description:
Integrations #
- Update crafting plugin with new content map.
Description: You will need to update your crafting plugin to integrate with the new crafting system.
Integration step:
- In the
craft()method, replace the catalog parameter withinventoryContent:
Original Replacement catalog: InventoryCataloginventoryContent: InventoryServiceContent- In the
Reference:
inventoryContent.instancedSpecs[<CATALOG_ID>]returns theInstancedSpecproto.- View
4-demo’sCookingCrafter.completeCooking()orQuests.complete()for an example of theInventoryContentServiceand how to properly add arewardGrantto theCraftResult. - Check this pull request or contact us for additional information or assistance.
Related notes: New related feature. See rewards feature note above.
Deprecations #
AddAccountsToPlayerGroupOperatorV1has been replaced byBulkActionOperatorV1.- See the Postman collection for an example of the payload.
| Original | Replacement |
|---|---|
AddAccountsToPlayerGroupOperatorV1 | BulkActionOperatorV1 |
StackableSpecsandInstancedSpecsare now accessed as maps instead of lists in code.- There are no changes to the formatting of
StackableSpecsandInstancedSpecsin content or protos.InstancedSpecs.jsonandStackableSpecs.jsonstill consist of arrays of objects.
- There are no changes to the formatting of
| Original | Replacement |
|---|---|
List<StackableSpec> | Map<String, StackableSpec> |
List<InstancedSpec> | Map<String, InstancedSpec> |