Server setupPlayer Is Already Removed From Player Chunk Loader (Folia)
What the log looks like
java\.lang\.IllegalStateException: Player is already removed from player chunk loader
io\.papermc\.paper\.chunk\.system\.RegionizedPlayerChunkLoader\.removePlayer
How to fix it
- Check the stack trace right below 'Could not pass event PlayerJoinEvent' or look for plugin .jar names (such as AuthMe, spawn plugins, or custom plugins) to identify the offending plugin.
- Update the identified plugin to a version explicitly built for Folia compatibility, or disable its join-teleport / join-kick feature in its configuration.
- If a plugin like AuthMe is teleporting players to a login spawn on join, disable its spawn-on-join setting or replace it with a Folia-native authentication/spawn plugin.
- If you are the plugin developer, stop calling player.kick() or player.teleportAsync() inside PlayerJoinEvent: use AsyncPlayerPreLoginEvent or PlayerLoginEvent to reject logins, use PlayerSpawnLocationEvent to set initial join coordinates, or delay the action by 1 tick using player.getScheduler().run().
| Loaders | Server |
|---|
| Severity | Breaks something |
|---|
| Category | Server setup |
|---|
Check your own log