Overview
Minecraft Web Client includes a fully integrated JavaScript server (based on Flying Squid) that runs entirely in your browser. This enables true singleplayer gameplay with world generation, saving, and all the features you’d expect from a local Minecraft server.Your singleplayer worlds run completely in your browser - no external server required!
Creating a New World
There are multiple ways to start a singleplayer world:- Empty World (Quick Start)
- With Version
- Load Existing Save
Use the
?singleplayer=1 or ?sp=1 query parameter to create an empty world instantly:World Generation
The integrated local server provides basic world generation capabilities:- Flat terrain generation - Simple world generation for quick building
- Custom world types - Support for different generator options
- Chunk loading - Generates new chunks as you explore
World generation is simpler than vanilla Minecraft. Complex terrain features may generate differently.
Generation Limitations
- Import existing world files
- Stay within pre-generated areas
- Use
/exportfrequently to backup progress
The Local Server
The integrated server is a full implementation that:- Runs entirely in JavaScript (via Flying Squid)
- Handles all game logic server-side
- Manages world data and persistence
- Supports multiplayer via P2P (see P2P Multiplayer)
Unsupported Features
Some features are not available in the local server:Saving Your World
Worlds can be saved in multiple ways:Automatic Saving
By default, worlds are saved:- On a regular interval during gameplay
- When you disconnect from the world
- When you close the browser (if supported)
Manual Saving
Use the/save command in chat to manually save your world:
You’ll see a confirmation message: “Saved to browser memory”
Disable Auto-Save
To prevent automatic saving (useful for testing), use the?noSave=true parameter:
Exporting Worlds
Export your world to download it as a ZIP file:Server Configuration
Advanced users can configure the local server with query parameters:Server Settings
Use?serverSetting=<key>:<value> to configure server options:
Available Server Settings
Available Server Settings
Server settings are defined in the Flying Squid module options. See the Space Squid repository for available options.
Gameplay Modes
Switch between game modes using F3+F4 or the/gamemode command:
Creative
Full flying, instant breaking, unlimited resources
Survival
Standard gameplay with health and hunger
Adventure
Limited block breaking, good for custom maps
Spectator
Fly through blocks, observe without interaction
World Data Access
For debugging and advanced usage, access world data via the browser console:See Global Variables for more console commands.
Best Practices
Regular Backups
Regular Backups
Export your world frequently using
/export. Browser data can be cleared accidentally, so keep offline backups!Version Compatibility
Version Compatibility
Stick to first-class versions (1.19.4, 1.21.4) for the most stable experience.
Memory Management
Memory Management
Large worlds consume browser memory. If you experience lag:
- Limit exploration to reduce loaded chunks
- Export and reload to clear memory
- Use smaller render distances
World Compatibility
World Compatibility
Worlds created in the web client can be exported and used in:
- Vanilla Minecraft Java Edition
- Other Minecraft servers (with compatible versions)
- Imported back into the web client later
Troubleshooting
World generation issues: If new chunks appear broken, reload chunks with F3+A or export and reimport the world.
