From fc71d15b78f54ee64af514b5d8db419c7820d256 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 20 Jul 2016 18:25:31 +0200 Subject: [PATCH] enable bungeecord --- rootfs/etc/confd/conf.d/bukkit.yml.toml | 6 ++ rootfs/etc/confd/conf.d/spigot.yml.toml | 6 ++ rootfs/etc/confd/templates/bukkit.yml.tmpl | 29 ++++++ rootfs/etc/confd/templates/spigot.yml.tmpl | 101 +++++++++++++++++++++ 4 files changed, 142 insertions(+) create mode 100644 rootfs/etc/confd/conf.d/bukkit.yml.toml create mode 100644 rootfs/etc/confd/conf.d/spigot.yml.toml create mode 100644 rootfs/etc/confd/templates/bukkit.yml.tmpl create mode 100644 rootfs/etc/confd/templates/spigot.yml.tmpl diff --git a/rootfs/etc/confd/conf.d/bukkit.yml.toml b/rootfs/etc/confd/conf.d/bukkit.yml.toml new file mode 100644 index 0000000..424d542 --- /dev/null +++ b/rootfs/etc/confd/conf.d/bukkit.yml.toml @@ -0,0 +1,6 @@ +[template] +src = "bukkit.yml.tmpl" +dest = "/var/lib/minecraft/bukkit.yml" +gid = 1000 +uid = 1000 +mode = "0660" diff --git a/rootfs/etc/confd/conf.d/spigot.yml.toml b/rootfs/etc/confd/conf.d/spigot.yml.toml new file mode 100644 index 0000000..5b3f435 --- /dev/null +++ b/rootfs/etc/confd/conf.d/spigot.yml.toml @@ -0,0 +1,6 @@ +[template] +src = "spigot.yml.tmpl" +dest = "/var/lib/minecraft/spigot.yml" +gid = 1000 +uid = 1000 +mode = "0660" diff --git a/rootfs/etc/confd/templates/bukkit.yml.tmpl b/rootfs/etc/confd/templates/bukkit.yml.tmpl new file mode 100644 index 0000000..a7c1e36 --- /dev/null +++ b/rootfs/etc/confd/templates/bukkit.yml.tmpl @@ -0,0 +1,29 @@ +settings: + allow-end: true + warn-on-overload: true + permissions-file: permissions.yml + update-folder: update + plugin-profiling: false + connection-throttle: {{getenv "BUKKIT_CONNECTION_THROTTLE"}} + query-plugins: true + deprecated-verbose: default + shutdown-message: Server closed +spawn-limits: + monsters: 70 + animals: 15 + water-animals: 5 + ambient: 15 +chunk-gc: + period-in-ticks: 600 + load-threshold: 0 +ticks-per: + animal-spawns: 400 + monster-spawns: 1 + autosave: 6000 +aliases: now-in-commands.yml +database: + username: bukkit + isolation: SERIALIZABLE + driver: org.sqlite.JDBC + password: walrus + url: jdbc:sqlite:{DIR}{NAME}.db \ No newline at end of file diff --git a/rootfs/etc/confd/templates/spigot.yml.tmpl b/rootfs/etc/confd/templates/spigot.yml.tmpl new file mode 100644 index 0000000..e13dc1f --- /dev/null +++ b/rootfs/etc/confd/templates/spigot.yml.tmpl @@ -0,0 +1,101 @@ +config-version: 8 +settings: + save-user-cache-on-stop-only: false + timeout-time: 60 + restart-on-crash: true + restart-script: ./start.sh + netty-threads: 4 + filter-creative-items: true + user-cache-size: 1000 + int-cache-limit: 1024 + moved-wrongly-threshold: 0.0625 + moved-too-quickly-multiplier: 10.0 + item-dirty-ticks: 20 + bungeecord: {{getenv "BUNGEECORD"}} + attribute: + maxHealth: + max: 2048.0 + movementSpeed: + max: 2048.0 + attackDamage: + max: 2048.0 + late-bind: false + sample-count: 12 + player-shuffle: 0 + debug: false +commands: + tab-complete: 0 + spam-exclusions: + - /skill + silent-commandblock-console: false + replace-commands: + - setblock + - summon + - testforblock + - tellraw + log: true +messages: + whitelist: You are not whitelisted on this server! + unknown-command: Unknown command. Type "/help" for help. + server-full: The server is full! + outdated-client: Outdated client! Please use {0} + outdated-server: Outdated server! I'm still on {0} + restart: Server is restarting +stats: + disable-saving: false + forced-stats: {} +world-settings: + default: + verbose: true + item-despawn-rate: 6000 + merge-radius: + item: 2.5 + exp: 3.0 + arrow-despawn-rate: 1200 + enable-zombie-pigmen-portal-spawns: true + zombie-aggressive-towards-villager: true + hanging-tick-frequency: 100 + wither-spawn-sound-radius: 0 + view-distance: 8 + growth: + cactus-modifier: 100 + cane-modifier: 100 + melon-modifier: 100 + mushroom-modifier: 100 + pumpkin-modifier: 100 + sapling-modifier: 100 + wheat-modifier: 100 + netherwart-modifier: 100 + vine-modifier: 100 + cocoa-modifier: 100 + entity-activation-range: + animals: 32 + monsters: 32 + misc: 16 + entity-tracking-range: + players: 48 + animals: 48 + monsters: 48 + misc: 32 + other: 64 + mob-spawn-range: 4 + nerf-spawner-mobs: false + seed-village: 10387312 + seed-feature: 14357617 + hunger: + walk-exhaustion: 0.2 + sprint-exhaustion: 0.8 + combat-exhaustion: 0.3 + regen-exhaustion: 3.0 + max-tnt-per-tick: 100 + max-tick-time: + tile: 50 + entity: 50 + ticks-per: + hopper-transfer: 8 + hopper-check: 8 + hopper-amount: 1 + random-light-updates: false + save-structure-info: true + max-entity-collisions: 8 + dragon-death-sound-radius: 0 \ No newline at end of file