## What's Changed
* Added `/portal notification` commands
* Added `/portal notification list <portal> [<trigger>]`
* list entries are clickable to make editing notifications easier
* Added `/portal notification remove <portal> <trigger> <notification>`
* Added `/portal notification set <portal> <trigger> (sound|actionbar|message|title)`
* sound: `<sound> [<sound-source>]`
* actionbar: `<message>`
* message: `<message>`
* title: `<title> [<subtitle>] [<fade-in>] <stay> <fade-out>`
* Portal triggers:
* `entry_failure` -> triggered when portal entry was denied (e.g. insufficient funds, lacking permission)
* `entry_success` -> successfully entered portal
* `exit` -> exited portal
* `teleport_failure` -> action failed (for custom implementations / future updates)
* `teleport_success` -> action succeeded (e.g. successfully teleported)
* `warmup_failure` -> warmup was interrupted by entity leaving the portal
* `warmup_success` -> warmup was fully awaited
* Placeholders that are usable in all applicable notifications:
* `<cooldown>` -> the portal cooldown in seconds
* `<warmup>` -> the portal warmup in seconds
* `<remaining-cooldown>` -> the entity's remaining cooldown for the portal in seconds
* `<remaining-warmup>` -> the entity's remaining warmup for the portal in seconds
* `<entity>` -> the entity's name
* `<entry-cost>` -> the formatted entry cost of the portal
* `<permission>` -> the entry permission of the portal (or "undefined" if not set)
* `<portal>` -> the name of the portal
* Message `portal.warmup.start` was removed in favor of this feature
The same message can be recreated by adding a `entry_success` message to your portals:
`/portal notification set <portal> entry_success message <gray><blue>Portals</blue> <dark_gray>»</dark_gray> Do not leave the portal for <green><warmup:'#.##'></green> seconds…</gray>`
**Full Changelog**: https://github.com/TheNextLvl-net/portals/compare/1.3.0...1.4.0
Optional dependencies
WorldEdit
Any compatible version
ServiceIO
Any compatible version
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }