Compare commits

..

No commits in common. "033f02e39ea7c2501e70bc1a6ba003ec1de5019c" and "e6486d0fe10d1f843e56afd1149de726fd6e9804" have entirely different histories.

View file

@ -50,12 +50,12 @@ OR
Clone the Git repository to a base directory.
```bash
-```bash
git clone [https://git.geigernet.eu/rainer/luanti-web.git](https://git.geigernet.eu/rainer/luanti-web.git) /opt/luweb
cd /opt/luweb
# Make all scripts executable
chmod +x generate_map.sh generate_site.sh check_server_status.sh check_dependencies.sh sync_players.sh sync_areas.sh
```
-```
### 2. Global Configuration
@ -67,7 +67,7 @@ The system is designed so that **only worlds with a `web.conf` file** will be di
## 📂 Directory Structure
```md
-```md
/opt/luweb/
├── config.sh
├── generate_map.sh
@ -88,13 +88,13 @@ The system is designed so that **only worlds with a `web.conf` file** will be di
└── <world_name>/
├── map.png
└── map_info.txt
```
-```
## 🚀 Usage & Automation (Cronjob)
The scripts are designed for automated execution. Set them up using `crontab -e`.
```bash
-```bash
# (Frequently) Update player and server status
* * * * * cd /opt/luweb && ./sync_players.sh >> /var/log/luweb/cron.log 2>&1
*/5 * * * * cd /opt/luweb && ./check_server_status.sh >> /var/log/luweb/cron.log 2>&1
@ -105,7 +105,7 @@ The scripts are designed for automated execution. Set them up using `crontab -e`
# (Infrequently) Sync area data and rebuild the static site
45 */12 * * * cd /opt/luweb && ./sync_areas.sh >> /var/log/luweb/cron.log 2>&1
30 */12 * * * cd /opt/luweb && ./generate_site.sh >> /var/log/luweb/cron.log 2>&1
```
-```
## 📄 License
**MIT License**