From fb1d9d20dd9a836e9a85dc068156daf2bc588588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Mon, 24 Oct 2022 23:42:12 +0200 Subject: [PATCH] Update version to 0.1-beta, add permissions to plugin.yml --- README.md | 5 ++++- pom.xml | 2 +- src/main/resources/plugin.yml | 18 ++++++++++++++++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c270973..0b0231b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,10 @@ wherever you want to. The pronouns are picked from a predefined list that only a - `/nouns list`: list all available pronouns. ### Permissions -- `nouns.base`: the main permission for this plugin. Every user needs this, or they won't be able to use any command. +- `nouns.base`: the main permission for this plugin. Every user needs this, or they won't be able to use any command. + +This is the only permission that is enabled by default, meaning you have to **deny** it if you don't want users to use +the plugin. #### Base permissions - `nouns.cmd.set`: allow setting personal pronouns. diff --git a/pom.xml b/pom.xml index c09e2cb..523f027 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ wtf.beatrice.nounspicker NounsPicker - 1.0-SNAPSHOT + 0.1-beta 16 diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index f818ea5..53d9e31 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: NounsPicker -version: 1.0 +version: 0.1-beta author: astro_bea main: wtf.beatrice.nounspicker.NounsPicker api-version: 1.19 @@ -10,4 +10,18 @@ commands: nouns: description: Main command for NounsPicker usage: / [args] - aliases: [pnouns, pronouns] \ No newline at end of file + aliases: [pnouns, pronouns] + +permissions: + nouns.base: + default: true + nouns.cmd.set: + default: false + nouns.cmd.list: + default: false + nouns.cmd.create: + default: false + nouns.cmd.delete: + default: false + nouns.cmd.update: + default: false \ No newline at end of file