paper only event `player granted advancement criterion` (#2436)
* Add Paper-only event `player granted advancement criteria`
* Update examples to include custom Denizen advancement
* Change name to `player granted advancement criterion`
'criteria' is the plural of 'criterion', and this event fires for a single criterion that is granted.
Thanks for information acikek! ;)
* Fix example
* Meta changes + less verbose switch inputs
* Use new Utilities method and use `tryObjectSwitch` again
(
commit: 78f6ad2)