# Getting Started

Once **OMS** is installed and your server is running, here’s how to get started.

***

### Using `/oms` Commands

Type `/oms` in-game or in the server console to access the OMS root command.

{% hint style="info" %}
Note: These commands are only available to server operators or the server console.
{% endhint %}

The base `oms` addon provides several commands. Other addons may register their own:

```
/oms restart
/oms feature ...
```

* `/oms restart` – triggers a manual restart
* `/oms feature` – manage individual features (`enable`, `disable`, ...)\
  Each feature can register its own subcommands under:

  ```
  /oms feature <feature_id> ...
  ```

***

### Checking Loaded Features

After startup, OMS prints a detailed list of loaded addons and their features:

```
[OMS/]: Loaded Addons and Features:
[OMS/]: --------------------------------------------
[OMS/]: • oms
[OMS/]: └─ oms:main
[OMS/]:    └─ example_feature
[OMS/]:       ├─ internal:
[OMS/]:       │  └─ example: value
[OMS/]:       └─ config:
[OMS/]:          ├─ enabled: true
[OMS/]:          ├─ example: value
[OMS/]:          └─ example: [value1, value2, value3]
```

> A command to list all features is planned.\
> For now, use tab completion after `/oms feature` to explore available features across all addons.

***

### Feature Configuration

All configs are stored in the server's world folder:

```
world/serverconfig/oms-server.toml
```

Each mod creates its own TOML file, for example:

```
world/serverconfig/examplemod1_addon-server.toml
world/serverconfig/examplemod2_addon-server.toml
```

* Some features support **live reload**
* Validation runs on load and update
* **(For Developers)**\
  Only fields that are explicitly observed will update at runtime without requiring a restart or re-enabling the feature.

  This behavior is implemented through **Runtime Fields** and the `ConfigWatcher` system.

  See - [Runtime Fields](/oms-wiki/developer-guide/runtime-infrastructure/runtime-fields.md)\
  See - [ConfigWatcher](/oms-wiki/developer-guide/core-architecture/feature-system.md#configwatcher)

***

### Enabling/Disabling Features

You can toggle features at runtime:

```
/oms feature <feature_id> enable
/oms feature <feature_id> disable
```

* This updates the config runtime immediately
* If supported by developer, the feature applies changes without restarting the server

***

### What’s Next?

* Explore available [Addons](/oms-wiki/addons.md)
* Or build your own with the [Developer Guide](/oms-wiki/developer-guide.md)


---

# 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://conboi.gitbook.io/oms-wiki/getting-started.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.
