src.nth.io/

summaryrefslogtreecommitdiff
path: root/minecraft
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-07-03 11:13:02 -0500
committerLuke Hoersten <[email protected]>2021-07-03 11:13:02 -0500
commit37ffcfd293b6adf851a7cd048cf06a9c33e96205 (patch)
tree16874c4e6c0c83f3ada1df3ee28038420f0b8898 /minecraft
parent943c1f76793b09d8556424e9e7b12752e3306fb8 (diff)
Made ops templated.
Diffstat (limited to 'minecraft')
-rw-r--r--minecraft/files/ops.json8
-rw-r--r--minecraft/templates/ops.json.j210
2 files changed, 10 insertions, 8 deletions
diff --git a/minecraft/files/ops.json b/minecraft/files/ops.json
deleted file mode 100644
index 8ef1e5f..0000000
--- a/minecraft/files/ops.json
+++ /dev/null
@@ -1,8 +0,0 @@
-[
- {
- "uuid": "98827ef9-601c-49fd-b575-abc8de019854",
- "name": "Lukemute",
- "level": 4,
- "bypassesPlayerLimit": true
- }
-] \ No newline at end of file
diff --git a/minecraft/templates/ops.json.j2 b/minecraft/templates/ops.json.j2
new file mode 100644
index 0000000..7170fc2
--- /dev/null
+++ b/minecraft/templates/ops.json.j2
@@ -0,0 +1,10 @@
+[
+ {% if minecraft_ops_uuid %}
+ {
+ "uuid": "{{minecraft_ops_uuid}}",
+ "name": "{{minecraft_ops_name}}",
+ "level": 4,
+ "bypassesPlayerLimit": true
+ }
+ {% endif %}
+]