# Space Engineers

Tebex is the official monetization provider for **Space Engineers**. This guide covers how to install Tebex on both **Vanilla Dedicated Servers** and **TorchAPI**-enabled servers.

***

### Supported Server Types

* **Vanilla Dedicated Server**\
  Basic integration: Supports `/give_item` and `/give_money` commands only.
* **TorchAPI Server**\
  Full integration: Supports custom commands and advanced functionality.

Download the plugin for your server type via your Tebex [Control Panel](https://creator.tebex.io/game-servers).

***

### Install Tebex on a Vanilla Space Engineers Server

> Use this method **only** if you are not running TorchAPI.

#### **Steps**

1. **Download the Plugin**\
   From your Tebex Control Panel, download the latest **Vanilla Tebex Plugin** (`Tebex-SpaceEngineers-VERSION.zip`).

2. **Unpack the Files**\
   Unzip the contents into your server’s root folder.

3. **Launch the Dedicated Server Tool**\
   Open the Space Engineers Dedicated Server and click:

   * `Continue to Server Configuration`

   <figure><img src="/files/GloeNL2lKeQfgVBOT0HB" alt=""><figcaption></figcaption></figure>

   * Go to the **Plugins** tab
   *

   ```
   <figure><img src="/files/glARMvhRglkquYbaLY72" alt=""><figcaption></figcaption></figure>
   ```

4. **Add the Plugin DLL**

   * Click **Add** under *Assemblies*
   * Navigate to the unzipped plugin folder and select:\
     `Tebex-SpaceEngineers.dll`
   * Select **Tebex** from the plugin list to open configuration.
   *

   ```
   <figure><img src="/files/lVNsdqTKlcmLNLkZJuPc" alt=""><figcaption></figcaption></figure>
   ```

5. **Enter Your Secret Key**
   * Copy your secret key from the [Game Servers page](https://creator.tebex.io/game-servers) in your Tebex control panel.
   * Paste it into the **Secret Key** field.
   * Click **Save & Start**

6. **Verify the Plugin**\
   In your server console, you should see output similar to:

   ```plaintext
   plaintextCopyEdit[Tebex] [INFO] Tebex is starting up...
   [Tebex] [INFO] Secret key is set. Loading store info...
   [Tebex] [INFO] Connected to store https://yourstore.tebex.io
   ```

> ✅ Setup is complete once you see the “Connected to store” message.

***

### ⚙️ Install Tebex on a TorchAPI Server

> TorchAPI enables **advanced features** such as custom commands, extended plugin support, and deeper integrations.

#### **Steps**

1. **Download the Plugin**\
   From the control panel, download the **TorchAPI Tebex Plugin** `.zip`.\
   \&#xNAN;*(No need to extract it.)*
2. **Place in Plugins Folder**\
   Move the `.zip` file to the `Plugins` folder of your Torch server installation.\
   ![](https://lh7-us.googleusercontent.com/docsz/AD_4nXcTsGci_nkR3yj0eYDeadJafHZmfH9HHaVMg0IX8c5ljnON2Zmkxa6OZw0XO7mCUbXyqGRRR7RSk-QLiMMVdCmKwFruQGgaOJP9IgjdTu-DynK6csPrugMpPPO0pD__ngvEooSckLz1JihknNPbsHpAuqE?key=cOl3HpAZDF2LKgbTvhwB3g)
3. **Launch TorchAPI**\
   Start the TorchAPI server.
4. **Configure Your Secret Key**
   * **For GUI-based servers**:
     * Go to the **Plugins** tab
     * Select **Tebex**
     * Enter your [**Secret Key**](https://creator.tebex.io/game-servers) and click **Save Config**
   * **For dedicated/headless servers**:

     * Join the server as an owner
     * Run the following in-game command:

     ```plaintext
     !tebex.secret your-secret-key
     ```
5. **Confirm Plugin Status**\
   You should see console output like:

   ```plaintext
   [Tebex] [INFO] Secret key is set. Loading store info...
   [Tebex] [INFO] Connected to store https://yourstore.tebex.io
   ```

***

### Debugging

The plugin runs silently during normal operation.\
To troubleshoot:

* Enable **Debug Mode** via the plugin settings.
* Logs will show detailed activity and errors.

> ⚠️ **Warning**: Do not leave Debug Mode enabled during regular server operation.


---

# Agent Instructions: 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://docs.tebex.io/creators/tebex-control-panel/game-servers/space-engineers.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.
