> For the complete documentation index, see [llms.txt](https://theadam4.gitbook.io/wonder-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://theadam4.gitbook.io/wonder-scripts-docs/scripts/wonder-storage.md).

# Wonder Storage

## Installation

### Putting script to server

* Download script from [GitHub](https://github.com/THEadam4/wonder_storage)
* Put in your server files
* put **ensure wonder\_storage** in your server.cfg

### Inserting into database

* open your program where you work with your server database
* find **import file** button
* select **import.sql** file

```sql
CREATE TABLE IF NOT EXISTS `wonder_storage` (
  `pincode` int(4) DEFAULT NULL,
  `stash` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;
```

## How does it work?

Set the locations with a unique storage name in the config. Set the owner of the storage and restart the script.&#x20;

The owner then accesses the storage and has to set a new PIN the first time it is opened. He then uses the set pin to access the storage.&#x20;

He can share the PIN with other players and grant them access to the storage. If the player wants to change the pin, he can change it at the same place where he first set it.

## If you have any problem, join our [discord ](https://discord.gg/4kA8s95pWX)for support.&#x20;

*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://theadam4.gitbook.io/wonder-scripts-docs/scripts/wonder-storage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
