## Changelog
### 🐛 Bug Fixes
- **Fixed: Settings lost on dimension change** — Player repair settings (passive, manual, threshold) were silently reset when traveling through a portal to the Nether or End. Settings now persist correctly across all dimension changes.
- **Fixed: Settings lost on death/respawn** — Same fix also covers player data being dropped on respawn after death.
### ⚙️ Command Changes
- All admin commands are now grouped under `/er admin` for clarity
- Removed the `default` subcommand layer — server settings are now directly under `/er admin`
- `/er admin threshold` and `/er admin maxXpPerRepair` now show the current value when run without arguments
- Removed redundant `/er admin <player> status` — just use `/er admin <player>`
- `/er admin reload` now broadcasts by default; use `/er admin reload silent` to suppress
### 🔄 Behavior Changes
- Removed session vs. permanent distinction — player settings are now always saved permanently
- Passive and manual repair are now strictly mutually exclusive — enabling one automatically disables the other. Both can still be disabled simultaneously.
- If the config file is hand-edited with both `defaultPassive` and `defaultManual` set to `true`, manual repair takes priority
### 📋 Full Command Reference
#### Player Commands
| Command | Description |
|---|---|
| `/er` | Help / overview |
| `/er passive` | Toggle passive repair on/off |
| `/er manual` | Toggle manual repair on/off |
| `/er threshold [levels]` | View or set your XP floor (0 to clear) |
| `/er status` | View your current settings |
| `/er serverdefaults` | View server defaults (read-only) |
| `/er version` | Show mod version |
#### Admin Commands (OP level 2+)
| Command | Description |
|---|---|
| `/er admin` | View server settings |
| `/er admin passive on\|off` | Set default passive repair |
| `/er admin passive allow on\|off [silent]` | Enable/disable passive for all players |
| `/er admin manual on\|off` | Set default manual repair |
| `/er admin manual allow on\|off [silent]` | Enable/disable manual for all players |
| `/er admin threshold [levels]` | View or set default XP floor |
| `/er admin maxXpPerRepair [xp]` | View or set max XP spent per repair tick |
| `/er admin reload [silent]` | Reload config from disk |
| `/er admin <player>` | View a player's settings |
| `/er admin <player> reset` | Reset player to server defaults |
| `/er admin <player> passive on\|off` | Set a player's passive repair |
| `/er admin <player> manual on\|off` | Set a player's manual repair |
| `/er admin <player> threshold <levels>` | Set a player's XP floor |
> All commands also work with `/exprepair` in place of `/er`.
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }