owu-1 / minecraft-server Goto Github PK
View Code? Open in Web Editor NEWmy minecraft stuff
License: MIT License
my minecraft stuff
License: MIT License
When we wipe worlds we want to know what datapacks are supposed to go in the new world
The backup container is supposed to make a .tar.gz backup of the worlds folder every day but this fails to a permission error. When I have time I'll play around with it a bit more. Could use a systemd service based on what I had before though but i'd rather a container. If messing around with this please backup the world and do it when no ones on.
minecraft-backup.service
[Unit]
Description=Daily minecraft backup
[Service]
Type=oneshot
Environment="TZ=Australia/Brisbane"
ExecStart=/bin/find /home/core/minecraft/smp/backups -type f -mtime +0 -exec rm {} \;
ExecStart=/bin/bash -c '/usr/bin/tar -czf /home/core/minecraft/smp/backups/$(date +"%%Y-%%m-%%d").tar.gz /home/core/minecraft/smp/data/{world,world_nether,world_the_end} \
|| ( export exitcode=$?; [[ $exitcode -eq 1 ]] || exit $exitcode )'
ExecStart=/bin/find /home/core/minecraft/hardcore/backups -type f -mtime +0 -exec rm {} \;
ExecStart=/bin/bash -c '/usr/bin/tar -czf /home/core/minecraft/hardcore/backups/$(date +"%%Y-%%m-%%d").tar.gz /home/core/minecraft/hardcore/data/{world,world_nether,world_the_end} \
|| ( export exitcode=$?; [[ $exitcode -eq 1 ]] || exit $exitcode )'
minecraft-backup.timer
[Unit]
Description=Run daily minecraft backup
[Timer]
OnCalendar=*-*-* 06:00:00 Australia/Brisbane
Persistent=true
[Install]
WantedBy=timers.target
When DiscordSRV cannot communicate with Discord, it spams the console with stack traces.
Related to DiscordSRV issue 1200
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.