Skip to content
exwave.Docs

Asset Storage

Exwave Asset Storage keeps the files behind your game: game content, player saves and files that players upload. Your backend and your game ask Exwave for a short-lived link, then send or fetch the file through it.

  • Storage for each platform, kept in France or in the European Union.
  • Access rules for players: content for every player, content for one group, or a private folder for each player’s saves.
  • Limits that you set for each rule: the largest file, and how many files and how much space each player can use.
  • A file browser and a rule tester in Nexus.

Path. The name of a file, with its folders, such as public/levels/level-02.json. You don’t create folders: they come from the paths.

Access rule. A rule that says which players can download or upload the files whose path matches a pattern, such as public/**. Without a rule, players can’t reach any file. See Access rules.

{player}. One player’s own folder. When a player asks for saves/{player}/slot1.sav, Exwave puts that player’s ID in place of {player}.

Player ID. The sign-in method and the player’s ID, such as managed:283749102938475021. For a player who signs in with Exwave Auth, it’s managed: followed by the userId that verifyPlayerAccessToken returns. Nexus shows player IDs in file paths and in groups.

Group. A named set of players, such as beta testers. You manage groups in Nexus → Auth → Groups. An access rule can let a group’s members reach files.

Upload link and download link. A web address that Exwave signs for one file. It works for a limited time. Read expires_at in the answer to know when it stops working, and ask for a new link after that.

  • Your backend uses an organization API key with the Assets permission. It can read and write every file, and access rules don’t limit it.
  • Your game uses the signed-in player’s player access token (PAT), a short-lived token from Exwave Auth. Players reach only what your access rules allow. To get a PAT, see Games & player access tokens.
  • Your team uses Nexus to browse, upload, download and delete files. Only organization owners and admins can turn on Asset Storage, change access rules or upload files in Nexus.
  • One upload is 5 GB at most.
  • A path is 860 bytes at most.
  • A platform has 64 access rules at most.
  • One request asks for 100 download links at most.
  • Your plan sets how much you can store. Uploads that would go over it are refused, so you’re never billed for extra storage. See pricing.
  • You choose the location when you turn on Asset Storage. It can’t be changed yet.