The admin permission now also supports the placeholder <alias>.
The admin permission now also supports the placeholder <alias>.
This commit is contained in:
@@ -78,6 +78,8 @@ Alias:
|
||||
# Here you can enable or disable the admin function
|
||||
Enable: false
|
||||
# Here you set the permission for the admin function
|
||||
# The placeholder <alias> is the alias name.
|
||||
# If you have set multiple alias referrers in the list 'Alias.AliasList' you have a permission for each alias.
|
||||
Permission: t2code.alias.admin
|
||||
Command:
|
||||
# Here you can tell the alias to execute one or more commands
|
||||
|
@@ -20,7 +20,7 @@ SubAlias:
|
||||
Necessary: true
|
||||
# Here you can set the permission for the alias.
|
||||
# The placeholder <alias> is the alias name.
|
||||
# If you have set multiple alias referrers in the list 'Alias.AliasList' you have a permission for each alias.
|
||||
# If you have set multiple alias referrers in the list 'Alias.SubAliasList' you have a permission for each alias.
|
||||
Permission: 't2code.alias.use.subalias.<alias>'
|
||||
# Here you can set a custom No Permission message for this alias. If you want to use the default message, just leave this blank.
|
||||
CustomNoPermissionMSG: ""
|
||||
@@ -82,6 +82,8 @@ SubAlias:
|
||||
# Here you can enable or disable the admin function
|
||||
Enable: false
|
||||
# Here you set the permission for the admin function
|
||||
# The placeholder <alias> is the alias name.
|
||||
# If you have set multiple alias referrers in the list 'Alias.SubAliasList' you have a permission for each alias.
|
||||
Permission: t2code.alias.admin
|
||||
Command:
|
||||
# Here you can tell the alias to execute one or more commands
|
||||
|
Reference in New Issue
Block a user