Configuration Guide
Customize LilChunks to perfectly fit your server’s needs with our comprehensive configuration options.Configuration File Location
The main configuration file is located at:After making changes to the configuration, use
/lilchunks reload
to apply them without restarting the server.Default Configuration
Here’s the complete default configuration with explanations:Configuration Sections
Debug Settings
debug
debug
Type:
Default:
Description: Enables detailed debug logging for troubleshooting
boolean
Default:
false
Description: Enables detailed debug logging for troubleshooting
Debug mode generates extensive logs. Only enable when troubleshooting issues.
Chunk Generation Settings
chunks-per-tick
chunks-per-tick
Type:
Default:
Range:
Description: Maximum number of chunks to generate per server tickPerformance Impact:
integer
Default:
4
Range:
1-20
Description: Maximum number of chunks to generate per server tick
- Lower values (1-2): Minimal lag, slower generation
- Medium values (3-6): Balanced performance
- Higher values (7-20): Faster generation, potential lag
Start with the default value and adjust based on your server’s performance.
use-async
use-async
Type:
Default:
Description: Use asynchronous chunk generation (Minecraft 1.17+)Benefits:
boolean
Default:
true
Description: Use asynchronous chunk generation (Minecraft 1.17+)
- Reduces main thread blocking
- Improves server performance
- Better player experience
Async generation is only available on Minecraft 1.17 and higher. On older versions, this setting is ignored.
generate-structures
generate-structures
Type:
Default:
Description: Whether to generate structures (villages, dungeons, etc.)Impact:
boolean
Default:
true
Description: Whether to generate structures (villages, dungeons, etc.)
true
: Full world generation with all structuresfalse
: Faster generation, but no structures
generate-caves
generate-caves
Type:
Default:
Description: Whether to generate cave systemsImpact:
boolean
Default:
true
Description: Whether to generate cave systems
true
: Complete underground generationfalse
: Faster generation, solid underground
generate-features
generate-features
Type:
Default:
Description: Whether to generate world features (trees, ores, decorations)Impact:
boolean
Default:
true
Description: Whether to generate world features (trees, ores, decorations)
true
: Full world decoration and resourcesfalse
: Faster generation, minimal decoration
World Settings
min-height / max-height
min-height / max-height
Type:
Default:
Description: Default world height limits for generationVersion Compatibility:
integer
Default:
-64
/ 320
Description: Default world height limits for generation
- 1.17+: Supports extended height (-64 to 320)
- 1.16 and below: Limited to 0-256
respect-world-height
respect-world-height
Type:
Default:
Description: Use world-specific height settings instead of config defaultsBehavior:
boolean
Default:
true
Description: Use world-specific height settings instead of config defaults
true
: Use each world’s individual height settingsfalse
: Use config values for all worlds
Performance Settings
max-memory-usage
max-memory-usage
Type:
Default:
Unit: Megabytes
Description: Maximum memory usage for chunk generationValues:
integer
Default:
0
(unlimited)Unit: Megabytes
Description: Maximum memory usage for chunk generation
0
: No memory limit (default)>0
: Memory limit in MB
Setting a memory limit may slow down generation but prevents out-of-memory errors.
use-parallel
use-parallel
Type:
Default:
Description: Enable parallel chunk generation processingBenefits:
boolean
Default:
true
Description: Enable parallel chunk generation processing
- Utilizes multiple CPU cores
- Faster generation on multi-core systems
- Better resource utilization
thread-count
thread-count
Type:
Default:
Description: Number of threads for chunk generationValues:
integer
Default:
0
(auto)Description: Number of threads for chunk generation
0
: Auto-detect (recommended)1-16
: Specific thread count
Auto-detection typically uses
CPU cores - 1
to leave resources for the main server thread.Logging Settings
log-progress
log-progress
Type:
Default:
Description: Enable progress logging during generationOutput Example:
boolean
Default:
true
Description: Enable progress logging during generation
progress-interval
progress-interval
Type:
Default:
Unit: Seconds
Description: How often to log progress updatesRecommended Values:
integer
Default:
5
Unit: Seconds
Description: How often to log progress updates
- Fast generation: 5-10 seconds
- Slow generation: 15-30 seconds
detailed-logs
detailed-logs
Type:
Default:
Description: Enable detailed chunk-by-chunk logging
boolean
Default:
false
Description: Enable detailed chunk-by-chunk logging
Detailed logs can generate massive log files. Only enable for debugging specific issues.
Performance Profiles
Here are pre-configured profiles for different server types:High-Performance Server
For powerful dedicated servers:Balanced Server
For most shared hosting and VPS:Low-Resource Server
For budget hosting or limited resources:Speed-Optimized
For fastest generation (may cause lag):Configuration Validation
LilChunks validates your configuration on startup and reload:Valid Configuration
Invalid Configuration
Advanced Configuration
Environment-Specific Settings
You can create different configurations for different environments:Configuration Management
1
Backup Configuration
Always backup your configuration before making changes:
2
Test Changes
Test configuration changes on a development server first.
3
Apply Changes
Use the reload command to apply changes:
4
Monitor Performance
Watch server performance after configuration changes.
Troubleshooting Configuration
Configuration Not Loading
Configuration Not Loading
Symptoms: Changes don’t take effect after reloadSolutions:
- Check YAML syntax with a validator
- Verify file permissions (readable by server)
- Check for hidden characters or encoding issues
- Restart the server if reload fails
Performance Issues
Performance Issues
Symptoms: Server lag after configuration changesSolutions:
- Reduce
chunks-per-tick
value - Disable parallel processing temporarily
- Set memory limits
- Check server resources (CPU, RAM)
Generation Errors
Generation Errors
Symptoms: Chunk generation fails or produces errorsSolutions:
- Enable debug mode temporarily
- Check detailed logs
- Verify world compatibility settings
- Reset to default configuration
Configuration Best Practices
Start Conservative
Begin with lower performance settings and gradually increase based on server capacity.
Monitor Resources
Watch CPU, memory, and TPS during generation to find optimal settings.
Test Changes
Always test configuration changes on a development server first.
Document Settings
Keep notes about what settings work best for your server setup.