From 65a247a7d0900fd105d5e9d48a6571cd480fc155 Mon Sep 17 00:00:00 2001 From: Elis Eriksson Date: Sat, 7 Mar 2026 14:54:03 +0100 Subject: Reformat some files, Switch to brigadier for better argument parsing and tab complete ( this was hell) and now actually has permissions. --- src/main/resources/plugin.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'src/main/resources') 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 ... + usage: /intercom ... 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 -- cgit v1.3-7-ge9ab