Similar to what has been available for players of the Java Edition, dedicated Bedrock servers allow players on the Bedrock editions of Minecraft to set up their own servers at home on Windows and Linux computers, or host their server using a cloud-based service.
Dedicated Servers for Minecraft on Bedrock
DockerHub - Minecraft Bedrock Dedicated Server with selectable version
docker run -d -it -e EULA=TRUE -e UID=1000 -e GID=1000 -e GAMEMODE=survival -e DIFFICULTY=easy \ -e ONLINE_MODE=false -e PLAYER_IDLE_TIMEOUT=60 -e LEVEL_NAME=Minefriend \ -p 19132:19132/udp -v /home/user/mc-bedrock-data:/data itzg/minecraft-bedrock-server
Docker-compose
version: '2' services: minecraft-bedrock-server: image: itzg/minecraft-bedrock-server environment: VERSION: latest EULA: "TRUE" # GAMEMODE: creative GAMEMODE: survival SERVER_NAME: SB129 # ALLOW_CHEATS: "true" ports: - 19132:19132/udp volumes: - minecraft_data:/data stdin_open: true tty: true
DockerHub - Minecraft server with dynamic version, server types, and modpack support
mkdir -p mc/data cd mc nano docker-compose.yml
version: '3.9' services: mc: image: itzg/minecraft-server container_name: mc restart: unless-stopped environment: EULA: "true" TZ: "Europe/Moscow" ENABLE_ROLLING_LOGS: "true" DIFFICULTY: "easy" MODE: "survival" ONLINE_MODE: "false" SERVER_NAME: "My server" ports: - 25565:25565 volumes: - ./data:/data
[init] Starting the Minecraft server... Error: LinkageError occurred while loading main class net.minecraft.bundler.Main java.lang.UnsupportedClassVersionError: net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0 2024-04-24T12:48:15.390+0300 WARN mc-server-runner Minecraft server failed. Inspect logs above for errors that indicate cause. DO NOT report this line as an error. {"exitCode": 1}
Решение - скачать новый образ и перезапустить контейнер.
docker pull docker-compose up -d docker image prune -f
Можно использовать как пример java-приложения для деплоя, например, через Ansible.
https://www.minecraft.net/ru-ru/download/server
https://minecraft.wiki/w/Tutorials/Setting_up_a_server
sudo apt install openjdk-21-jre-headless curl https://piston-data.mojang.com/v1/objects/59353fb40c36d304f2035d51e7d6e6baa98dc05c/server.jar -o deploy/files/minecraft.jar cd deploy/files # [08:37:51] [ServerMain/WARN]: Failed to load eula.txt # [08:37:51] [ServerMain/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info. echo "eula=true" > eula.txt java -Xmx1024M -Xms1024M -jar minecraft.jar nogui
Каталоги в /data
Туда нужно копировать соответствующие пакеты дополнения
.mcaddon - архив, содержащий всё необходимое, это переименованный zip. Нужно открыть его и распаковать каталоги в соответствующие папки в /data.
После перезапуска сервера проверить valid_known_packs.json - файл, где перечислены пакеты, там должны появиться добавленные дополнения.
Создать в папке «/data/worlds/Bedrock level» 2 файла, где будут ссылки на добавленные дополнения в /data/*_packs:
touch world_resource_packs.json touch world_behavior_packs.json
В эти файлы нужно добавить uuid и version из соответствующих файлов /data/*_packs/addonName/manifest.json uuid нужно заменить на pack_id:
[ { "pack_id": "02f9e909-1ee2-436e-b622-7a56a40dcfc8", "version": [ 1, 0, 0 ] } ]
https://youtu.be/nWBM4UFm0rQ?t=1379
Minecraft add-ons
Installing Addons (Minecraft Bedrock Edition)
Местоположение каталогов дополнений:
cd "%userprofile%\AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang"
https://mcpedl.com/bendy-and-the-ink-machine-add-on
The addon has music if you want to disable it type in
/function bruh
Для java.
https://lifehacker.ru/kak-ustanovit-mody-na-minecraft/
https://files.minecraftforge.net/
https://www.curseforge.com/minecraft/mc-mods/wizard-staff
# положить туда .jar $env:appdata\.minecraft\mods
For Minecraft PE: https://mcpedl.com/portal-gun-add-on
Before Installing:
Experimental Mode must be turned on in your world.
For Minecraft PE: https://mcpedl.com/avatar-the-last-airbender/
Avatar Mod 2: Out of the Iceberg (Java): https://www.curseforge.com/minecraft/mc-mods/avatar-mod-2-out-of-the-iceberg
CC: Tweaked is a fork of ComputerCraft, adding programmable computers, turtles and more to Minecraft.
https://www.curseforge.com/minecraft/mc-mods/cc-tweaked
del $env:appdata\.minecraft\mods\cc-tweaked-*.jar mv $env:userprofile\downloads\cc-tweaked-*.jar $env:appdata\.minecraft\mods
«Крутая», «более реалистичная» графика. Для Java.
https://www.curseforge.com/minecraft/mc-mods/sekwah41s-naruto-mod
Требует https://www.curseforge.com/minecraft/mc-mods/sekclib
Для PE.
https://mcpedl.com/sonic-land-add-on/
Yes, but it depends on what platform you’re playing Bedrock on. You can use custom skins on mobile (iOS, Android, Fire OS, Windows 10 Mobile) and Windows 10. Consoles (Xbox One, Switch) cannot.
https://www.reddit.com/r/Minecraft/comments/a0p789/can_minecraft_skins_in_java_edition_be/