# Pterodactyl

## Case #1 - Using hosting

This Guide has been moved over to [Newbie Guide Page](https://nidzo-docs.gitbook.io/ticketsbot/installation-and-setup/newbie-guide), follow from step #2.

## Case #2 - Selfhosting

{% hint style="info" %}
If you already have Pterodactyl with discord.js/node.js Egg, you can go back to [Case #1](#case-1-using-hosting) and continue with it.
{% endhint %}

The second case is that you're hosting pterodactyl panel on your VPS. Last steps of this case are the same as from the Case #1, so only difference is installation of egg. Egg we're gonna use is [Generic node.js Pterodactyl Egg](https://github.com/parkervcp/eggs/blob/master/generic/nodejs/egg-node-js-generic.json), these are steps for this case are:

1. Go to [generic node.js egg](https://raw.githubusercontent.com/parkervcp/eggs/master/generic/nodejs/egg-node-js-generic.json) and download JSON file (CTRL + S)
2. Open Nests from Admin part of Panel
3. Click 'Create New' & enter Name & Description and click 'Save'
4. Click on 'Nests' again and then click green 'Import egg' & select egg that you downloaded previously. Associate egg with the nest you just created.
5. Restart wings
6. Create new Server, for Nest create nest you just created and do the same for egg
7. Follow the steps from [Case #1](#case-1-using-hosting)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nidzo-docs.gitbook.io/ticketsbot/installation-and-setup/pterodactyl.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
