# ZN Project Development Documentation

All ZN Projects Development Documentation

## PteroControl

Bot that allows you to control your panels running Pterodactyl or Pelican from Discord.

{% content-ref url="/pages/-MdVsW85edc2DFA-xQPu" %}
[Introduction](/pterocontrol/introduction)
{% endcontent-ref %}

{% content-ref url="/pages/WVxigkKrErKkDsvWGO8w" %}
[Change Logs](/pterocontrol/change-logs)
{% endcontent-ref %}

{% content-ref url="/pages/VwpACdJQij4M9NhQxivz" %}
[Terms Of Service](/pterocontrol/terms-of-service)
{% endcontent-ref %}

{% content-ref url="/pages/tfFsObKd8rHgZNXWgbq7" %}
[Privacy Policy](/pterocontrol/privacy-policy)
{% endcontent-ref %}

{% embed url="<https://pterocontrol.znproject.my.id>" %}

## CCBG

Customize your cobblestone and basalt generator with this addon! You can make your cobblestone and basalt generator spawn any block you want. By default, it spawns all Minecraft ores, including ancient debris, making it perfect for SkyBlock and other minigames that utilize cobblestone and basalt generators.

More Information:

{% embed url="<https://ccbg.znproject.my.id>" %}


# Introduction

PteroControl Introduction

PteroControl is a Discord App that allows you to control your Pterodactyl or Pelican panels directly from Discord.

#### Features:

* **Manage Client Panel**:

  * Efficiently manage and view details of specific client servers.
  * Access detailed information about your client account.

  **Commands**:

  * `/client server`: Manage a specific server on your client account.
  * `/client account`: View your client account details.
* **Manage Admin Panel**:

  * Add, delete, and view servers, users, and nodes.
  * Manage eggs, users, and servers with advanced control features.

  **Commands**:

  * `/admin nodes`: Manage nodes (info, list, create, delete).
  * `/admin eggs`: Manage eggs (info, list).
  * `/admin users`: Manage users (info, list, create, edit, delete).
  * `/admin servers`: Manage servers (info, list, create, delete).
* **Manage Panels**:

  * Add, remove, edit, and select panels for management.

  **Commands**:

  * `/panel select`: Select a specific panel.
  * `/panel add`: Add a new panel to your account.
  * `/panel delete`: Remove a panel from your account.
  * `/panel edit`: Edit details of a panel.
  * `/panel list`: View all panels available on your account.
* **Guide**:

  * Step-by-step instructions for obtaining an API key.

  **Commands**:

  * `/guide apikey`: Get instructions on how to obtain a panel API key.

Manage your Pterodactyl and Pelican panels effortlessly with PteroControl! For any issues, feel free to reach out via the support server for assistance.

{% embed url="<https://pterocontrol.znproject.my.id>" %}


# Change Logs

PteroControl Change Logs

### Change Log v6.0.0

August 28, 2024

#### Added

* Account
  * Activity Logs Pagination.
  * API Keys, SSH Keys, Activity Logs and Info Subcommand.
* Server
  * Allocation Manager.
  * Docker Image Manager.
  * Startup Variable Manager.
  * Database Manager.
  * Schedule Creation, Editing, and Deletion.
  * Schedule Task Manager.
  * Activity Logs Pagination.
* Admin
  * Server Details and Build Editing.
  * Node Allocation List and Creator.
  * Mounts Manager. (`Pelican Panel Only`)
  * Database Host Manager. (`Pelican Panel Only`)
  * Nests Manager. (`Pterodactyl Panel Only`)
* Other
  * Report a bug command. (`/bug`)

#### Changed and Fixed

* Updated embed design.
* Updated loading embed with randomize embed description.
* After successfully creating, editing, or managing resources (servers, users, nodes, databases, schedules, etc.), an information embed message will be shown.
* If a resource (server, nodes, databases, etc.) cannot be found, the app will display the message: "The requested resource could not be found on the panel."
* Updated Schedule Information Embed.
* Server Advanced Subuser Manager improvements.
* The Admin option has been removed from user creation/editing; setting admin status will now be prompted after the user modal.
* The Back button now returns to the list first before going back to the server information.
* Fixed the Link Button for `Pterodactyl Panel`.
* Fixed Eggs Manager for `Pterodactyl Panel`.
* Fixed panel editing issues.
* Fixed server manager functionality when the server is offline.
* Fixed issue where the Admin button did not work if the server was offline.
* Fixed several small issues.

#### Planned

* Admin Create Server with Deployable Node
* Server Advanced Files Manager
* Server Advanced Startup Manager

***

### Change Log v5.10.0

August 19, 2024

#### Added

