# Brave Local URI Issue

#### You:
was
[22:48:54 INFO]: [HorriblePlayerLoginEventHack] You have plugins listening to the PlayerLoginEvent, this will cause re-configuration APIs to be unavailable: [WorldGuard]
[22:48:55 WARN]: java.lang.RuntimeException: Server attempted to load chunk saved with newer version of minecraft! 4903 > 4790
[22:48:55 WARN]:        at net.minecraft.world.level.chunk.storage.SerializableChunkData.lambda$parse$0(SerializableChunkData.java:152)
[22:48:55 WARN]:        at java.base/java.util.Optional.ifPresent(Optional.java:178)
[22:48:55 WARN]:        at net.minecraft.world.level.chunk.storage.SerializableChunkData.parse(SerializableChunkData.java:150)
[22:48:55 WARN]:        at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.task.ChunkLoadTask$ChunkDataLoadTask.runOffMain(ChunkLoadTask.java:346)
[22:48:55 WARN]:        at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.task.GenericDataLoadTask$ProcessOffMainTask.run(GenericDataLoadTask.java:311)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$OrderedStreamGroup$Queue.lambda$createTask$0(BalancedPrioritisedThreadPool.java:467)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.queue.PrioritisedTaskQueue$PrioritisedQueuedTask.execute(PrioritisedTaskQueue.java:345)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$OrderedStreamGroup.executeTask(BalancedPrioritisedThreadPool.java:344)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$WorkerThread.pollTasks(BalancedPrioritisedThreadPool.java:630)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.mainLoop(QueueExecutorRunnable.java:94)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.doRun(QueueExecutorRunnable.java:115)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.run(QueueExecutorRunnable.java:42)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.util.LazyRunnable.run(LazyRunnable.java:25)
[22:48:55 WARN]:        at java.base/java.lang.Thread.run(Thread.java:1474)
[22:48:55 WARN]: java.lang.RuntimeException: Server attempted to load chunk saved with newer version of minecraft! 4903 > 4790
[22:48:55 WARN]:        at net.minecraft.world.level.chunk.storage.SerializableChunkData.lambda$parse$0(SerializableChunkData.java:152)
[22:48:55 WARN]:        at java.base/java.util.Optional.ifPresent(Optional.java:178)
[22:48:55 WARN]:        at net.minecraft.world.level.chunk.storage.SerializableChunkData.parse(SerializableChunkData.java:150)
[22:48:55 WARN]:        at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.task.ChunkLoadTask$ChunkDataLoadTask.runOffMain(ChunkLoadTask.java:346)
[22:48:55 WARN]:        at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.task.GenericDataLoadTask$ProcessOffMainTask.run(GenericDataLoadTask.java:311)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$OrderedStreamGroup$Queue.lambda$createTask$0(BalancedPrioritisedThreadPool.java:467)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.queue.PrioritisedTaskQueue$PrioritisedQueuedTask.execute(PrioritisedTaskQueue.java:345)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$OrderedStreamGroup.executeTask(BalancedPrioritisedThreadPool.java:344)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$WorkerThread.pollTasks(BalancedPrioritisedThreadPool.java:630)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.mainLoop(QueueExecutorRunnable.java:74)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.doRun(QueueExecutorRunnable.java:115)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.run(QueueExecutorRunnable.java:42)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.util.LazyRunnable.run(LazyRunnable.java:25)
[22:48:55 WARN]:        at java.base/java.lang.Thread.run(Thread.java:1474)
[22:48:55 WARN]: java.lang.RuntimeException: Server attempted to load chunk saved with newer version of minecraft! 4903 > 4790
[22:48:55 WARN]:        at net.minecraft.world.level.chunk.storage.SerializableChunkData.lambda$parse$0(SerializableChunkData.java:152)
[22:48:55 WARN]:        at java.base/java.util.Optional.ifPresent(Optional.java:178)
[22:48:55 WARN]:        at net.minecraft.world.level.chunk.storage.SerializableChunkData.parse(SerializableChunkData.java:150)
[22:48:55 WARN]:        at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.task.ChunkLoadTask$ChunkDataLoadTask.runOffMain(ChunkLoadTask.java:346)
[22:48:55 WARN]:        at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.task.GenericDataLoadTask$ProcessOffMainTask.run(GenericDataLoadTask.java:311)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$OrderedStreamGroup$Queue.lambda$createTask$0(BalancedPrioritisedThreadPool.java:467)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.queue.PrioritisedTaskQueue$PrioritisedQueuedTask.execute(PrioritisedTaskQueue.java:345)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$OrderedStreamGroup.executeTask(BalancedPrioritisedThreadPool.java:344)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$WorkerThread.pollTasks(BalancedPrioritisedThreadPool.java:630)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.mainLoop(QueueExecutorRunnable.java:74)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.doRun(QueueExecutorRunnable.java:115)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.run(QueueExecutorRunnable.java:42)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.util.LazyRunnable.run(LazyRunnable.java:25)
[22:48:55 WARN]:        at java.base/java.lang.Thread.run(Thread.java:1474)
[22:48:55 WARN]: java.lang.RuntimeException: Server attempted to load chunk saved with newer version of minecraft! 4903 > 4790
[22:48:55 WARN]:        at net.minecraft.world.level.chunk.storage.SerializableChunkData.lambda$parse$0(SerializableChunkData.java:152)
[22:48:55 WARN]:        at java.base/java.util.Optional.ifPresent(Optional.java:178)
[22:48:55 WARN]:        at net.minecraft.world.level.chunk.storage.SerializableChunkData.parse(SerializableChunkData.java:150)
[22:48:55 WARN]:        at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.task.ChunkLoadTask$ChunkDataLoadTask.runOffMain(ChunkLoadTask.java:346)
[22:48:55 WARN]:        at ca.spottedleaf.moonrise.patches.chunk_system.scheduling.task.GenericDataLoadTask$ProcessOffMainTask.run(GenericDataLoadTask.java:311)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$OrderedStreamGroup$Queue.lambda$createTask$0(BalancedPrioritisedThreadPool.java:467)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.queue.PrioritisedTaskQueue$PrioritisedQueuedTask.execute(PrioritisedTaskQueue.java:345)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$OrderedStreamGroup.executeTask(BalancedPrioritisedThreadPool.java:344)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.thread.BalancedPrioritisedThreadPool$WorkerThread.pollTasks(BalancedPrioritisedThreadPool.java:630)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.mainLoop(QueueExecutorRunnable.java:50)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.doRun(QueueExecutorRunnable.java:115)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.executor.QueueExecutorRunnable.run(QueueExecutorRunnable.java:42)
[22:48:55 WARN]:        at ca.spottedleaf.concurrentutil.util.LazyRunnable.run(LazyRunnable.java:25)
[22:48:55 WARN]:        at java.base/java.lang.Thread.run(Thread.java:1474)
[22:48:55 INFO]: Stopping server
[22:48:55 INFO]: [Sleeper] Disabling Sleeper v1.10.6
[22:48:55 INFO]: [Sleeper] Sleeper Has Been Disabled!
[22:48:55 INFO]: [voicechat] Disabling voicechat v2.6.20
[22:48:55 INFO]: [Seasons] Disabling Seasons v1.4.0
[22:48:55 INFO]: [Seasons] Seasons plugin has been disabled!
[22:48:55 INFO]: [Essentials] Disabling Essentials v2.22.1-dev+12-776f709
[22:48:55 INFO]: [WorldGuard] Disabling WorldGuard v7.0.17+2370-e42d8bc
[22:48:55 INFO]: [WorldGuard] Shutting down executor and cancelling any pending tasks...
[22:48:55 INFO]: [ViaVersion] Disabling ViaVersion v5.10.0
[22:48:55 INFO]: [ViaVersion] ViaVersion has been disabled; uninjected the platform and shut down the scheduler.
[22:48:55 INFO]: [FastAsyncWorldEdit] Disabling FastAsyncWorldEdit v2.15.2+e9ed0d1
[22:48:55 INFO]: Unregistering com.sk89q.worldedit.bukkit.BukkitServerInterface from WorldEdit
[22:48:55 INFO]: Saving players
[22:48:55 INFO]: DEXORR (6a8bb9dd-d3f7-4cbf-8b37-d1cd30303a37) lost connection: Disconnected
[22:48:55 INFO]: Saving worlds
[22:48:55 INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[22:48:55 INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'minecraft:overworld'
[22:49:55 WARN]: [ChunkHolderManager] Failed to halt generation/loading tasks for world 'minecraft:overworld'
[22:49:55 INFO]: [ChunkHolderManager] Saving all chunkholders for world 'minecraft:overworld'

#### ChatGPT:
The important error is this:

```text
Server attempted to load chunk saved with newer version of minecraft!
4903 > 4790
```

This means **your server is running an older Minecraft version than the world was last opened with.**

- `4903` = the chunk's DataVersion (newer)
- `4790` = the maximum DataVersion your server understands (older)

So one or more chunks in your world were saved by a newer Minecraft version.

### What likely happened

For example:

- You opened the world in **1.21.7**
- Then tried to run it on **1.21.6**

or

- A plugin/server upgraded the world.
- You later downgraded Paper/Purpur/Folia to an older version.

Minecraft does **not** support downgrading worlds.

---

### Why the server shut down

The chunk loading threads threw exceptions while trying to read those chunks:

```
RuntimeException: Server attempted to load chunk saved with newer version
```

The server then began shutting down:

```
Stopping server
Saving worlds
Waiting 60s for chunk system to halt...
Failed to halt generation/loading tasks
```

The "Failed to halt generation/loading tasks" is just a consequence of the chunk loading failures.

---

## The WorldGuard message is unrelated

```
[HorriblePlayerLoginEventHack]
You have plugins listening to the PlayerLoginEvent...
[WorldGuard]
```

This is only a warning about WorldGuard preventing a newer Paper login optimization.

It is **not** the cause of the crash.

---

## How to fix it

### Option 1 (recommended)

Run the server on the **same or newer Minecraft version** that created the world.

If your world was last opened in 1.21.7, use Paper/Purpur/Folia 1.21.7.

---

### Option 2

Restore a backup of the world from before it was opened in the newer version.

---

### Option 3

Delete the affected chunks (only if you don't care about them).

Tools like region editors can remove corrupted/newer chunks, but you'll lose builds in those chunks.

---

## I'd like to identify the exact version

The numbers help identify the versions.

Could you tell me:

1. **What server software are you using?** (Paper, Purpur, Folia, etc.)
2. **What exact Minecraft version is the server running now?**
3. **What version was the world previously opened in?**

Also, if you paste the very beginning of the startup log (the first 30–50 lines), I can tell you exactly which version mismatch caused the `4903 > 4790` error.
