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