Update version to 0.1-beta, add permissions to plugin.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-10-24 23:42:12 +02:00
parent ee11359f96
commit fb1d9d20dd
3 changed files with 21 additions and 4 deletions

View File

@ -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. - `/nouns list`: list all available pronouns.
### Permissions ### 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 #### Base permissions
- `nouns.cmd.set`: allow setting personal pronouns. - `nouns.cmd.set`: allow setting personal pronouns.

View File

@ -6,7 +6,7 @@
<groupId>wtf.beatrice.nounspicker</groupId> <groupId>wtf.beatrice.nounspicker</groupId>
<artifactId>NounsPicker</artifactId> <artifactId>NounsPicker</artifactId>
<version>1.0-SNAPSHOT</version> <version>0.1-beta</version>
<properties> <properties>
<maven.compiler.source>16</maven.compiler.source> <maven.compiler.source>16</maven.compiler.source>

View File

@ -1,5 +1,5 @@
name: NounsPicker name: NounsPicker
version: 1.0 version: 0.1-beta
author: astro_bea author: astro_bea
main: wtf.beatrice.nounspicker.NounsPicker main: wtf.beatrice.nounspicker.NounsPicker
api-version: 1.19 api-version: 1.19
@ -10,4 +10,18 @@ commands:
nouns: nouns:
description: Main command for NounsPicker description: Main command for NounsPicker
usage: /<command> [args] usage: /<command> [args]
aliases: [pnouns, pronouns] 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