Skip to main content
Version: Next

Introducing

Trusted servers can be used to connect your server/website to the DynamicPixels and show the data like leaderboard, parties and user information to users. To use this feature you need to a running project in your panel and then go to your game -> Settings -> Trusted Servers and then create a new access token. The token will be used to identify your server and its access.

Make sure that selected access level is suitable for your use-case. and keep this token in a safe environment. you can edit and see these tokens whenever you need.

Now We can run the server functions using this key. To test the function, we will call some of them here:

Check Connectivity

This function will return a result if your server is alive and you call the function correctly:

curl --location 'https://link.dynamicpixels.dev/game/[CLIENT ID]/server/services/meta/alive' \
--header 'Authorization: Bearer [PUT ACCESS TOKEN HERE]'

Expected result:

{
"affected": 1
}

Congrats! you made your first call!