Skip to content

Commit

Permalink
Update paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nakira974 committed Aug 3, 2023
1 parent d214f74 commit 0511772
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions 1.20.1/private/spigot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ADD https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact
# Install git & build spigot server
RUN apk add --no-cache git \
&& java -jar /temp/BuildTools.jar --rev latest \
&& mv spigot-*.jar spigot.jar \
&& mv ./spigot-*.jar spigot.jar \
&& rm -rf /temp

# Expose the necessary port
Expand All @@ -29,4 +29,4 @@ COPY ./.map/world_the_end /spigot-server/world_the_end
RUN echo "eula=true" > eula.txt

# Start the Spigot server
ENTRYPOINT ["java", "-Xmx1024M", "-Xms1024M", "-jar", "spigot.jar", "nogui"]
ENTRYPOINT ["java", "-Xmx1024M", "-Xms1024M", "-jar", "spigot-1.20.1.jar", "nogui"]
2 changes: 1 addition & 1 deletion 1.20.1/private/vanilla/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM openjdk:19-jdk-alpine
WORKDIR /minecraft-server

# Expose the necessary port
EXPOSE 25566
EXPOSE 25565

# COPY MAP FOLDERS
COPY .map/world /minecraft-server
Expand Down
2 changes: 1 addition & 1 deletion 1.20.1/public/anarchy.lavalawsless.com/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM openjdk:19-jdk-alpine
WORKDIR /spigot-server

# Expose the necessary port
EXPOSE 25566
EXPOSE 25567

# Download BuildTools.jar to build spigot server
ADD https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar /temp/
Expand Down
2 changes: 1 addition & 1 deletion 1.20.1/public/anarchy.lavalawsless.com/server.properties
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ resource-pack=

# Spawn Protection
# The radius around the world spawn point where normal players cannot build or destroy blocks.
spawn-protection=1
spawn-protection=0

# Force Game Mode
# Set this to true to force players to be in the default game mode specified above.
Expand Down
8 changes: 5 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ services:
minecraft_spygot_1_20_1:
build: ./1.20.1/private/spigot
volumes:
- './1.20.1/spigot/private/.map/world:/minecraft-server/world'
- './1.20.1/spigot/private/.map/world_nether:/minecraft-server/world_nether'
- './1.20.1/spigot/private/.map/world_the_end:/minecraft-server/world_the_end'
- './1.20.1/private/spigot/.map/world:/minecraft-server/world'
- './1.20.1/private/spigot/.map/world_nether:/minecraft-server/world_nether'
- './1.20.1/private/spigot/.map/world_the_end:/minecraft-server/world_the_end'
- './1.20.1/private/spigot/whitelist.json:/minecraft-server/whitelist.json'
- './1.20.1/private/spigot/blacklist.json:/minecraft-server/blacklist.json'
networks:
private:
ipv4_address: 172.16.0.3
Expand Down

0 comments on commit 0511772

Please sign in to comment.