Add Bungeecord

This commit is contained in:
AngrySoundTech
2022-01-11 12:08:39 -05:00
parent 47c4b06eb7
commit bcaa8db11b
7 changed files with 86 additions and 8 deletions

View File

@@ -9,4 +9,9 @@ The `data` directory therin is provided for local verification,
and should not be used in prod.
If changes are made to the docker build,
you need to use `docker-compose up --build` next time you run.
you need to use `docker-compose up --build` next time you run.
## Using the console
1. run `docker ps`
2. Note the name of the container. By default, randomly generated.
3. Run `docker attach <name>`, for example: `docker attach 81dcee85c1da`

View File

@@ -2,11 +2,19 @@ version: '3.8'
services:
waterfall:
build: waterfall
restart: unless-stopped
tty: true
stdin_open: true
ports:
- "25565:25577"
paper:
build: paper
restart: unless-stopped
ports:
- "25565:25565"
tty: true
stdin_open: true
environment:
INIT_MEMORY: 1G
MAX_MEMORY: 5G
@@ -16,11 +24,7 @@ services:
CIV_MYSQL_PASSWORD: password
CIV_MYSQL_DATABASE: minecraft
volumes:
- ./local/data:/data # Mount everything for debugging
- ./local/logs:/data/logs
- ./local/world:/data/world
- ./local/world_nether:/data/world_nether
- ./local/world_the_end:/data/world_the_end
- ./local/paper:/data
mariadb:
image: mariadb:10.7.1

View File

@@ -18,6 +18,7 @@ ENV OVERRIDE_SERVER_PROPERTIES=true
ENV MOTD="You're a §l§abeautiful§r person."
ENV MAX_PLAYERS="150"
ENV SPAWN_PROTECTION="0"
ENV ONLINE_MODE="false"
# https://github.com/itzg/docker-minecraft-server#running-a-paper-server
ENV TYPE=PAPER

View File

@@ -0,0 +1,11 @@
{
"file": "/data/spigot.yml",
"ops": [
{
"$set": {
"path": "$.settings.bungeecord",
"value": true
}
}
]
}

View File

@@ -0,0 +1,9 @@
FROM itzg/bungeecord
COPY config /config
COPY plugins /plugins
ENV TYPE=WATERFALL
ENV REPLACE_ENV_VARIABLES=true
ENV REPLACE_ENV_VARIABLE_PREFIX=CIV

View File

@@ -0,0 +1,48 @@
server_connect_timeout: 10000
listeners:
- query_port: 25565
motd: "You're a §l§abeautiful§r person."
tab_list: GLOBAL
query_enabled: false
proxy_protocol: false
forced_hosts:
pvp.md-5.net: pvp
ping_passthrough: false
priorities:
- lobby
bind_local_address: true
host: "0.0.0.0:25577"
max_players: 420
tab_size: 60
force_default_server: false
remote_ping_cache: -1
network_compression_threshold: 256
permissions:
default: null
admin:
- bungeecord.command.alert
- bungeecord.command.end
- bungeecord.command.ip
- bungeecord.command.reload
log_pings: true
connection_throttle_limit: 3
prevent_proxy_connections: false
timeout: 30000
player_limit: 420
ip_forward: true
groups:
md_5:
- adminnnn
remote_ping_timeout: 5000
connection_throttle: 4000
log_commands: false
stats: b074eed2-e7a2-4cda-bc1c-badda2fb5223
online_mode: true
forge_support: true
disabled_commands:
- disabledcommandhere
servers:
lobby:
motd: '&1CivMC'
address: "paper:25565"
restricted: false

View File