1 # User Notification Event Package Installation Plugin
3 Registers new user notification events.
7 Each package installation plugin is described as an `<event>` element with the mandatory child `<name>`.
11 !!! warning "The `(name, objectType)` pair must be unique."
13 The given object type must implement the `com.woltlab.wcf.notification.objectType` definition.
17 The name of the class providing the event's behaviour,
18 the class has to implement the `wcf\system\user\notification\event\IUserNotificationEvent` interface.
22 Defines whether this event is enabled by default.
24 ### `<presetmailnotificationtype>`
26 !!! info "Avoid using this option, as sending unsolicited mail can be seen as spamming."
28 One of `instant` or `daily`.
29 Defines whether this type of email notifications is enabled by default.
33 <span class="label label-info">Optional</span>
35 The options element can contain a comma-separated list of options of which at least one needs to be enabled for the notification type to be available.
39 <span class="label label-info">Optional</span>
41 The permissions element can contain a comma-separated list of permissions of which the active user needs to have at least one for the notification type to be available.
46 title="userNotificationEvent.xml",
48 filepath="package/pip/userNotificationEvent.xml"