diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dbe598a --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +/bootstrap/compiled.php +.env.*.php +.env.php +.env +.idea/ + +# testing +vendor/ +composer.lock +.phpunit.cache/test-results \ No newline at end of file diff --git a/src/Config/notifications.alerts.php b/src/Config/notifications.alerts.php index 45cb34c..859d918 100644 --- a/src/Config/notifications.alerts.php +++ b/src/Config/notifications.alerts.php @@ -230,6 +230,42 @@ 'discord' => \Seat\Notifications\Notifications\Characters\Discord\ResearchMissionAvailableMsg::class, ], ], + 'SkyhookDeployed' => [ + 'label' => 'notifications::alerts.skyhook_deployed', + 'handlers' => [ + 'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureAnchoring::class, + 'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureAnchoring::class, + ], + ], + 'SkyhookDestroyed' => [ + 'label' => 'notifications::alerts.skyhook_destroyed', + 'handlers' => [ + 'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureDestroyed::class, + 'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureDestroyed::class, + ], + ], + 'SkyhookLostShields' => [ + 'label' => 'notifications::alerts.skyhook_lost_shields', + 'handlers' => [ + 'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureLostShields::class, + 'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureLostShields::class, + ], + ], + 'SkyhookOnline' => [ + 'label' => 'notifications::alerts.skyhook_online', + 'handlers' => [ + 'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureWentHighPower::class, + 'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureWentHighPower::class, + ], + ], + 'SkyhookUnderAttack' => [ + 'label' => 'notifications::alerts.skyhook_under_attack', + 'handlers' => [ + 'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureUnderAttack::class, + 'mail' => \Seat\Notifications\Notifications\Structures\Mail\StructureUnderAttack::class, + 'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureUnderAttack::class, + ], + ], 'SovCommandNodeEventStarted' => [ 'label' => 'notifications::alerts.sovereignty_command_node_event_started', 'handlers' => [ @@ -297,6 +333,22 @@ 'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureLostShields::class, ], ], + 'StructureLowReagentsAlert' => [ + 'label' => 'notifications::alerts.structure_low_reagents_alert', + 'handlers' => [ + 'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureFuelAlert::class, + 'mail' => \Seat\Notifications\Notifications\Structures\Mail\StructureFuelAlert::class, + 'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureFuelAlert::class, + ], + ], + 'StructureNoReagentsAlert' => [ + 'label' => 'notifications::alerts.structure_no_reagents_alert', + 'handlers' => [ + 'discord' => \Seat\Notifications\Notifications\Structures\Discord\StructureServicesOffline::class, + 'mail' => \Seat\Notifications\Notifications\Structures\Mail\StructureServicesOffline::class, + 'slack' => \Seat\Notifications\Notifications\Structures\Slack\StructureServicesOffline::class, + ], + ], 'StructureServicesOffline' => [ 'label' => 'notifications::alerts.structure_services_offline', 'handlers' => [ diff --git a/src/resources/lang/en/alerts.php b/src/resources/lang/en/alerts.php index 041df89..f34884e 100644 --- a/src/resources/lang/en/alerts.php +++ b/src/resources/lang/en/alerts.php @@ -53,21 +53,28 @@ 'raffle_expired' => 'Expired Raffle', 'raffle_finished' => 'Finished Raffle', 'research_mission_available' => 'New Research Mission', + 'skyhook_deployed' => 'Skyhook Deployed', + 'skyhook_destroyed' => 'Skyhook Destroyed', + 'skyhook_lost_shields', 'Skyhook Lost Shields', + 'skyhook_online' => 'Skyhook Online', + 'skyhook_under_attack' => 'Skyhook Under Attack', 'sovereignty_command_node_event_started' => 'Sovereignty Command Node Event Started', - 'sovereignty_structure_destroyed' => 'Destroyed Sovereignty Structure', - 'sovereignty_structure_reinforced' => 'Reinforced Sovereignty Structure', - 'story_line_mission_available' => 'New Story Line', - 'structure_anchoring' => 'Anchoring Structures', - 'structure_destroyed' => 'Destroyed Structures', - 'structure_fuel_alert' => 'Low Fuel Structures', - 'structure_lost_armor' => 'Lost Armor Structures', - 'structure_lost_shield' => 'Lost Shield Structures', + 'sovereignty_structure_destroyed' => 'Sovereignty Structure Destroyed', + 'sovereignty_structure_reinforced' => 'Sovereignty Structure Reinforced', + 'story_line_mission_available' => 'New Story Line Mission', + 'structure_anchoring' => 'Structures Anchoring', + 'structure_destroyed' => 'Structures Destroyed', + 'structure_fuel_alert' => 'Structures Low Fuel', + 'structure_lost_armor' => 'Structures Lost Armor', + 'structure_lost_shield' => 'Structures Lost Shield', + 'structure_low_reagents_alert' => 'Structure Low Reagents', + 'structure_no_reagents_alert' => 'Structure No Reagents', 'structure_services_offline' => 'Structures Offline Services', - 'structure_unanchoring' => 'Unanchoring Structures', - 'structure_under_attack' => 'Attacked Structures', + 'structure_unanchoring' => 'Structures Unanchoring', + 'structure_under_attack' => 'Structures Attacked', 'structure_went_high_power' => 'Structures High Power', 'structure_went_low_power' => 'Structures Low Power', 'killmails' => 'Killmails', - 'contract_created' => 'Contract created', + 'contract_created' => 'Contract Created', 'war_inactive_member' => 'War Inactive Member', ];