mirror of
https://github.com/ceratic/project_vollidioten_website.git
synced 2026-05-14 00:16:47 +02:00
- Added world map page with interactive marker display - Implemented admin map management for marker CRUD operations - Added map layers and markers seed data to database - Integrated new routes for map functionality - Updated database configuration for production environment - Added documentation page route - Enhanced package.json with required dependencies for map features
2.8 KiB
2.8 KiB
Map Setup Guide
This guide explains how to set up the world map feature with Xaero's World Map PNG files.
Prerequisites
- Xaero's World Map Mod: Install the Xaero's World Map mod on your Minecraft server
- Map Generation: Generate the world map by exploring your Minecraft world
- PNG Export: Export the map as PNG files using Xaero's World Map
Step 1: Generate Map in Minecraft
- Install Xaero's World Map mod on your Minecraft server
- Have players explore the world to generate map data
- The mod will automatically create PNG files in the server's data directory
Step 2: Locate PNG Files
The PNG files are typically located in:
<server_directory>/world/XaeroWaypoints/dim0/
Look for files named like:
xaero_map_0_0.pngxaero_map_1_0.pngxaero_map_0_1.png- etc.
Step 3: Upload Files to Backend Container
The map tiles should be uploaded to the backend container's uploads/map/ directory:
- For Docker Setup: Upload PNG files to the
uploads/map/directory inside the backend container - For Direct Upload: Use the file upload functionality in your admin panel to upload PNG files to
uploads/map/ - File Naming: Ensure files follow the pattern
xaero_map_x_y.png(e.g.,xaero_map_0_0.png,xaero_map_1_0.png)
Note: The map assembly process automatically looks for tiles in the backend's uploads/map/ directory.
Step 4: Run Map Assembly
- Go to
/admin/map-managementin your admin panel - Click "Karten-Zusammenstellung starten"
- The system will automatically process all PNG files and create the web map
Troubleshooting
No Tiles Found
- Ensure PNG files are in the correct directory
- Check that files follow the naming pattern
xaero_map_x_y.png - Verify file permissions allow the server to read the files
Assembly Fails
- Check server logs for error messages
- Ensure sufficient disk space for processing
- Verify PNG files are not corrupted
Map Not Displaying
- Check that the assembly completed successfully
- Verify the
map-metadata.jsonfile was created - Ensure the frontend can access the generated map tiles
Example Directory Structure
projekt_vollidion_website/
├── map-tiles/
│ ├── xaero_map_0_0.png
│ ├── xaero_map_1_0.png
│ ├── xaero_map_0_1.png
│ ├── xaero_map_1_1.png
│ └── ...
├── backend/
├── frontend/
└── ...
Performance Notes
- Large maps (100+ tiles) may take several minutes to process
- The assembly process is memory-intensive for very large maps
- Consider using a powerful server for initial map generation
Support
If you encounter issues:
- Check the browser console for JavaScript errors
- Review the server logs for backend errors
- Verify all PNG files are valid and accessible
- Ensure the map-tiles directory exists and is writable