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:
@@ -14,6 +14,7 @@ These changes will (most likely) be included in the next version.
|
|||||||
### Added
|
### Added
|
||||||
- Support for chest references in item syntax. The new `inv` syntax allows for referencing container indices in the config-file. This should help bridge the gap between class chests and various other parts of the config-file, such as rewards and upgrade waves.
|
- Support for chest references in item syntax. The new `inv` syntax allows for referencing container indices in the config-file. This should help bridge the gap between class chests and various other parts of the config-file, such as rewards and upgrade waves.
|
||||||
- Support for saved items. The new `/ma save-item` command can be used to save the currently held item to disk, which allows it to be used in various places in the config-file. This should help bridge the gap between the config-file and class chests for config-file centric setups.
|
- Support for saved items. The new `/ma save-item` command can be used to save the currently held item to disk, which allows it to be used in various places in the config-file. This should help bridge the gap between the config-file and class chests for config-file centric setups.
|
||||||
|
- New permission `mobarena.admin.errors` for better error visibility. Players with this permission will get a message if an arena encounters an error.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Explosion damage caused by Exploding Sheep now correctly counts as monster damage. This means that the explosions only affect other mobs if the per-arena setting `monster-infight` is set to `true`.
|
- Explosion damage caused by Exploding Sheep now correctly counts as monster damage. This means that the explosions only affect other mobs if the per-arena setting `monster-infight` is set to `true`.
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ permissions:
|
|||||||
mobarena.admin.force: true
|
mobarena.admin.force: true
|
||||||
mobarena.admin.teleport: true
|
mobarena.admin.teleport: true
|
||||||
mobarena.admin.addreward: true
|
mobarena.admin.addreward: true
|
||||||
|
mobarena.admin.errors: true
|
||||||
mobarena.admin.enable:
|
mobarena.admin.enable:
|
||||||
description: Enable and disable MobArena and/or arenas.
|
description: Enable and disable MobArena and/or arenas.
|
||||||
default: false
|
default: false
|
||||||
@@ -65,6 +66,9 @@ permissions:
|
|||||||
mobarena.admin.addreward:
|
mobarena.admin.addreward:
|
||||||
description: Add rewards to an arena player's reward list.
|
description: Add rewards to an arena player's reward list.
|
||||||
default: false
|
default: false
|
||||||
|
mobarena.admin.errors:
|
||||||
|
description: Get notified when an arena encounters errors.
|
||||||
|
default: false
|
||||||
|
|
||||||
mobarena.setup:
|
mobarena.setup:
|
||||||
description: Gives access to all setup commands
|
description: Gives access to all setup commands
|
||||||
|
|||||||
Reference in New Issue
Block a user