Upload des repertoires des serveurs
This commit is contained in:
38
Vanilla/docker-compose.yml
Executable file
38
Vanilla/docker-compose.yml
Executable file
@@ -0,0 +1,38 @@
|
||||
services:
|
||||
mc:
|
||||
image: itzg/minecraft-server
|
||||
container_name: minecraft_vanilla
|
||||
environment:
|
||||
EULA: "true"
|
||||
NO_AUTO_STOP: "true" # <- empêche l'arrêt automatique
|
||||
#
|
||||
# P R O P R I T E S D U S E R V E U R
|
||||
MAX_MEMORY: 8G
|
||||
MOTD: "A %TYPE% §l§cMinecraft§r §nserver (%VERSION%)"
|
||||
DIFFICULTY: normal
|
||||
ENABLE_RCON: "true"
|
||||
RCON_PASSWORD: "bonjourJeSuisUnMotDePasseSecurise"
|
||||
#
|
||||
# R C O N R E G L E S
|
||||
RCON_CMDS_STARTUP: |-
|
||||
/pregen start 200
|
||||
/gamerule doFireTick false
|
||||
/team add New
|
||||
/team add Old
|
||||
RCON_CMDS_ON_CONNECT: |-
|
||||
/team join New @a[team=]
|
||||
/give @a[team=New] birch_boat
|
||||
/team join Old @a[team=New]
|
||||
RCON_CMDS_FIRST_CONNECT: |-
|
||||
/pregen stop
|
||||
RCON_CMDS_LAST_DISCONNECT: |-
|
||||
/kill @e[type=minecraft:boat]
|
||||
/pregen start 200
|
||||
ports:
|
||||
- "25565:25565"
|
||||
- "25575:25575"
|
||||
volumes:
|
||||
- fabric:/data
|
||||
|
||||
volumes:
|
||||
fabric: {}
|
||||
21
Vanilla/docker-compose.yml.save
Executable file
21
Vanilla/docker-compose.yml.save
Executable file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
mc:
|
||||
image: itzg/minecraft-server
|
||||
environment:
|
||||
EULA: "true"
|
||||
|
||||
TYPE: FABRIC
|
||||
# VERSION: 1.21.4
|
||||
# FABRIC_INSTALLER_VERSION: 1.0.1
|
||||
# FABRIC_LOADER_VERSION: 0.16.10
|
||||
# Since Fabric server type only includes the loader, most times
|
||||
# the fabric-api is required for other mods to function
|
||||
MODRINTH_PROJECTS: |
|
||||
fabric-api
|
||||
ports:
|
||||
- "25565:25565"
|
||||
volumes:
|
||||
- fabric:/data
|
||||
|
||||
volumes:
|
||||
fabric: {}
|
||||
Reference in New Issue
Block a user