Add `mobarena.admin.errors` permission.

Introduces a new permission for "admins" that can be used to increase
visibility of errors caught by the plugin. Server owners may not want
_all_ online players to see these types of messages, so the permission
gives error handlers a way to filter the list of online players before
sending the error message.
This commit is contained in:
Andreas Troelsen 2023-11-03 22:47:19 +01:00
parent 6579c4bf0e
commit 7ef7707886
1 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,7 @@ permissions:
mobarena.admin.force: true
mobarena.admin.teleport: true
mobarena.admin.addreward: true
mobarena.admin.errors: true
mobarena.admin.enable:
description: Enable and disable MobArena and/or arenas.
default: false
@ -65,6 +66,9 @@ permissions:
mobarena.admin.addreward:
description: Add rewards to an arena player's reward list.
default: false
mobarena.admin.errors:
description: Get notified when an arena encounters errors.
default: false
mobarena.setup:
description: Gives access to all setup commands