-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use custom server icon, MOTD and gamemode (#293)
* Remove (broken) Travis CI badge from README * Use our great custom server-icon.png from https://github.com/OASIS-learn-study/swissarmyknife-minecraft-server/blob/master/src/server-icon.png from #74 * Use custom MOTD * Use creative peaceful server.properties Based on https://github.com/OASIS-learn-study/s2i-minecraft-server/blob/master/src/server.properties, I've verified each of the properties we had there, but most of them were the defaults anyway, this is better. * Using 0/1 instead of peaceful/creative doesn't work either... ... because of itzg/docker-minecraft-server#1452. * Use custom server.properties instead of MODE & DIFFICULTY environment variables because of itzg/docker-minecraft-server#1452 * Make GuardGameModeJoinListener log game mode changes * Fix quite confusing 2nd bug in GuardGameModeJoinListener
- Loading branch information
Showing
8 changed files
with
80 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This directory contains configuration files for the Minecraft server, used by the `Dockerfile`. | ||
|
||
The storeys server's plugin code is not here, but in `../web`. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
spawn-protection=0 | ||
max-tick-time=60000 | ||
query.port=25565 | ||
generator-settings= | ||
sync-chunk-writes=true | ||
force-gamemode=false | ||
allow-nether=true | ||
enforce-whitelist=false | ||
gamemode=1 | ||
broadcast-console-to-ops=true | ||
enable-query=false | ||
player-idle-timeout=0 | ||
difficulty=0 | ||
spawn-monsters=false | ||
broadcast-rcon-to-ops=true | ||
op-permission-level=4 | ||
pvp=true | ||
entity-broadcast-range-percentage=100 | ||
snooper-enabled=true | ||
level-type=DEFAULT | ||
hardcore=false | ||
enable-status=true | ||
enable-command-block=true | ||
max-players=20 | ||
network-compression-threshold=256 | ||
resource-pack-sha1= | ||
max-world-size=29999984 | ||
function-permission-level=2 | ||
rcon.port=25575 | ||
server-port=25565 | ||
texture-pack= | ||
server-ip= | ||
spawn-npcs=true | ||
allow-flight=false | ||
level-name=world | ||
view-distance=10 | ||
resource-pack= | ||
spawn-animals=true | ||
white-list=false | ||
rcon.password=minecraft | ||
generate-structures=true | ||
max-build-height=256 | ||
online-mode=true | ||
level-seed= | ||
prevent-proxy-connections=false | ||
use-native-transport=true | ||
enable-jmx-monitoring=false | ||
enable-rcon=true | ||
motd=\u00A7a\u00A7l/make\u00A7r your \u00A7bown\u00A7r Plugins/Mods, \u00A7l\u00A76with Scratch\! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
set -euox pipefail | ||
|
||
cp /data-init/server.properties /data/ | ||
cp /data-init/server-icon.png /data/ | ||
|
||
/start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters