aboutsummaryrefslogtreecommitdiffstats
path: root/bukkit/src/main/resources
diff options
context:
space:
mode:
authorsnake <admin@viasnake.com>2022-12-19 00:31:17 +0900
committerGitHub <noreply@github.com>2022-12-18 15:31:17 +0000
commit5743352d1f41d6c097b80e9ac666da474295fcfb (patch)
tree772aca8d20a4353514d508068bb658a7bac30e28 /bukkit/src/main/resources
parent2cad3195259a4b47fe9d61dd9263762b4dbbe46b (diff)
Add command permissions
Diffstat (limited to 'bukkit/src/main/resources')
-rw-r--r--bukkit/src/main/resources/plugin.yml22
-rw-r--r--bukkit/src/main/resources/resources/bukkit/config.yml1
2 files changed, 21 insertions, 2 deletions
diff --git a/bukkit/src/main/resources/plugin.yml b/bukkit/src/main/resources/plugin.yml
index b9e47d50..0ec4ca48 100644
--- a/bukkit/src/main/resources/plugin.yml
+++ b/bukkit/src/main/resources/plugin.yml
@@ -22,9 +22,27 @@ permissions:
quests.command:
description: Permission for main command
default: true
+ quests.command.category:
+ description: Permission to execute /q category
+ default: op
+ quests.command.started:
+ description: Permission to execute /q started
+ default: op
+ quests.command.quest:
+ description: Permission to execute /q quest
+ default: op
+ quests.command.start:
+ description: Permission to execute /q start
+ default: op
+ quests.command.track:
+ description: Permission to execute /q track
+ default: op
+ quests.command.cancel:
+ description: Permission to execute /q cancel
+ default: op
quests.command.random:
description: Permission to execute /q random
- default: true
+ default: op
quests.admin:
- description: Permission for the admin commands
+ description: Permission for the admin commands
default: op
diff --git a/bukkit/src/main/resources/resources/bukkit/config.yml b/bukkit/src/main/resources/resources/bukkit/config.yml
index e51db8eb..9d729472 100644
--- a/bukkit/src/main/resources/resources/bukkit/config.yml
+++ b/bukkit/src/main/resources/resources/bukkit/config.yml
@@ -330,6 +330,7 @@ messages:
quest-updater: "&cQuests > &7A new version &c{newver} &7was found on Spigot (your version: &c{oldver}&7). Please update me! <3 - Link: {link}"
command-data-not-loaded: "&4Your quests progress file has not been loaded; you cannot use quests. If this issue persists, contact an admin."
command-sub-doesntexist: "&7The specified subcommand '&c{sub}' &7does not exist."
+ command-no-permission: "&7You do not have permission to use this command."
command-quest-cancel-specify: "&7You must specify a quest to cancel."
command-quest-start-doesntexist: "&7The specified quest '&c{quest}&7' does not exist."
command-quest-general-doesntexist: "&7The specified quest '&c{quest}&7' does not exist."