PteroHook v1.1

PteroHook sends Discord webhook alerts for important Pterodactyl panel events.



1) Install Blueprint
Follow the official Blueprint install steps for your panel.




2) Apply the One‑Time Core Patch (Auto‑Register)
Edit:
Code:
app/Providers/EventServiceProvider.php

Add these imports at the top:
PHP:
  use Illuminate\Support\Facades\Event;
  use Pterodactyl\BlueprintFramework\Libraries\ExtensionLibrary\BlueprintBaseLibrary;

Add this method inside the class:
PHP:
  private function registerBlueprintExtensionListeners(): void
  {
  try {
  $blueprint = app(BlueprintBaseLibrary::class);
  } catch (\Throwable) {
  return;
  }

      foreach ($blueprint->extensionsConfigs() as $config) {
          $listen = $config['events']['listen'] ?? null;
          if (!is_array($listen)) {
              continue;
          }

          foreach ($listen as $event => $listeners) {
              if (is_string($event)) {
                  $event = str_replace('\\\\', '\\', $event);
              }

              if (is_string($listeners)) {
                  Event::listen($event, str_replace('\\\\', '\\', $listeners));
                  continue;
              }

              if (!is_array($listeners)) {
                  continue;
              }

              foreach ($listeners as $listener) {
                  if (!is_string($listener)) {
                      continue;
                  }
                  Event::listen($event, str_replace('\\\\', '\\', $listener));
              }
          }
      }

  }

Call it inside boot():
PHP:
  public function boot(): void
  {
  parent::boot();

      $this->registerBlueprintExtensionListeners();

      User::observe(UserObserver::class);
      Server::observe(ServerObserver::class);
      Subuser::observe(SubuserObserver::class);
      EggVariable::observe(EggVariableObserver::class);

  }




3) Clear caches
Bash:
  cd /var/www/pterodactyl
  php artisan optimize:clear




4) Install PteroHook
Bash:
  cd /var/www/pterodactyl
  blueprint -install pterohook.blueprint




5) Set Webhook URL
Admin Panel → Extensions → PteroHook → paste Discord webhook URL → Save




✅ Done.
Events will now trigger Discord alerts automatically.
Buy a license now
$4.99
EULA
Standard EULA
Use on any projects you own with attribution
Support
Standard
Includes:
Download the resource
Access new updates
Support from the creator
Enhanced
+ $1.99
Includes Standard support plus:
Installation & setup
Support duration
1 year
Lifetime
+ $1.99
Share and earn
Refer this resource and earn a 10% commission.
892 Views
12 Purchases
14 Downloads
Dec 18, 2025 Published
Jan 29, 2026 Updated
5.00 star(s)
Average rating (1)
410.1 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Supported framework
  1. Blueprint
Supported versions
  1. 1.11
Supported languages
  1. English
Creator
Recommended for you
Back up Pterodactyl servers to Google Drive with manual and scheduled cron-based uploads.
5.00 star(s) 1 ratings
16 purchases
An extension that allow users to download from url directly to Panel
Not yet rated
3 purchases
Manage Subdomains for pterodactyl servers
Not yet rated
2 purchases
Automate your Pterodactyl panel with a powerful Discord bot
Not yet rated
5 purchases
A Laravel based game topup store with wallet and online payments plus flexible provider API integr
Not yet rated
0 purchases
Share and earn
Refer this resource and earn a 10% commission.
892 Views
12 Purchases
14 Downloads
Dec 18, 2025 Published
Jan 29, 2026 Updated
5.00 star(s)
Average rating (1)
410.1 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Supported framework
  1. Blueprint
Supported versions
  1. 1.11
Supported languages
  1. English
Creator
Recommended for you
Back up Pterodactyl servers to Google Drive with manual and scheduled cron-based uploads.
5.00 star(s) 1 ratings
16 purchases
An extension that allow users to download from url directly to Panel
Not yet rated
3 purchases
Manage Subdomains for pterodactyl servers
Not yet rated
2 purchases
Automate your Pterodactyl panel with a powerful Discord bot
Not yet rated
5 purchases
A Laravel based game topup store with wallet and online payments plus flexible provider API integr
Not yet rated
0 purchases
Top