mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
progress
This commit is contained in:
parent
3eb07a8c09
commit
5f707c7397
5 changed files with 94 additions and 4 deletions
|
|
@ -49,9 +49,13 @@ open class CustomAnvil : JavaPlugin() {
|
|||
// Permission string required to reload the config
|
||||
const val commandReloadPermission = "ca.command.reload"
|
||||
|
||||
// Permission string required to get diagnostic data
|
||||
const val diagnosticPermission = "ca.command.diagnostic"
|
||||
|
||||
// Permission string required to edit the plugin's config
|
||||
const val editConfigPermission = "ca.config.edit"
|
||||
|
||||
|
||||
// Command Name to reload the config
|
||||
const val commandReloadName = "anvilconfigreload"
|
||||
|
||||
|
|
@ -292,6 +296,8 @@ open class CustomAnvil : JavaPlugin() {
|
|||
command = getCommand(commandConfigName)
|
||||
command?.setExecutor(EditConfigExecutor())
|
||||
|
||||
println(getCommand("customanvil"))
|
||||
println(getCommand("customanvila"))
|
||||
CustomAnvilCmd(this)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue