From 81f0cbe5eded030ce1a1d745308040c2bf0c114a Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Tue, 7 Mar 2023 18:54:41 +0100 Subject: [PATCH] Assign permission to the command (#3599) Assigning permission allows people to possibly deny that permission to hide the command from tab complete list. Permission is defaulted to true, so command keeps current behavior by default. --- bootstrap/spigot/src/main/resources/plugin.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bootstrap/spigot/src/main/resources/plugin.yml b/bootstrap/spigot/src/main/resources/plugin.yml index e28b8981d..d8bc264a9 100644 --- a/bootstrap/spigot/src/main/resources/plugin.yml +++ b/bootstrap/spigot/src/main/resources/plugin.yml @@ -8,4 +8,8 @@ api-version: 1.13 commands: geyser: description: The main command for Geyser. - usage: /geyser \ No newline at end of file + usage: /geyser + permission: geyser.command +permissions: + geyser.command: + default: true