FAQ
How do I AFK in singleplayer?
Singleplayer has no server to connect to — here are the two ways around that.
By the AFKCore Team
A bot needs a server address to join. Singleplayer worlds run inside your own game, so there's nothing to connect to — unless you expose the world.
Option 1: host the world on a server
Copy the world to a small hosted server (any Minecraft host works) and add its address as a server profile. This is the reliable option: the world runs 24/7 even when your PC is off.
Option 2: Open to LAN
- In your world, press Esc → Open to LAN and note the port.
- Forward that port on your router to your PC.
- Add
your-public-ip:portas a server profile.
Your PC and the game must stay open the whole time, which defeats most of the point. We recommend option 1.