* SSH Key Manager. (<https://hirzi.catto.pics/1a3570b5>)
* Client server list command (`/client servers list`). (<https://hirzi.catto.pics/3d1630a3>)
* Server list added to egg, nodes, and user information. (<https://hirzi.catto.pics/df444f8e>)

#### Changed and Fixed

* Updated embed design for a more polished look.
* Fixed issue where API keys could not be created.
* Renamed backup field `username` to `name`.
* Split `/client server` into `/client servers list` and `/client servers manage`. (<https://hirzi.catto.pics/1c68f2e0>)
* Fixed CPU load value display in server management.
* Updated `/info` command.

#### To Do List

* Subusers Manager
* Schedule Task Manager
* Advanced File Manager
* Mount Manager
* Server Database Manager
* Database Host Manager
* Node Allocation Manager
* File Content Viewer
* Change Server Docker Image
* Change Server Startup Configuration

***

### Change Log v5.9.0

August 18, 2024

#### Added

* "View User" button after creating or editing a user.
* "View Account" button in the account information section.
* "Discord Support Server" button for help, info, and other commands.
* "Install Wings Guide" button in the node information command.

#### Changed and Fixed

* Updated embed design.
* Display node configuration in the node information command.
* Show server description in the server information command.
* Show node description in the node information command.
* Fixed the "View Node" button that was pointing to the wrong URL.
* Fixed the daemon or wings base that was pointing to wrong directory.

#### Removed

* Status field in the embed for user or server creation and deletion.

***

### v5.8.0

August 18, 2024

#### Added

* Ability to create and delete nodes.
* Force option for deleting server.
* View variables in egg information.

#### Changed and Fixed

* Port option is now optional when creating a server.
* Fixed an issue where servers could not be restarted.
* Fixed an issue where servers could not be created.

***

### v5.7.0

August 17, 2024

#### Added

* Eggs manager for the admin command `/admin eggs`.
* Buttons to view server, node, user, and egg details in the admin command.
* Server console view for the admin command.
* Edit specific panels using the command `/panel edit`.
* Hyperlinks for servers, nodes, users, and eggs list in admin commands.

#### Changed and Fixed

* Updated embed design to include more detailed information.
* Fixed CPU load value for the server manager.
* Fixed various minor issues.


# Terms Of Service

PteroControl Terms Of Service

#### Introduction

Welcome to PteroControl! PteroControl is a Discord bot that allows you to control your panels running Pterodactyl or Pelican directly from Discord. By using PteroControl, you agree to comply with and be bound by the following Terms of Service. If you do not agree to these terms, please do not use the bot.

#### User Requirements

To use PteroControl, you must provide a valid panel URL and API key from your Pterodactyl or Pelican panel. These credentials are required to enable the bot to interact with your servers. If you provide an API key with admin access, the bot will also be able to interact with admin-level functionalities of your panel.

#### Data Collection

PteroControl collects the following information from users:

* **Panel URL**: The URL of your Pterodactyl or Pelican panel.
* **API Key**: The API key associated with your panel account.

This information is used solely for the purpose of providing the bot's services and enabling it to control your servers and perform admin-level functions if such access is provided. We do not share this information with third parties.

#### Prohibited Uses

When using PteroControl, you agree not to engage in any of the following prohibited activities:

* Selling accounts or access to the bot.
* Using the bot for any illegal or unauthorized purpose.
* Interfering with or disrupting the bot's operation or servers connected to the bot.

#### Liability

PteroControl is provided on an "as is" and "as available" basis. We disclaim all warranties, whether express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, and non-infringement. We do not warrant that the bot will meet your requirements, be uninterrupted, timely, secure, or error-free.

Users are solely responsible for any damages caused to their Pterodactyl or Pelican panels through the use of PteroControl, especially when admin-level access is provided. We shall not be held liable for any direct, indirect, incidental, special, or consequential damages arising out of or in connection with your use of the bot, except where such damages are caused by our intentional misconduct or gross negligence.

#### Modification of Terms

We reserve the right to modify these Terms of Service at any time. Any changes will be effective immediately upon posting the updated terms on our website or through the bot. Your continued use of PteroControl after any changes have been made constitutes your acceptance of the new terms.

#### Contact Information

If you have any questions or concerns about these Terms of Service, please contact us by visiting <https://discord.znproject.my.id>.

#### Effective Date

These Terms of Service are effective as of August 6 2024.


# Privacy Policy

PteroControl Privacy Policy

#### Introduction

Welcome to PteroControl! PteroControl is a Discord bot that allows you to control your panels running Pterodactyl or Pelican directly from Discord. This Privacy Policy outlines how we collect, use, and protect your information.

#### Information We Collect

PteroControl collects the following information:

* **Panel URL**: The URL of the panel you wish to connect to.
* **Panel API Key**: The API key used to authenticate and connect to your panel. This key can include user-level access or admin-level access depending on what the user provides.

#### How We Use Your Information

The information collected is solely used to:

* **Connect to the Panel**: Facilitate the connection to your Pterodactyl or Pelican panel, enabling you to manage your servers and perform administrative tasks through Discord.
  * **Server Management**: If a user-level API key is provided, the bot will only interact with the servers.
  * **Administrative Access**: If an admin-level API key is provided, the bot will be able to perform administrative tasks on the panel.

#### Data Storage and Protection

* **Storage**: The collected Panel URL and API key are stored in our secure database.
* **Protection**: We implement industry-standard security measures to ensure the protection of your data against unauthorized access, alteration, or destruction.

#### Third-Party Services

* **No Third-Party Services**: PteroControl does not use any third-party services to process or store your data.

#### Data Sharing

* **Prohibited Sharing**: We do not share your data with any third parties. Your data is kept confidential and is only used for the purposes stated in this policy.

#### User Rights

* **Data Rights**: You have the right to access, modify, or delete your data at any time. For any requests regarding your data, please contact us through the provided means below.

#### Contact Information

For any privacy-related concerns or questions, please visit our website at <https://discord.znproject.my.id>.

#### Changes to This Policy

We may update this Privacy Policy from time to time. Any changes will be posted on this page with an updated revision date.

#### Effective Date

This Privacy Policy is effective as of August 6 2024.


