Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 253c782c88 | |||
| 6f4a2ffc67 | |||
| 1a5a05cb2f | |||
| 753c06f18c | |||
| daea395c88 | |||
| f857d83618 | |||
| 2301ef8e63 | |||
| e43402effe | |||
| ea91a7c1c1 | |||
| fecc928898 | |||
| 30a366b37f | |||
| e53547dbe5 | |||
| a81ddf077d | |||
| 0472f86c1a | |||
| 1ee6ac4098 | |||
| 4d912ae516 | |||
| 93525880b3 | |||
| 9a6f10b3ff | |||
| 1c410b6948 |
@@ -1,28 +0,0 @@
|
||||
name: testing
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
main:
|
||||
|
||||
name: Transport repo to testing directory
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: alpine/git
|
||||
volumes:
|
||||
- /mnt/host/c/Users/Leter/AppData/Roaming/.minecraft/versions/TeStVISt-server/git-mods/TeStVISt-mods:/workspace/LeterZP/mods
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /workspace/LeterZP/mods
|
||||
|
||||
|
||||
|
||||
steps:
|
||||
- name: main
|
||||
run: |
|
||||
git fetch origin main
|
||||
git reset --hard origin/main
|
||||
@@ -0,0 +1,78 @@
|
||||
name: pull
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
CONTAINER_NAME: mc-neoforge # название контейнера
|
||||
|
||||
jobs:
|
||||
saving:
|
||||
|
||||
name: Save and backup minecraft world
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: alpine/git
|
||||
volumes:
|
||||
- /imp-data/minecraft-backups:/workspace/backups # путь до бэкапов
|
||||
- /opt/minecraft/TeStVISt-mods-server:/workspace/project # путь до модов
|
||||
- /opt/minecraft/data:/workspace/data # путь до данных майнкрафт-сервера
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /workspace/backups
|
||||
|
||||
steps:
|
||||
- name: main
|
||||
run: |
|
||||
LAST_BACKUP_TIME=$(date +%F-%T)
|
||||
mkdir $LAST_BACKUP_TIME
|
||||
cp -R -t $LAST_BACKUP_TIME ../data/world
|
||||
cp -t $LAST_BACKUP_TIME ../project/README.md
|
||||
|
||||
|
||||
|
||||
pulling:
|
||||
|
||||
name: Pull repo to the mods directory
|
||||
runs-on: ubuntu-latest
|
||||
needs: saving
|
||||
|
||||
container:
|
||||
image: alpine/git
|
||||
volumes:
|
||||
- /opt/minecraft/TeStVISt-mods-server:/workspace/project # путь до модов
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /workspace/project
|
||||
|
||||
steps:
|
||||
- name: main
|
||||
run: |
|
||||
git fetch origin main
|
||||
git reset --hard origin/main
|
||||
|
||||
|
||||
|
||||
restarting:
|
||||
|
||||
name: Restart minecraft server
|
||||
runs-on: ubuntu-latest
|
||||
needs: pulling
|
||||
|
||||
container:
|
||||
image: docker
|
||||
|
||||
steps:
|
||||
- name: main
|
||||
run: |
|
||||
docker exec ${{ env.CONTAINER_NAME }} rcon-cli 'tellraw @a {"text":"Подъехала ", "extra":[{"text":"обнова", "underlined":true, "bold":true, "color":"green", "clickEvent":{"action":"open_url", "value":"https://gitea.aklivtsov.tech/LeterZP/TeStVISt-mods-server"}}, {"text":" модов. "}, {"text":"Рестарт", "bold":true, "color":"red"}, {"text":" сервера через "}, {"text":"30 секунд!", "bold":true, "color":"red"}]}'
|
||||
docker exec ${{ env.CONTAINER_NAME }} rcon-cli 'title @a times 10 100 10' && docker exec mc-neoforge rcon-cli 'title @a title {"text":"Подъехала ", "extra":[{"text":"обнова", "bold":true, "color":"green"}, {"text":" модов."}]}' && docker exec mc-neoforge rcon-cli 'title @a subtitle {"text":"", "extra":[{"text":"Рестарт", "bold":true, "color":"red"}, {"text":" сервера через "}, {"text":"30 секунд!", "bold":true, "color":"red"}]}'
|
||||
sleep 30
|
||||
docker exec ${{ env.CONTAINER_NAME }} rcon-cli stop
|
||||
|
||||
|
||||
@@ -39,3 +39,4 @@ config.yaml
|
||||
*CerbonsAPI*
|
||||
*YungsApi*
|
||||
*create-dyn-light*
|
||||
*dzhankoy*
|
||||
@@ -1,4 +1,4 @@
|
||||
# Version 1.5.0s
|
||||
# Version 1.5.8s
|
||||
|
||||
### Mod list:
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
|
||||
- Applied Experienced
|
||||
|
||||
- Extended AE
|
||||
|
||||
- AEInfinityBooster
|
||||
|
||||
- Ballistix
|
||||
|
||||
- Create
|
||||
@@ -70,7 +74,7 @@
|
||||
|
||||
- Farmer's Delight
|
||||
|
||||
- ---(временно отсутствует)--- Brewin' And Chewin'
|
||||
- Brewin' And Chewin'
|
||||
|
||||
- End's Delight
|
||||
|
||||
@@ -148,7 +152,13 @@
|
||||
|
||||
- Simply Bows
|
||||
|
||||
- Dzhankoy
|
||||
- OpenBlocks Elevator
|
||||
|
||||
- Solar Flux Reborn
|
||||
|
||||
- K-Turrets
|
||||
|
||||
- Ciggycraft
|
||||
|
||||
### Compats list:
|
||||
|
||||
@@ -178,7 +188,7 @@
|
||||
|
||||
### Libraries list:
|
||||
|
||||
- Architectury API (Simply Tooltips + JamLib + Brewery + Right Click Harvest + Vinery + Farm & Charm + HerbalBrews + Simply Swords + Simply Bows + Stellaris)
|
||||
- Architectury API (Simply Tooltips + JamLib + Brewery + Right Click Harvest + Vinery + Farm & Charm + HerbalBrews + Simply Swords + Simply Bows + Stellaris + Oritech)
|
||||
|
||||
- Caelus API (Elytra Slot)
|
||||
|
||||
@@ -192,7 +202,7 @@
|
||||
|
||||
- ExperienceLib (Applied Experienced)
|
||||
|
||||
- Geckolib (Mekanism Turrets)
|
||||
- Geckolib (Mekanism Turrets + Oritech)
|
||||
|
||||
- GlitchCore (Biomes O'Plenty)
|
||||
|
||||
@@ -223,3 +233,9 @@
|
||||
- Fzzy Config (Simply Swords + Simply Tooltips + Simply Bows)
|
||||
|
||||
- Potentials
|
||||
|
||||
- Glodium (Extended AE)
|
||||
|
||||
- HammerLib (Solar Flux Reborn)
|
||||
|
||||
- Satako (K-Turrets)
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user