docker-minecraft-bedrock-server icon indicating copy to clipboard operation
docker-minecraft-bedrock-server copied to clipboard

NOOB question on modpacks/texture packs.

Open DarkVentHead opened this issue 3 years ago • 13 comments

How... just how?

My kids have some texure packs and modpacks they want me to put on. And i haven't the slightest clue on the how/where these will go. docker-compose listed for reference.

version: '3.4'

services: mcb1: container_name: mcb1 image: itzg/minecraft-bedrock-server environment: OVERRIDE_OPS: "TRUE" MAX_PLAYERS: 50 ALLOW_NETHER: "TRUE" OPS: "moved,moved" SERVER_NAME: "Creative Server..." MOTD: "Creative Server..." EULA: "TRUE" GAMEMODE: creative DIFFICULTY: normal

ports:
  - 19132:19132/udp
volumes:
  - /mnt/mc/mcb1/data:/data
stdin_open: true
tty: true

DarkVentHead avatar Jul 03 '21 22:07 DarkVentHead

Unfortunately I haven't heard of anyone getting the server side behavior/data packs etc working. Mojang labels the bedrock dedicated server as an alpha version and I suspect this is one of the reasons why.

itzg avatar Jul 04 '21 14:07 itzg

Gotcha. So in order to get any kind of packs working i need to fire up a java server? Stupid question - Can bedrock edition connect to java servers or vice versa?

DarkVentHead avatar Jul 04 '21 17:07 DarkVentHead

Yeah, if they're talking about modpacks then they might be thinking of Java edition...however, yes I have heard about some proxies that'll let bedrock clients connect to Java edition servers, but that's way beyond my expertise and I'm not sure how much would work for the clients.

Speaking of which, I'm also not sure if most bedrock packs are simply client side only.

itzg avatar Jul 04 '21 19:07 itzg

I am a high school student in taiwan and my English isn't very good

I don’t know if this answers your question To install texture packs and mod packs in minecraft-bedrock-server

First On the phone, open minecraft, set the file storage location to be external, and enable texture packs and mod packs when creating the world Close the program after creation

Go to file manager Internal storage space/games/com.mojang/minecraftWorlds/"Select the world just created" Select these two folders behavior_packs resource_packs With these four json files world_behavior_pack_history.json world_behavior_packs.json world_resource_pack_history.json world_resource_packs.json move to worlds/"levelname" Under the directory Restart minecraft-bedrock-server Will succeed

sao-coding avatar Jul 06 '21 07:07 sao-coding

@DarkVentHead If you don't mind me asking, how old are your kids and what kind of device are they playing minecraft on? If they are playing on a computer do you know if it is Java or Bedrock? I've not seen OVERRIDE_OPS, ALLOW_NETHER, etc. as options for Bedrock before so am thinking it might be for Java.

I ask about their ages because I've been tossing around the idea of a kid/parent friendly self-hosted minecraft server admin suite for over a year now that illustratedilluminator and I have worked a bit on already for Bedrock version. We both just got busy and then my sons moved on to the Java version so now it would need to manage both versions.....my experimental Bedrock image does exactly this. It takes compressed addons found in the data directory and automatically adds them to the server....the admin suite would have functionality built in to automatically download compatible & parent approved add-ons when launching servers.

@itzg Sorry for hijacking your project issue slightly. Just trying to collect some info since I'm not quite ready to go public with the project yet.

claflico avatar Jul 12 '21 00:07 claflico

They are 13 and 8. It is bedrock addition, I know very little about minecraft as a whole. So whether those environment variables work or not. I have no clue! I would be VERY interested in trying it out if you'd be willing!

On Sun, Jul 11, 2021 at 8:18 PM Cory Claflin @.***> wrote:

@DarkVentHead https://github.com/DarkVentHead If you don't mind me asking, how old are your kids and what kind of device are they playing minecraft on? If they are playing on a computer do you know if it is Java or Bedrock? I've not seen OVERRIDE_OPS, ALLOW_NETHER, etc. as options for Bedrock before so am thinking it might be for Java.

