Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ RUN chmod +x /usr/share/minecraft/build-config.sh
RUN chown -R minecraft /usr/share/minecraft
USER minecraft

ENTRYPOINT /usr/share/minecraft/build-config.sh java -jar /usr/share/minecraft/server.jar nogui
ENTRYPOINT ["/usr/share/minecraft/build-config.sh", "java", "-jar" , "/usr/share/minecraft/server.jar", "nogui"]
3 changes: 2 additions & 1 deletion GuardCraft_Resource_Pack/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"pack": {
"pack_format": 34,
"pack_format": 18,
"supported_formats": [18, 51],
"description": "GuardCraft Resource Pack"
}
}
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ services:
MC_motd: "Welcome to GuardCraft!"
MC_level_name: "GuardCraft"
MC_level_seed: "-1718501946501227358"
# GuardCraft Custom Resource pack
# Using a CDN while the repo is private, later on move to repo release files
MC_resource_pack: "https://cdn.erikaheidi.com/minecraft/GuardCraft_Resource_Pack.zip"
MC_require_resource_pack: "true"
```

This will set up a server in **Survival** mode, with **Easy** difficulty, and a **Welcome to GuardCraft!** message of the day. The server will be named **GuardCraft** and will use the specified seed to generate the world. You should spawn in an area with a village nearby.
Expand Down
5 changes: 0 additions & 5 deletions build-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

SERVER_PATH=/usr/share/minecraft

# If a config file is found in a volume share, copy it over to the server path
if [ -f $SERVER_PATH/config/server.properties ]; then
cp $SERVER_PATH/config/server.properties $SERVER_PATH/server.properties
fi

# If MC_* ENV variables are set, update the server.properties file
mcEnvs=( "${!MC_@}" )
if [ "${#mcEnvs[@]}" -gt 0 ]; then
Expand Down