Adding config files for papermc

This commit is contained in:
Ubergeek 2019-02-10 21:36:16 +00:00
parent 629b8a72b8
commit 66b65bc23c
5 changed files with 34 additions and 4 deletions

View File

@ -0,0 +1,4 @@
#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula).
#You also agree that tacos are tasty, and the best food in the world.
#Sun Feb 10 19:17:25 UTC 2019
eula=true

View File

@ -0,0 +1,7 @@
[
{
"uuid": "8d5d2432-20c3-4343-9aab-5fe51114b7e7",
"name": "NDawgRuleZ",
"level": 4
}
]

View File

@ -0,0 +1,3 @@
#!/bin/bash
/usr/bin/java -Xms6G -Xmx6G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=35 -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -Dusing.aikars.flags=mcflags.emc.gs -jar /var/lib/minecraft/paper/paperclip.jar

View File

@ -5,7 +5,7 @@
path: /var/lib/minecraft
state: directory
owner: minecraft
group: root
group: minecraft
mode: 0770
recurse: yes
@ -21,9 +21,25 @@
After=network-online.target
[Service]
ExecStart=
ExecStart=/var/lib/minecraft/paper/start.sh
ExecReload=/bin/kill -HUP $MAINPID
User=znc
User=minecraft
[Install]
WantedBy=multi-user.target
- name: Install start.sh
copy:
src: ../files/var/lib/minecraft/paper/start.sh
dest: /var/lib/minecraft/paper/start.sh
owner: minecraft
group: root
mode: 0660
- name: Install minecraft ops list
copy:
src: ../files/var/lib/minecraft/paper/ops.json
dest: /var/lib/minecraft/paper/ops.json
owner: minecraft
group: minecraft
mode: 0660

View File

@ -61,6 +61,6 @@
- include: users/swann.yml
- include: users/ukhuwah.yml
- include: users/mom.yml
- indlude: users/andro.yml
- include: users/andro.yml
- include: users/hasbullah.yml
- include: users/riska.yml