c0de 0.6.2Diese Seite auf Deutsch

CREATE_VAULT ​

Creates your persistent vault and opens it.

The vault is a KeePass file on the server, which only your game can open. Without password, your game asks you for a password and to repeat it. The password never leaves your game then. If you already have a persistent vault, the function raises VAULT_ALREADY_EXISTS. Closing the dialog raises VAULT_CANCELLED.

Parameters and results

  • password STRING: the password (optional, default: ask the player)
  • no results

Example

c0de
CALL c0de/security/CREATE_VAULT

Used in the tutorials ​