# Overview

The GameServer is the heart of AXIOM-EMU, handling all game logic, combat, items, monsters, and player interactions.

## Configuration Location

```
GameServer/Data/
```

## Configuration Categories

### Item System

Configuration files that control item drops, options, and attributes.

| File                            | Purpose                                                     |
| ------------------------------- | ----------------------------------------------------------- |
| `Item/ItemOptionRate.xml`       | Drop rates for item options (level, skill, luck, excellent) |
| `Item/ItemOption.xml`           | Item stat bonuses and special effects                       |
| `Item/Item.xml`                 | Master item definitions                                     |
| `Item/ItemDrop.xml`             | Monster drop tables                                         |
| `Item/ExcellentOptionRate.xml`  | Excellent option distribution                               |
| `Item/SetItemType.xml`          | Set item definitions                                        |
| `Item/SetItemOption.xml`        | Set item bonuses                                            |
| `Item/SocketItemType.xml`       | Socket item definitions                                     |
| `Item/SocketItemOption.xml`     | Socket option effects                                       |
| `Item/JewelOfHarmonyOption.xml` | Harmony option effects                                      |
| `Item/JewelOfHarmonyType.xml`   | Harmony item types                                          |
| `Item/380ItemOption.xml`        | 380 item option effects                                     |
| `Item/380ItemType.xml`          | 380 item types                                              |
| `Item/LuckyItem.xml`            | Lucky item configuration                                    |
| `Item/ItemStack.xml`            | Stackable item settings                                     |
| `Item/ItemValue.xml`            | Item sell values                                            |
| `Item/ItemMove.xml`             | Item movement restrictions                                  |

### Plugin System

Modular features that can be enabled/disabled independently.

| File                          | Purpose                         |
| ----------------------------- | ------------------------------- |
| `Plugins/ResetSystem.xml`     | Character reset and grand reset |
| `Plugins/SkillSpeedScale.xml` | Skill timing and rate limiting  |
| `Plugins/EventTimerInfo.xml`  | Event scheduling                |
| `Plugins/PostCommand.xml`     | Post/shout commands             |
| `Plugins/MuHelperPickup.xml`  | Auto-pickup settings            |
| `Plugins/StressBotPlugin.xml` | Stress testing bots             |

### Other Categories

| Directory    | Purpose                   |
| ------------ | ------------------------- |
| `Custom/`    | Custom server features    |
| `Event/`     | Event configurations      |
| `Move/`      | Teleport and gate configs |
| `Quest/`     | Quest system              |
| `Skill/`     | Skill configurations      |
| `Character/` | Character class defaults  |
| `CashShop/`  | Cash shop products        |
| `Monster/`   | Monster stats and spawns  |

## Getting Started

{% stepper %}
{% step %}

#### Understand the Basics

Start with [ItemOptionRate](https://axiomemu.gitbook.io/docs/gameserver/item/itemoptionrate) to understand how drop rates work - this is the most commonly customized configuration.
{% endstep %}

{% step %}

#### Configure Core Systems

Set up your [Reset System](https://axiomemu.gitbook.io/docs/gameserver/plugins/resetsystem) to define character progression on your server.
{% endstep %}

{% step %}

#### Fine-tune Gameplay

Adjust [ItemOption](https://axiomemu.gitbook.io/docs/gameserver/item/itemoption) to customize item bonuses and create unique server balance.
{% endstep %}
{% endstepper %}

## Common Configuration Patterns

{% hint style="info" %}
**Rate Tables**: Most item-related configs use rates out of 10000. For example, `Rate="7000"` means 70% chance.
{% endhint %}

{% hint style="info" %}
**Index References**: Many configs use index numbers to reference entries in other files. Always check which indices exist before referencing them.
{% endhint %}

{% hint style="warning" %}
**Server Restart Required**: Most GameServer configuration changes require a server restart to take effect. Some plugin configs support `/reload` commands.
{% endhint %}
