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
BulkActionPlugin
that 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
rewardGrants
option into the crafting class so players can receive aRewardGrant
in addition toinstancedItems
andstackableItems
. ARewardGrant
maps to aRewardTable
that 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:
shardAccessMode
is now enforced onauthenticateOrCreate
. Authentication will respect the setshardAccessMode
and 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: InventoryCatalog
inventoryContent: InventoryServiceContent
- In the
Reference:
inventoryContent.instancedSpecs[<CATALOG_ID>]
returns theInstancedSpec
proto.- View
4-demo
’sCookingCrafter.completeCooking()
orQuests.complete()
for an example of theInventoryContentService
and how to properly add arewardGrant
to theCraftResult
. - Check this pull request or contact us for additional information or assistance.
Related notes: New related feature. See rewards feature note above.
Deprecations #
AddAccountsToPlayerGroupOperatorV1
has been replaced byBulkActionOperatorV1
.- See the Postman collection for an example of the payload.
Original | Replacement |
---|---|
AddAccountsToPlayerGroupOperatorV1 | BulkActionOperatorV1 |
StackableSpecs
andInstancedSpecs
are now accessed as maps instead of lists in code.- There are no changes to the formatting of
StackableSpecs
andInstancedSpecs
in content or protos.InstancedSpecs.json
andStackableSpecs.json
still 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> |