Add cuberite image

This commit is contained in:
Christine Dodrill 2015-06-22 19:24:50 -07:00
parent 66b5c4fe6b
commit abd988a1ee
2 changed files with 64 additions and 0 deletions

17
games/mcserver/Dockerfile Normal file
View File

@ -0,0 +1,17 @@
FROM fedora:22
RUN dnf -y install tar gzip
ADD http://builds.cuberite.org/job/Cuberite%20Linux%20x64%20Master/lastSuccessfulBuild/artifact/Cuberite.tar.gz /cuberite.tgz
RUN tar xf /cuberite.tgz &&\
mv /MCServer /minecraft
ADD settings.ini /minecraft/settings.ini
WORKDIR /minecraft
EXPOSE 8080
EXPOSE 25565
CMD ./MCServer

View File

@ -0,0 +1,47 @@
; This is the main server configuration
; Most of the settings here can be configured using the webadmin interface, if enabled in webadmin.ini
; See: http://wiki.mc-server.org/doku.php?id=configure:settings.ini for further configuration help
[Authentication]
Authenticate=1
AllowBungeeCord=0
Server=sessionserver.mojang.com
Address=/session/minecraft/hasJoined?username=%USERNAME%&serverId=%SERVERID%
[MojangAPI]
NameToUUIDServer=api.mojang.com
NameToUUIDAddress=/profiles/minecraft
UUIDToProfileServer=sessionserver.mojang.com
UUIDToProfileAddress=/session/minecraft/profile/%UUID%?unsigned=false
[Server]
Description=Xena's crappy Minecraft server
MaxPlayers=100
HardcoreEnabled=0
AllowMultiLogin=1
Ports=25565
DefaultViewDistance=10
[RCON]
Enabled=0
[PlayerData]
LoadOfflinePlayerData=0
LoadNamedPlayerData=1
[Worlds]
DefaultWorld=world
[Plugins]
; Plugin=Debuggers
; Plugin=HookNotify
; Plugin=ChunkWorx
; Plugin=APIDump
Plugin=Core
Plugin=TransAPI
Plugin=ChatLog
[DeadlockDetect]
Enabled=1
IntervalSec=20