I ask about their ages because I've been tossing around the idea of a kid/parent friendly self-hosted minecraft server admin suite for over a year now that illustratedilluminator and I have worked a bit on already for Bedrock version. We both just got busy and then my sons moved on to the Java version so now it would need to manage both versions.....my experimental Bedrock image does exactly this. It takes compressed addons found in the data directory and automatically adds them to the server....the admin suite would have functionality built in to automatically download compatible & parent approved add-ons when launching servers.

@itzg https://github.com/itzg Sorry for hijacking your project issue slightly. Just trying to collect some info since I'm not quite ready to go public with the project yet.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/itzg/docker-minecraft-bedrock-server/issues/156#issuecomment-877886482, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATVCDFRDVYEABMZILTVVACTTXIYGHANCNFSM47YR4XNQ .

DarkVentHead avatar Jul 12 '21 18:07 DarkVentHead

@DarkVentHead @itzg We have 9 year olds (our child and their school fiends) playing a newly created bedrock minecraft server we have setup. In our instance we have configured it on a Synology NAS and enabled remote access to the minecraft port.

The bedrock edition was preferred as it works across multiple platforms. It works on Windows, Xbox, Switch and Android mobile devices. The java edition only works with the java client and few of the kids use that version, its mostly used by developers and players which like to customize their minecraft experience.

We do limited how many users can be on at one time (through the environment variables) and may eventually use the whitelist feature for extra security. At this stage we haven't figure out how to use mods, texture addons or create multiple worlds, but the basic functionality works for a single world. Its a great way to know the kids are on a server you control and not be some third party creator who may have any stranger online playing on it.

keepsmilyn avatar Jul 20 '21 01:07 keepsmilyn

@DarkVentHead Not trying to take attention away from itzg's project but I think that I have a releasable version that is ready for testing if you don't mind giving it a try:

https://github.com/cubeworx/mcbe-server https://hub.docker.com/r/cubeworx/mcbe-server

claflico avatar Aug 08 '21 18:08 claflico

https://www.youtube.com/watch?v=N_MJXpjOHLg

basically you need a device with minecraft bedrock, and the packs already loaded on those... you just need to copy the new folders/files that were added to your device into the server volume, usually inside behavior_packs or resource_packs

open the manifest.json of each mod as you'll need to copy the version and uuid those will go into valid_known_packs.json and worlds/yourserverlevelname/world_behavior_packs

I was able to load one player sleep from FoxyNoTail and bedrock tweaks to improve how redstone look like that.

You do NOT need to create a new world and don't even need to enable cheats/experimental features, and achivements are weirdly still working on my server as well

Patchoulino avatar Sep 26 '21 05:09 Patchoulino

@DarkVentHead I was looking into adding a ray tracing resource pack to my bedrock server. The process should be similar for your desired resource pack. I'm expanding on @sao-coding's instructions since they were on the right track.

  1. In your data folder, make sure the desired resource pack is in your resource_packs folder.
  2. Start and stop the docker container. Open the valid_known_packs.json file in your data folder with notepad or other text editor.
  3. Find the name of your resource pack. Mine was formatted like below. You only need the uuid and version so take note of that.
{
	"file_system" : "RawPath",
	"from_disk" : true,
	"hashes" : [ "SZqm0BV8TH4RbFUI7wBpcW3efDNvMAnNfQOkd13UY5I=" ],
	"path" : "resource_packs/VanillaRTX",
	"uuid" : "6b780d4c-3a41-11eb-8461-f3b6dc3a378e",
	"version" : "1.6.0"
},
  1. Go to your worlds/Bedrock level folder and add a file named world_resource_packs.json and open it with a text editor.
  2. Add the uuid and version but format it like below.
[
	{
		"pack_id" : "6b780d4c-3a41-11eb-8461-f3b6dc3a378e",
		"version" : [ 1, 6, 0 ]
	},
]
  1. Start your docker container, load Minecraft, and connect to your server. You can try experimenting with the TEXTUREPACK_REQUIRED environmental variable set to true if you're having issues, but it's probably not needed.

Rufus7977 avatar Jan 05 '22 03:01 Rufus7977

