aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/plugin.yml
diff options
context:
space:
mode:
authorElis Eriksson <Spelis@duck.com>2026-03-07 14:54:03 +0100
committerElis Eriksson <Spelis@duck.com>2026-03-07 14:54:03 +0100
commit65a247a7d0900fd105d5e9d48a6571cd480fc155 (patch)
treed9a31148648107ebfc00ac7f57ace86909cff4a7 /src/main/resources/plugin.yml
parente39cc7fbdc2ecefc8e4c44a693a61e218dff4c0b (diff)
downloadsvc_intercom-65a247a7d0900fd105d5e9d48a6571cd480fc155.tar
svc_intercom-65a247a7d0900fd105d5e9d48a6571cd480fc155.tar.gz
svc_intercom-65a247a7d0900fd105d5e9d48a6571cd480fc155.tar.bz2
svc_intercom-65a247a7d0900fd105d5e9d48a6571cd480fc155.tar.lz
svc_intercom-65a247a7d0900fd105d5e9d48a6571cd480fc155.tar.xz
svc_intercom-65a247a7d0900fd105d5e9d48a6571cd480fc155.tar.zst
svc_intercom-65a247a7d0900fd105d5e9d48a6571cd480fc155.zip
Reformat some files, Switch to brigadier for better argument parsing and tab complete ( this was hell) and now actually has permissions.
Diffstat (limited to 'src/main/resources/plugin.yml')
-rw-r--r--src/main/resources/plugin.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index 866188f..fc740dd 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,5 +1,5 @@
name: svc_intercom
-version: '1.0'
+version: '1.1'
main: eu.projnull.spelis.svci.Intercom
api-version: '1.21'
prefix: SVCIntercom
@@ -13,6 +13,19 @@ depend: [ voicechat ]
commands:
intercom:
description: Manage intercom broadcasts
- usage: /intercom <file|live|stop> ...
+ usage: /intercom <file|live|stop|info|about> ...
permission: svcintercom.broadcast
permission-message: You do not have permission to use the intercom.
+
+permissions:
+ svcintercom.broadcast:
+ description: Allows use of /intercom commands
+ default: true
+ svcintercom.broadcast.start:
+ description: Allows player to start a file or live broadcast
+ default: op
+ svcintercom.broadcast.stop:
+ description: Allows player to end a broadcast
+ default: op
+ svcintercom.broadcast.info:
+ description: Shows information about the current broadcast \ No newline at end of file