-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/FuncFusion/antbot
- Loading branch information
Showing
23 changed files
with
67 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Update Bot | ||
on: | ||
push: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy-via-sftp: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: SFTP Deploy | ||
uses: wlixcc/[email protected] | ||
with: | ||
username: root | ||
server: ${{ secrets.SERVER_IP }} | ||
port: 22 | ||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
local_path: ./* | ||
remote_path: /home/antbot/ | ||
args: '-o ConnectTimeout=5' | ||
|
||
restart-bot: | ||
needs: [deploy-via-sftp] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Restart Bot via SSH | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.SERVER_IP }} | ||
username: root | ||
key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
script: | | ||
echo "Starting or restarting the Antbot service" | ||
sudo systemctl restart antbot-watcher.service | ||
echo "Workflow completed" | ||
script_stop: true | ||
timeout: 60s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions
8
assets/faqs/чёрно-фиолетовая текстура/чёрно-фиолетовая текстура.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## {missing} У моего предмета чёрно-фиолетовая текстура, как исправить? | ||
Одна из самых частых проблем при создании кастом модели предмета — это чёрно-фиолетовая текстура (missing texture), которая говорит о том, что майнкрафту не удаётся загрузить текстуру вашему предмету. Учтите, что эта факьюшка рассказывает в первую очередь про ванильное изменение модели предмета, у всех иных методов эти способы решения могут не сработать. | ||
### Решение: | ||
1. Убедитесь, что сама модель предмета изменена. Если вместо вашей модели предмета — просто куб, то это значит, что майну не удаётся загрузить и саму модель предмета, а это уже другая проблема. | ||
2. Проверьте расположение ваших текстур. Они должны находиться в папке `assets/minecraft/textures/item` или `assets/minecraft/textures/block`, если нет, то переместите текстуры в одну из этих папок, или же вам придётся создавать атласы, которые дают майнкрафту знать о текстурах вне дефолтных расположений. | ||
---separator--- | ||
3. Теперь зайдите в ваш файл модели любым текстовым редактором и в начале файла вы увидите объект `textures` — подобно тому, что на скрине. `item/custom_texture`, `block/gray_concrete`, `item/another_texture` — это всё **пути** к текстурам, они дают майнкрафту понять, *где* надо найти текстуры для этого предмета. Если вы правильно укажете эти пути, то большой шанс, что это исправит проблему. Пути работают просто — майнкрафт ищет текстуры внутри папки `assets/minecraft/textures`, последнее название в вашем пути — это название файла, все остальные — названия подпапок. То есть, например, `item/custom_texture` говорит майнкрафту, что ему надо искать текстуру по пути `assets/minecraft/textures/item/custom_texture.png`, а `custom/something/random/stuff` говорит, что по пути `assets/minecraft/textures/custom/something/random/stuff.png`. | ||
4. Если до сих пор проблема не решена, то уже пора заглянуть в логи (используйте факьюшку `?логи`, чтоб узнать, как их достать). С помощью поиска по файлу (чаще всего — `ctrl+f`) найдите слова `Unable to load`, рядом с ними будет указана причина, почему ваша текстура не грузится. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters