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

# ReiDoMu.dat

Rei do MU (King of MU) event: scheduled throne contest on a configured map. Section data defines warning/event duration, run schedule, the coin reward for the winning guild's online members, and the coin reward granted to each of the top-5 individual rankers.

## File Location

```
Data/Event/ReiDoMu.dat
```

Loaded once at GameServer startup. Gated by [Event.dat](/docs/gameserver/event-dat.md#rei-do-mu-king-of-mu) `ReiDoMUEvent`. Map and throne coordinates come from Event.dat (`ReiDoMUMap`, `ReiDoMUCordX`, `ReiDoMUCordY`); minimum guild member count from `ReiDoMUGuildMinMembers`. Changes require a restart.

## Sections

### Section 0 - Timing

```
0
//WarningTime   EventTime
5              30
end
```

Both values in minutes. `WarningTime` is how early pre-event announcements start counting down before the event opens. `EventTime` is how long the main run lasts.

### Section 1 - Schedule

```
1
//Year   Month   Day   DoW   Hour   Minute   Second
*        *       *     *     22     5        0
end
```

Each row is one scheduled start. Wildcard `*` means "any". Multiple rows are allowed.

### Section 2 - Winning Guild Reward

```
2
//WC   WP   GP
10     0    0
end
```

Coin triplet (WCoin/WCoinP/GoblinPoint) granted to every currently-connected member of the winning guild when the event ends. Members not online at award time are not credited retroactively.

### Section 3 - Top-5 Individual Reward

```
3
//WC   WP   GP
8      0    0
end
```

Coin triplet granted to each of the top-5 ranked individual participants (ranks 1 through 5 by throne hold time). Not a per-participant reward - only the top five receive it.

## Cross-File Dependencies

| Value                 | Related in                                                                                                                 |
| --------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| Enable flag           | [Event.dat](/docs/gameserver/event-dat.md#rei-do-mu-king-of-mu) `ReiDoMUEvent`                                             |
| Throne map            | [Event.dat](/docs/gameserver/event-dat.md#rei-do-mu-king-of-mu) `ReiDoMUMap` -> [MapManager.xml](/docs/data/mapmanager.md) |
| Throne coordinate     | [Event.dat](/docs/gameserver/event-dat.md#rei-do-mu-king-of-mu) `ReiDoMUCordX` / `ReiDoMUCordY`                            |
| Guild member gate     | [Event.dat](/docs/gameserver/event-dat.md#rei-do-mu-king-of-mu) `ReiDoMUGuildMinMembers`                                   |
| Coin types (WC/WP/GP) | Cash shop coin system                                                                                                      |

## Common Issues

* **Event never starts** - `ReiDoMUEvent = 0` in Event.dat, or all section 1 rows have past times
* **Guild claims throne but gets no reward** - the event still needs to end naturally for rewards to settle; rewards are only granted at end
* **Offline guild members missed the reward** - intended; reward is sent to currently-connected members only
* **Only 5 players get the individual coin** - intended; section 3 pays ranks 1-5, not all participants
* **Guild cannot claim throne** - guild has fewer members than `ReiDoMUGuildMinMembers`, or player is not at `ReiDoMUCordX/Y` on `ReiDoMUMap`
