Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added information when running MPL in Container and MC-Server locally #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ An example docker run command looks like this:
docker run \
--detach \
--publish 8888:8888 \
--add-host=host.docker.internal:host-gateway
--name minecraft-player-locations \
--env "NODE_ENV=production" \
--env "RCON_HOST=MyMineCraftHost" \
Expand All @@ -78,7 +79,7 @@ docker run \

**--publish 8888:8888** - This is what maps the container port to the host port. If you need a different port bound to the local machine, change the right hand port number

**--env "RCON_HOST=MyMineCraftHost"** - This is the hostname of the Minecraft server
**--env "RCON_HOST=MyMineCraftHost"** - This is the hostname of the Minecraft server. When hosting the minecraft server directly on your machine this value has to be set to `host.docker.internal`.

**--env "RCON_PORT=25575"** - This is the port RCON is listening to as defined in Minecraft's server.properties file

Expand Down