added spigot subcommand blocking system

This commit is contained in:
YouHaveTrouble
2020-11-17 03:06:19 +01:00
parent fe0b8c416d
commit 8fac940359
8 changed files with 100 additions and 17 deletions
+9 -1
View File
@@ -1,6 +1,7 @@
messages:
prefix: "CommandWhitelist > "
command-denied: "No such command."
subcommand-denied: "You cannot use this subcommand"
no-permission: "&cYou don't have permission to do this."
no-such-subcommand: "&cNo subcommand by that name."
config-reloaded: "&eConfiguration reloaded."
@@ -30,4 +31,11 @@ commands:
- warp
# commandwhitelist.commands.example
example:
- example
- example
tabcompletions:
# This one is working as a blacklist. Player will not be able
# to see/use listed subcommands unless they have specified permission
# commandwhitelist.subcommands.default
default:
- help about