question

Sweyn avatar image
Sweyn asked

Grant item to entire player base,Granting an item to entire player base?

Hello,

We have an admin Web page for managing players, and we'd like to occasionally grant an item to the ENTIRE player base. Is there a one-shot way of doing that? Note: This is after they've been granted their startup bundles, and could be at any time in their game lifetime (even if they've been playing for weeks - so not an initial bundle)

We're talking potentially several thousand players upwards (hopefully).

We have seen GrantItemToUsers but that seems inefficient as you'd have to make many requests including getting the player ids.

What do you suggest?

Thanks

Sweyn

Player DataAccount ManagementPlayer Inventory
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Rick Chen avatar image
Rick Chen answered

You can use the scheduled tasks on the All player segment to achieve that.

Go to [Your GameManager]->[Automation]->[Scheduled Tasks], click New Scheduled Task; provide a name; in the “Type of task” field, choose “Run actions on each player in a segment”; in the “Segment” field, choose “All Players”; choose “Add action” with type “Grant item”, choose a item you want to grant to the player. Then click “Save and run”.

You could refer to this document for more detail: Scheduled tasks quickstart

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.