CBChristian Buchhave Mortensenincbm.dev·Jul 14, 2025 · 1 min readCreate api for user on PterodactylIn ApiKeyController add: public function storeforuser(StoreApiKeyRequest $request, int $userId): array { $user = User::find($userId); if (!$user) { throw new DisplayException('User not found.'); } if...00