Other5
Creator docs

Keep players' inventories

With one node, a player keeps what they carry when they quit and come back, or join someone else's server. Everything is kept in the player's own Other5 account. This is how CubeEscape does it.

Plugins used

Install them from the launcher's CREATE page. What each plugin provides

1. Call Keep Inventory when a player joins

In your game coordinator Blueprint (a child of Other5 Game Coordinator):

  1. Add Event On Player Joined.
  2. Cast Player to Other5 Base Player State.
  3. Call Keep Inventory on it. Give it a Save Name for your Creation.
Blueprint graph: Event OnPlayerJoined, Cast To Other5BasePlayerState, then Keep Inventory with Save Name MyCreation
That's all it takes

It runs on the server. Call it from anywhere else the server knows the player, too.

2. What's kept

  • Weapons, with their rarity and bonuses, ammo and spare rounds.
  • The weapon in hand, grenades, health packs, currency and ammo type.

The player's own game loads it as they join, and it saves a few seconds after each change. When they aren't signed in, it's kept on their PC instead.

3. Save names

  • Use one name per Creation, such as MyCreation, so your loot never mixes with another game's.
  • Use a new name to start everyone afresh, for a new season for example.

Good to know

  • Dying still costs what you carried: the next character starts with its starting weapons. Their rarest weapon stays where they fell (see Loot, currency and shops).
  • Imports are checked, so ammo, rarity, bonuses and currency are clamped to your inventory's limits.
  • On a server, every player keeps their own inventory.
  • Want your own save system? Export Inventory gives the inventory as text, and Import Inventory puts it back.