Getting Started
This area contains the basics you need to know to develop plugins for the Pano platform. A Pano plugin consists of a Kotlin backend and a Svelte frontend.
Prerequisites
Before you begin development, ensure you have the following:
- Technical Knowledge:
- Basic understanding of Kotlin or Java for backend development.
- Basic understanding of HTML, CSS, JavaScript or Svelte for frontend development.
- Pano Installation: You must have a Pano instance already installed and running locally.
- Development Mode: Go to Panel > Platform settings and enable Development Mode. This is strictly required to see UI changes during development.
Setup
We have prepared a Pano Boilerplate Plugin to help you get started quickly. This repository contains a pre-configured structure for both backend and frontend.
1. Clone the Boilerplate
To enable live reloading of UI changes, you must clone your project into the plugins directory of your installed Pano instance.
Navigate to your Pano installation directory (e.g.,
Pano/plugins).Clone the repository:
bashgit clone https://github.com/PanoMC/pano-boilerplate-plugin.git your-plugin-nameRename & Configure: Open the project and rename all occurrences of
pano-boilerplate-pluginto your own plugin ID.- Update
gradle.properties(manifest). - Rename package directories.
- Update basic definitions in the main class.
- Update
What's Next?
Pano plugin development involves separate workflows for frontend and backend. Check out the detailed guides below to learn more:
- General Architecture - Learn about general structure, standards, and PF4J integration.
- UI Development (Frontend) - Learn how to build interfaces using Svelte and the Pano SDK.
- Backend Development - Deep dive into Kotlin backend, database models, and APIs.
- Translations (i18n) - How to make your plugin multilingual.