feat: Configuration par défaut accepte comptes crack
- Ajoute server.properties.template avec online-mode=false - docker-compose copie le template au premier démarrage - Configuration: FLAT, créatif, PvP désactivé, vol autorisé - Template versionné dans Git (.gitignore mis à jour)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -28,6 +28,7 @@ white-list.txt
|
||||
permissions.yml
|
||||
|
||||
# === FICHIERS GÉNÉRÉS AUTOMATIQUEMENT ===
|
||||
# Note: server.properties.template est versionné comme configuration par défaut
|
||||
server.properties
|
||||
bukkit.yml
|
||||
spigot.yml
|
||||
|
||||
@@ -33,6 +33,10 @@ services:
|
||||
- -c
|
||||
- |
|
||||
cd /data
|
||||
# Copier le template server.properties si inexistant
|
||||
if [ ! -f server.properties ]; then
|
||||
cp server.properties.template server.properties 2>/dev/null || true
|
||||
fi
|
||||
exec java -Xms1G -Xmx2G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -jar mcpc.jar nogui
|
||||
|
||||
volumes:
|
||||
|
||||
33
server.properties.template
Normal file
33
server.properties.template
Normal file
@@ -0,0 +1,33 @@
|
||||
#Minecraft server properties
|
||||
#NationsGlory 1.6.4 - Configuration par défaut
|
||||
generator-settings=
|
||||
allow-nether=true
|
||||
level-name=world
|
||||
enable-query=false
|
||||
allow-flight=true
|
||||
rcon.password=ChangerMotDePasse
|
||||
server-port=25565
|
||||
level-type=FLAT
|
||||
enable-rcon=true
|
||||
force-gamemode=false
|
||||
level-seed=
|
||||
server-ip=
|
||||
max-build-height=256
|
||||
spawn-npcs=true
|
||||
white-list=false
|
||||
debug=false
|
||||
spawn-animals=true
|
||||
texture-pack=
|
||||
snooper-enabled=true
|
||||
hardcore=false
|
||||
online-mode=false
|
||||
pvp=false
|
||||
difficulty=1
|
||||
player-idle-timeout=0
|
||||
gamemode=1
|
||||
max-players=20
|
||||
rcon.port=25575
|
||||
spawn-monsters=true
|
||||
generate-structures=true
|
||||
view-distance=10
|
||||
motd=Serveur NationsGlory 1.6.4
|
||||
Reference in New Issue
Block a user