Minecraft

From Braindump
Jump to navigation Jump to search

Docker

docker run -d -it --name mc-server -e EULA=TRUE -p 19132:19132/udp -v mc-volume:/data itzg/minecraft-bedrock-server
docker run -d -p 25565:25565 --name mc2 -v mc2-volume -e EULA=TRUE itzg/minecraft-server
docker volume ls
docker logs -f mc2
docker exec -i mc2 rcon-cli

The first command runs a minecraft server for the bedrock edition (xbox 360 and tablets) The second command runs a minecraft server for the java version (pc)

https://help.minecraft.net/hc/en-us/articles/360035131391-How-do-I-play-multiplayer-

In minecraft you can choose multiplayer / server and add your own server. https://cloud.addictivetips.com/wp-content/uploads/2020/06/minecraft-join-server.jpg

The server will save what you have built into the mc-volume, so you can take backups. The server allows other players to connect and build their own stuff.

The minecraft server starts empty and uses the seed number to populate the world. With a seed-map you can see how that world looks like

https://www.chunkbase.com/apps/seed-map

https://github.com/itzg/docker-minecraft-server#running-a-server-with-a-curseforge-modpack

rcon-cli

Whitelist

https://minecraft.fandom.com/wiki/Whitelist.json


Contents of whitelist.json

[ { "uuid": "37db2dfb", "name": "Unsp" }, { "uuid": "5860f535", "name": "nlp" } ]

Mod

https://github.com/MinecraftForge/MinecraftForge

https://docs.minecraftforge.net/en/1.19.x/gettingstarted/

Eclipse / Gradlew / MOD_ID / Items ... Blocks

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

https://files.minecraftforge.net

https://github.com/MinecraftForge/Documentation