From ca2eeaf2e7483976b7008d64da0bb010af85c9a7 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Sat, 9 May 2020 11:00:59 -0500 Subject: [PATCH] disable craftbukkit max tick --- roles/craftbukkit/tasks/main.yaml | 1 + roles/craftbukkit/templates/server.properties.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/craftbukkit/tasks/main.yaml b/roles/craftbukkit/tasks/main.yaml index 6c7f1ca..dc2e55e 100644 --- a/roles/craftbukkit/tasks/main.yaml +++ b/roles/craftbukkit/tasks/main.yaml @@ -65,6 +65,7 @@ owner: root group: root mode: 0644 + notify: restart craftbukkit - name: configure systemd unit template: diff --git a/roles/craftbukkit/templates/server.properties.j2 b/roles/craftbukkit/templates/server.properties.j2 index a9ccac0..c5ad675 100644 --- a/roles/craftbukkit/templates/server.properties.j2 +++ b/roles/craftbukkit/templates/server.properties.j2 @@ -1,7 +1,7 @@ # {{ ansible_managed }} spawn-protection=16 -max-tick-time=60000 +max-tick-time=-1 query.port: {{ craftbukkit_port | default(25565) }} generator-settings= force-gamemode=false