Installing Craftlio
This guide takes you from nothing to a Minecraft server your friends can join, step by step. Most people are done in about ten minutes. You don't need to know any commands: everything happens in a setup window that asks before it changes anything, and then in your browser.
Contents
- What you need
- Download Craftlio
- Run the setup
- Create your owner account
- Create your first server
- Let friends join from the internet
- Use Craftlio away from home (optional)
- Put Craftlio on your phone
- Run more than one server at a time
- Keeping Craftlio up to date
- Uninstalling
- If something goes wrong
1. What you need
| A Windows machine | Windows 10 or 11, 64-bit. A desktop that stays on is ideal; a laptop works while it's awake. |
| Memory | About 2 GB for Windows plus what you give each server: 2–4 GB for a small vanilla or Paper server, 6–10 GB for a big modpack. |
| Disk space | A few GB per server, plus room for backups (another drive is best). |
| Internet | To download Craftlio, Java and the server software. Friends joining from outside your home also need the router step in section 6. |
| Administrator rights | Only for two optional steps (Windows Firewall and the network meter). Craftlio itself runs as you. |
You don't need to install Java or Node.js yourself: the setup installs Node.js for you, and Craftlio downloads the right Java for each Minecraft version.
2. Download Craftlio
The quick way: open PowerShell (press the Windows key, type powershell, press Enter) and paste:
irm https://craftlio.xyz/install.ps1 | iex
It downloads the newest Craftlio into C:\Craftlio (or a folder you type), and starts the setup from step 3, so you can skip the rest of this section. Running it again later updates Craftlio and keeps your servers and settings.
Or by hand:
- Download Craftlio.zip from craftlio.xyz (always the newest version).
- Unblock the zip before you unzip it. Right-click
Craftlio.zip→ Properties → tick Unblock at the bottom → OK. (Windows marks downloaded files; unblocking stops it asking about every script inside.) - Right-click the zip → Extract All… and choose a permanent home, for example
C:\Craftlio.- Avoid
Downloads, the Desktop and OneDrive folders: they get cleaned up or synced, and your servers' data lives here.
- Avoid
3. Run the setup
Open the folder you extracted and double-click setup.cmd. A window opens and walks through six steps. Press Enter to accept the suggestion in [brackets], or type your own answer.
If Windows shows "Windows protected your PC", click More info → Run anyway. Craftlio's scripts aren't signed with a paid certificate, so Windows doesn't recognise them yet.
| Step | What it asks | What to choose |
|---|---|---|
| 1. Node.js | Installs Node.js (what Craftlio runs on) with Windows' own installer, winget, if it's missing. | Press Enter (yes). If it then says "close this window and run setup again", do exactly that. |
| 2. Folders and port | Where servers go (C:\MinecraftServers), where backups go (C:\MinecraftBackups), and the port Craftlio uses (1999). | The suggestions are fine. If you have a second drive, put backups there, e.g. D:\MinecraftBackups. You can change both later. |
| 3. Start with Windows | Starts Craftlio hidden whenever you sign in to Windows. No admin rights needed. | Yes, unless you'd rather start it yourself with start.bat. |
| 4. Windows Firewall | Lets phones and laptops at home open Craftlio, and players join: TCP 1999, TCP 25565–25574, UDP 19132 (Bedrock), UDP 24454 (voice chat). Home network only. | Yes, then click Yes when Windows asks for administrator rights. |
| 5. Network meter (optional) | A small helper that shows your players' own network traffic separately from everything else on the machine. | No is fine. You can add it later by running install-net-helper.ps1. |
| 6. Done | Starts Craftlio and opens it in your browser. | Carry on below. |
Running the setup again later is safe: it shows what's already done and only changes what you choose.
4. Create your owner account
Your browser opens http://localhost:1999.
- Choose a username and a password (at least 10 characters), then Create owner account.
- For safety, the owner account can only be created from this machine or another device on your home network.
- You're in. Later you can add accounts for friends who help run things, with their own permissions, in Accounts.
- Worth doing soon: on your Account page, turn on Two-factor sign-in or add a Passkey (fingerprint, face or PIN).
From now on, open Craftlio at http://localhost:1999 on this machine, or http://<this machine's address>:1999 from another device at home (the address is shown in System).
5. Create your first server
- Click Add server (on the Servers page) or New server on the dashboard.
- Type: pick the software.
- Paper for a vanilla-style server with plugins (the usual choice), Vanilla for plain Minecraft, Fabric, Quilt, Forge or NeoForge for mods, Velocity for a proxy that links several servers, or a modpack from Modrinth, CurseForge or FTB. You can also upload a
.mrpackor CurseForge zip you made.
- Paper for a vanilla-style server with plugins (the usual choice), Vanilla for plain Minecraft, Fabric, Quilt, Forge or NeoForge for mods, Velocity for a proxy that links several servers, or a modpack from Modrinth, CurseForge or FTB. You can also upload a
- Version: pick the Minecraft version your players use.
- Details: a name, how much memory to give it (6 GB is suggested; less is fine for a small vanilla or Paper server), the game port (
25565for the first server), game mode, difficulty, max players and whitelist. - EULA: read and accept Minecraft's End User License Agreement. Every Minecraft server needs this.
- Create. Craftlio downloads everything, including the right Java, and shows a live install log.
- Press Start. When it says Online, join from Minecraft:
- on this machine: Multiplayer › Add Server, address
localhost - from another computer at home: the Home network address shown on the server's Overview, e.g.
192.168.1.20:25565
- on this machine: Multiplayer › Add Server, address
If the whitelist is on, add your friends' names on the server's Players page (or send them an invite link).
Already have a server? On the New server page, press Bring in a server I have and type its folder (the one with server.properties in it). Craftlio works out what it is (Paper, Purpur, Spigot, Fabric, Quilt, Forge, NeoForge, Mohist, Vanilla or Velocity), its version, port and memory. Use it where it is, or let Craftlio copy it into its own servers folder and leave the original untouched.
6. Let friends join from the internet
Your router decides what the internet can reach. First, open System and look at Can friends reach this home? under Network:
- Yes: carry on below.
- Probably not (CGNAT) or a second router in front of yours: port forwarding can't work from here. Ask your internet provider for a public IPv4 address, or use a game tunnel instead: press Set up a game tunnel and follow the four steps (playit.gg is free for Minecraft). Then give friends the tunnel's address.
The automatic way: on the server's Overview, turn on Open the port on my router. While the server runs, Craftlio asks your router to forward its port (plus Bedrock and voice chat when installed) and closes it again when the server stops. This needs UPnP, which most routers have; if yours says no, turn UPnP on in its settings, or:
By hand:
- Forward the game port on your router. Open your router's settings page (often
192.168.1.1or192.168.0.1; the address and password are usually on a sticker on the router), find Port forwarding (sometimes under NAT, Virtual server or Gaming), and add:- TCP 25565 (or the port of your server, shown on its Overview) → this machine's home address (the Home network address on the Overview, without the
:port) - Bedrock crossplay also needs UDP 19132; Simple Voice Chat needs UDP 24454.
- TCP 25565 (or the port of your server, shown on its Overview) → this machine's home address (the Home network address on the Overview, without the
- Check it works: on the server's Overview, press Test from internet. It asks an outside service to connect to you.
- Give friends the address shown as Internet on the Overview.
- (Optional) Join by name: with a domain on Cloudflare, set System › Join address and Craftlio keeps a name like
play.example.compointed at your home, even when your internet provider changes your address.
Never forward port 1999 (Craftlio itself). To use Craftlio away from home, use the next section instead.
7. Use Craftlio away from home (optional)
The safe way is a free Cloudflare Tunnel. It gives Craftlio an https:// address without opening any ports, and phone notifications and passkeys need https.
- Have a domain on Cloudflare (a free Cloudflare account is enough).
- In the Cloudflare dashboard: Zero Trust › Networks › Tunnels › Create a tunnel → Cloudflared, name it (e.g.
craftlio), and run the install command it shows on this machine (in an administrator window). - Add a public hostname, for example
mc.example.com, pointing tohttp://localhost:1999. - Open
https://mc.example.comfrom anywhere and sign in.
8. Put Craftlio on your phone
Open Craftlio's address in your phone's browser, then:
- Android (Chrome): menu ⋮ → Add to Home screen / Install app
- iPhone (Safari): Share → Add to Home Screen
It opens like an app, with a bottom bar. To get alerts (a crash, a friend joining) on the phone, turn them on under Notifications on your Account page; this needs the https address from section 7.
9. Run more than one server at a time
By default Craftlio runs one Minecraft server at a time, so one world gets all the memory. To run more:
- Open System and find Servers at once in the Storage card.
- Choose how many and press Save. Free runs up to 2 at once; Craftlio Plus runs up to 6.
Each running server uses the memory you gave it, so make sure they fit together (for example three 4 GB servers on a machine with 16 GB). Under the setting, Craftlio shows whether your biggest servers fit, and before each start it checks there's enough free memory (you can still press Start anyway). Give each server its own port (25565, 25566, …): the wizard suggests a free one, and you can change it on the server's Setup page. A Velocity proxy doesn't count towards the limit.
Craftlio Plus ($10 a year, craftlio.xyz) raises the limit from 2 to 6 servers at once, on up to 2 machines. To turn it on:
- Get Plus on craftlio.xyz/account (you sign in with an emailed link; no password).
- In Craftlio, open System › Craftlio Plus and press Link my craftlio.xyz account. Craftlio shows a short code and opens craftlio.xyz, where you approve it. Craftlio picks it up by itself.
Craftlio then checks your licence once a day. Without internet, Plus keeps working for 30 days after the last check. Losing Plus never stops a running server: it only stops more than 2 from starting. Cancel any time from your account page (Manage billing); Plus keeps working until the end of the year you paid for.
Keep the machine awake: a sleeping machine takes every server offline, so by default Craftlio stops Windows from going to sleep while a server runs (System › Keep this machine awake: while a server runs, only while players are on, or never). The screen can still turn off; closing a laptop's lid still does what Windows is set to do.
Family controls: on a server's Players page you can set when it can be played (school days and weekends), a daily time limit per player, and a chat word filter. Players get a warning before their time is up, then a friendly message saying when they can come back. Operators aren't limited.
10. Keeping Craftlio up to date
System › Craftlio version shows when a new version is out. Press Update: Craftlio downloads it, keeps your data and servers exactly as they are, saves the previous version in data\app-backups, and restarts itself. Running Minecraft servers keep running through the update.
Your settings, accounts and server list live in the data folder next to Craftlio. Craftlio also copies them every day into your backups folder (_minedash), so they're safe even if this machine's drive fails.
11. Uninstalling
- Stop your Minecraft servers in Craftlio.
- In the Craftlio folder, right-click
uninstall-autostart.ps1→ Run with PowerShell (stops Craftlio and removes the start-with-Windows task). - If you installed the network meter: right-click
uninstall-net-helper.ps1→ Run with PowerShell. - (Optional) remove the firewall rules: open Windows Defender Firewall with Advanced Security → Inbound Rules and delete the rules that start with Craftlio.
- Delete the Craftlio folder.
Your servers and backups are in their own folders (C:\MinecraftServers and C:\MinecraftBackups by default) and are not deleted. Remove them yourself if you don't need them.
12. If something goes wrong
| Problem | What to do |
|---|---|
| Setup says Node.js was installed but closes | Close the window and double-click setup.cmd again: Windows only finds a newly installed Node.js in a new window. |
| The browser says it can't connect to localhost:1999 | Wait a few seconds and refresh. If it still fails, run start.bat to start Craftlio in a window and read what it says. If another program uses port 1999, run the setup again and pick another port. |
| "Create owner account" says to use your home network | Open Craftlio on the machine itself (http://localhost:1999) or another device on the same Wi-Fi. |
| Phones at home can't open Craftlio | Run setup step 4 (firewall) again, and make sure Windows treats your home network as Private: Settings › Network & internet › Wi-Fi / Ethernet › your network › Private. |
| Friends can't join from outside | Use Test from internet on the Overview. If it fails: check System › Can friends reach this home?, that the port forward points at the right address and port (or that Open the port on my router shows Open on the router), that the server is running, and the firewall step above. If your internet address is shared (CGNAT), use a game tunnel (section 6). |
| A server crashes | Open its Overview and press What went wrong: the crash doctor explains it and offers the fix (a missing mod, more memory, the right Java, …). |
| The server lags | On its Overview, press Why is it lagging? (it also appears at the top when ticks drop). The lag doctor looks at tick time, what's piling up in the world (dropped items, XP orbs, villagers…), view distance and the machine, and offers fixes. Profile lag goes deeper with spark. |
| "Not enough free memory" | Another server or program is using the memory. Stop one, give this server less memory in Setup, or press Start anyway. |
| "… is running, the most allowed at once" | Stop that server first, or allow more servers at once (section 9). Above 2 needs Craftlio Plus. |
| Something else | Email [email protected] with what you did and what you saw. Craftlio's own messages are in minedash.log in the Craftlio folder (or start it with start.bat to see them in a window); they usually point at the cause. |
