# HG changeset patch # User Luke Hoersten # Date 1625328782 18000 # Node ID 436cd9b3ee0b5f74bd649a4fcfdd15d2f0c4c88d # Parent dbc589234a499f235579734e73e3994fcc4d73e9 Made ops templated. diff -r dbc589234a49 -r 436cd9b3ee0b minecraft/files/ops.json --- a/minecraft/files/ops.json Sat Jul 03 11:09:26 2021 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -[ - { - "uuid": "98827ef9-601c-49fd-b575-abc8de019854", - "name": "Lukemute", - "level": 4, - "bypassesPlayerLimit": true - } -] \ No newline at end of file diff -r dbc589234a49 -r 436cd9b3ee0b minecraft/templates/ops.json.j2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/minecraft/templates/ops.json.j2 Sat Jul 03 11:13:02 2021 -0500 @@ -0,0 +1,10 @@ +[ + {% if minecraft_ops_uuid %} + { + "uuid": "{{minecraft_ops_uuid}}", + "name": "{{minecraft_ops_name}}", + "level": 4, + "bypassesPlayerLimit": true + } + {% endif %} +]