Rework directory structure
This commit is contained in:
@@ -0,0 +1 @@
|
||||
secret = "{{proxy_secret}}"
|
||||
1
modded_minecraft_server/templates/eula.txt.j2
Normal file
1
modded_minecraft_server/templates/eula.txt.j2
Normal file
@@ -0,0 +1 @@
|
||||
eula=true
|
||||
59
modded_minecraft_server/templates/server.properties.j2
Normal file
59
modded_minecraft_server/templates/server.properties.j2
Normal file
@@ -0,0 +1,59 @@
|
||||
#Minecraft server properties
|
||||
#(File modification date and time)
|
||||
enable-jmx-monitoring=false
|
||||
rcon.port={{rcon_port}}
|
||||
level-seed=
|
||||
gamemode=survival
|
||||
enable-command-block=false
|
||||
enable-query=false
|
||||
generator-settings={}
|
||||
enforce-secure-profile=true
|
||||
level-name=world
|
||||
motd={{motd}}
|
||||
query.port=25565
|
||||
pvp=true
|
||||
generate-structures=true
|
||||
max-chained-neighbor-updates=1000000
|
||||
difficulty=easy
|
||||
network-compression-threshold=256
|
||||
max-tick-time=60000
|
||||
require-resource-pack=false
|
||||
use-native-transport=true
|
||||
max-players=20
|
||||
online-mode=true
|
||||
enable-status=true
|
||||
allow-flight=false
|
||||
initial-disabled-packs=
|
||||
broadcast-rcon-to-ops=true
|
||||
view-distance=10
|
||||
server-ip=
|
||||
resource-pack-prompt=
|
||||
allow-nether=true
|
||||
server-port={{server_port}}
|
||||
enable-rcon={{rcon_enable}}
|
||||
sync-chunk-writes=true
|
||||
op-permission-level=4
|
||||
prevent-proxy-connections=false
|
||||
hide-online-players=false
|
||||
resource-pack=
|
||||
entity-broadcast-range-percentage=100
|
||||
simulation-distance=10
|
||||
rcon.password={{rcon_password}}
|
||||
player-idle-timeout=0
|
||||
force-gamemode=false
|
||||
rate-limit=0
|
||||
hardcore=false
|
||||
white-list={{mc_whitelist}}
|
||||
broadcast-console-to-ops=true
|
||||
spawn-npcs=true
|
||||
spawn-animals=true
|
||||
log-ips=true
|
||||
function-permission-level=2
|
||||
initial-enabled-packs=vanilla
|
||||
level-type=minecraft\:normal
|
||||
text-filtering-config=
|
||||
spawn-monsters=true
|
||||
enforce-whitelist=false
|
||||
spawn-protection=16
|
||||
resource-pack-sha1=
|
||||
max-world-size=29999984
|
||||
11
modded_minecraft_server/templates/service.j2
Normal file
11
modded_minecraft_server/templates/service.j2
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description= Minecraft server instance {{mc_instance}}
|
||||
Requires=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/var/minecraft/{{mc_instance}}/start.sh
|
||||
User=minecraft
|
||||
Group=minecraft
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
3
modded_minecraft_server/templates/start.sh.j2
Normal file
3
modded_minecraft_server/templates/start.sh.j2
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd /var/minecraft/{{mc_instance}}
|
||||
java -Xmx{{max_memory}}M -Xms{{small_memory}}M -jar server.jar -nogui
|
||||
Reference in New Issue
Block a user