Overview
LilWorlds v1.2+ features enhanced world deletion that goes beyond simply removing world files. The deletion process includes comprehensive configuration purging to ensure no orphaned entries remain in your server configuration.Important: World deletion is permanent and cannot be undone. Always create backups before deleting important worlds.
Enhanced Deletion Process
What Gets Deleted
When you delete a world with LilWorlds, the following are removed:World Files
Complete File RemovalAll world files and folders permanently deleted from disk
Configuration Entries
Config PurgingAll references removed from config.yml and worlds.yml
Inventory Groups
Inventory CleanupWorld removed from all inventory separation groups
Player Data
Player ReferencesWorld-specific player data and references cleaned up
Step-by-Step Process
1
Confirmation Required
First command shows detailed warning about what will be deleted
2
Player Evacuation
All players in the world are safely moved to the spawn world
3
World Unloading
World is properly unloaded from server memory
4
Configuration Purging
All configuration entries are removed from all config files
5
File Deletion
World files are permanently deleted from the server disk
6
Cleanup Verification
System verifies all references have been successfully removed
Deletion Commands
Basic Deletion
Advanced Deletion Options
Configuration Purging Details
Main Configuration (config.yml)
The deletion process removes world references from:World Configuration (worlds.yml)
Complete world entry removal:Inventory Group Cleanup
Automatic cleanup of empty groups:Safety Features
Confirmation System
LilWorlds requires explicit confirmation for deletion:Confirmation Message Example
Confirmation Message Example
Player Protection
Before deletion, all players are safely evacuated:Backup Integration
Optional automatic backup before deletion:Deletion Logging
Comprehensive Logging
All deletion operations are thoroughly logged:Security Logging
Security events are logged separately:Recovery Options
Backup Recovery
If you have backups, you can recover deleted worlds:Configuration Recovery
Manually restore configuration entries if needed:1
Stop Server
Safely stop your Minecraft server
2
Restore Config Files
Replace config files with backup versions
3
Restore World Files
Copy world folder back to server directory
4
Start Server
Start server and verify world is accessible
Bulk Deletion
Multiple World Deletion
Delete multiple worlds efficiently:Cleanup Operations
Remove orphaned or unused worlds:Advanced Configuration
Deletion Policies
Configure deletion behavior:Permission-Based Restrictions
Control who can delete worlds:Rate Limiting
Prevent deletion abuse:Monitoring and Alerts
Deletion Monitoring
Track deletion activities:Alert System
Configure alerts for important deletions:Best Practices
Before Deletion
Pre-Deletion Checklist:
- ✅ Verify you have the correct world name
- ✅ Check if anyone is currently using the world
- ✅ Create a backup if the world might be needed later
- ✅ Inform other admins/players about the deletion
- ✅ Document the reason for deletion
Deletion Strategy
Regular Maintenance
Schedule regular cleanup:Troubleshooting
Common Issues
Deletion Fails
Deletion Fails
Symptoms: World deletion command fails or hangsSolutions:
- Check if players are still in the world
- Verify sufficient disk space for operations
- Check file permissions on world folder
- Try unloading world first:
/world unload myworld
- Check console for specific error messages
Configuration Not Purged
Configuration Not Purged
Symptoms: World still appears in config files after deletionSolutions:
- Manually edit configuration files
- Use
/worlds reload
to refresh configs - Check for syntax errors in config files
- Verify
purge-config: true
in settings
Players Not Evacuated
Players Not Evacuated
Symptoms: Players remain in world during deletionSolutions:
- Manually teleport players:
/tp @a spawn
- Check spawn world is loaded and accessible
- Verify teleportation permissions
- Use
/world unload myworld --force
if needed
Recovery Procedures
If deletion goes wrong:1
Stop Server Immediately
Prevent further damage by stopping the server
2
Assess Damage
Check what was actually deleted vs. what should have been
3
Restore from Backup
Use file system backups to restore deleted content
4
Fix Configuration
Manually restore configuration entries if needed
5
Test Thoroughly
Verify everything works before allowing players back
Next Steps
World Cloning
Learn to create backups and copies before deletion
Security Features
Understand rate limiting and access controls
Configuration Guide
Master configuration management and organization
Commands Reference
Complete reference for all deletion commands