Prism

Prism

91.2k Downloads

[FEATURE] Add more permissions for prism.alerts

Bobcat00 opened this issue ยท 1 comments

commented

Is your feature request related to a problem? Please describe.
At present, the recipients of all alert messages are controlled by a single permission, prism.alerts. It could be useful if there were multiple permissions based on the types of alerts (ore, place, break, etc) as is done with the ignore permissions. This would allow alerts to be targeted to specific players.

Describe the solution you'd like
Permissions such as prism.alerts.ore, prism.alerts.use.place, etc.

Also, the config key prism.alerts.uses.ignore-staff is checked but never defined and does not appear in the default config file.

Describe alternatives you've considered
N/A

commented

This bit of code is broken; the append doesn't happen. Can you tell me how to fix it?

out.append(Component.text(playername + " continues - pausing warnings.")

EDIT: Yeah, that append just doesn't work. I figured out how to do without it. Also, the alert counting doesn't differentiate between items, so I'll fix that, too.