@DarkVentHead I was looking into adding a ray tracing resource pack to my bedrock server. The process should be similar for your desired resource pack. I'm expanding on @sao-coding's instructions since they were on the right track.

  1. In your data folder, make sure the desired resource pack is in your resource_packs folder.
  2. Start and stop the docker container. Open the valid_known_packs.json file in your data folder with notepad or other text editor.
  3. Find the name of your resource pack. Mine was formatted like below. You only need the uuid and version so take note of that.
{
	"file_system" : "RawPath",
	"from_disk" : true,
	"hashes" : [ "SZqm0BV8TH4RbFUI7wBpcW3efDNvMAnNfQOkd13UY5I=" ],
	"path" : "resource_packs/VanillaRTX",
	"uuid" : "6b780d4c-3a41-11eb-8461-f3b6dc3a378e",
	"version" : "1.6.0"
},
  1. Go to your worlds/Bedrock level folder and add a file named world_resource_packs.json and open it with a text editor.
  2. Add the uuid and version but format it like below.
[
	{
		"pack_id" : "6b780d4c-3a41-11eb-8461-f3b6dc3a378e",
		"version" : [ 1, 6, 0 ]
	},
]
  1. Start your docker container, load Minecraft, and connect to your server. You can try experimenting with the TEXTUREPACK_REQUIRED environmental variable set to true if you're having issues, but it's probably not needed.

Tried this exact step for FoxyNoTail oneperson_sleep behavior pack and it dint work. It did not show up in the behavior packs list on connected client. Did it work for anyone else?

belibug avatar Feb 07 '22 04:02 belibug

@DarkVentHead I was looking into adding a ray tracing resource pack to my bedrock server. The process should be similar for your desired resource pack. I'm expanding on @sao-coding's instructions since they were on the right track.

  1. In your data folder, make sure the desired resource pack is in your resource_packs folder.
  2. Start and stop the docker container. Open the valid_known_packs.json file in your data folder with notepad or other text editor.
  3. Find the name of your resource pack. Mine was formatted like below. You only need the uuid and version so take note of that.
{
	"file_system" : "RawPath",
	"from_disk" : true,
	"hashes" : [ "SZqm0BV8TH4RbFUI7wBpcW3efDNvMAnNfQOkd13UY5I=" ],
	"path" : "resource_packs/VanillaRTX",
	"uuid" : "6b780d4c-3a41-11eb-8461-f3b6dc3a378e",
	"version" : "1.6.0"
},
  1. Go to your worlds/Bedrock level folder and add a file named world_resource_packs.json and open it with a text editor.
  2. Add the uuid and version but format it like below.
[
	{
		"pack_id" : "6b780d4c-3a41-11eb-8461-f3b6dc3a378e",
		"version" : [ 1, 6, 0 ]
	},
]
  1. Start your docker container, load Minecraft, and connect to your server. You can try experimenting with the TEXTUREPACK_REQUIRED environmental variable set to true if you're having issues, but it's probably not needed.

Tried this exact step for FoxyNoTail oneperson_sleep behavior pack and it dint work. It did not show up in the behavior packs list on connected client. Did it work for anyone else?

It's been working for me for one player sleep and bedrock tweaks for months now. The only thing I changed now was moving the mods into the world folder, so the mods are not moved into the backup "pre-" everytime there's an upgrade to Minecraft.

Patchoulino avatar Feb 07 '22 04:02 Patchoulino

hi there! don't know if u still need the info, but now u can download bedrock specific packs online, for free or paid, and add them. once the file is downloaded to the computer, you can simply open it and minecraft will open (if u didn't have it open already) and say "importing data/files" something like that. then when you go to the world settings, look under resource packs and behavior packs it should show up! make sure you check both, as some behavior packs need resource packs etc. if u want one from the market place simply buy and download it, and follow the same steps! you should be able to do this on mobile as well, i'm not so sure about the browser datapacks working for console. i'll test it out. but I have successfully used MANY mods/texture packs that change gameplay, or even add ores! I suggest the "more ores" pack that has enderite! so cool! and makes the end have mine-able ores! AND if u go to the start screen and select settings, you can apply a texture pack globally (if it's a resource pack only) and use it anywhere! look in settings for "global resources, select the pack and apply it, and you're good to go!

CodeBopper avatar Mar 29 '23 15:03 CodeBopper