Skip to content

NerdsCorp/Custom-Buttons

Repository files navigation

Custom Buttons

Create custom buttons and sidebar items in the server panel with support for URL templates and feature detection.

Features

  • Create custom buttons in the server view
  • Add custom sidebar navigation items
  • Support for dynamic URL templates (server name, UUID, IP, port, etc.)
  • Feature detection system to show/hide buttons based on egg features
  • Subuser permissions (view, manage)
  • Multi-panel support (admin, app, server)

Installation

  1. Download the plugin ZIP file from the Releases page
  2. Go to your Pelican Panel admin area
  3. Navigate to the Plugins page
  4. Click on "Import file"
  5. Select the downloaded ZIP file
  6. Click "Import"

Usage

After installation, you can create custom buttons and sidebar items from the admin panel. Available URL template variables:

  • {{env.P_SERVER_UUID}} - Full server UUID
  • {{env.P_SERVER_UUID_SHORT}} - Short server UUID
  • {{env.P_SERVER_NAME}} - Server name
  • {{env.P_SERVER_ID}} - Numeric server ID
  • {{env.P_SERVER_ALLOCATION_IP}} - Primary IP
  • {{env.P_SERVER_ALLOCATION_PORT}} - Primary port
  • {{env.P_SERVER_NODE}} - Node name
  • {{env.P_SERVER_OWNER}} - Owner username

Example URLs

  • https://map.example.com/server/{{env.P_SERVER_NAME}}
  • https://stats.example.com/{{env.P_SERVER_UUID_SHORT}}
  • https://example.com/connect/{{env.P_SERVER_ALLOCATION_IP}}:{{env.P_SERVER_ALLOCATION_PORT}}

Requirements

  • Pelican Panel v1.0+

Author

Made by olivierdti Maintained By Kristopher Reeves (Dr.Reeves)

About

Create custom buttons and sidebar items in the server panel with support for URL templates and feature detection.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors