Overview
The Invenicum plugin system allows you to extend and customize your inventory management experience. Plugins can add custom actions, integrate with external services, modify UI components, and automate workflows using the STAC (Stateless Action Components) framework.Plugin Marketplace
Access the plugin marketplace to discover community-created extensions:Access the Plugin Screen
Navigate to the Plugins section from the main menu. You’ll see three tabs:
- Librería - Installed plugins from the marketplace
- Míos - Plugins you’ve created
- Market - Community plugins available for installation
Browse Available Plugins
Switch to the Market tab to view all available plugins. Each card displays:
- Plugin name and description
- Author information
- Version number
- Installation status
Managing Installed Plugins
Activating and Deactivating
Installed plugins can be toggled on or off without uninstalling:Updating Plugins
When a new version is available, an update button will appear on the plugin card:The system automatically checks for updates by comparing your installed version with the latest version available in the marketplace.
Uninstalling Plugins
To remove a plugin:- Navigate to your plugin library
- Select the plugin you want to remove
- Choose “Desinstalar” from the options
- Confirm the action
Configuring Plugins
Each plugin may have configurable settings accessible through the plugin editor:Plugin Configuration Options
Plugin Configuration Options
Basic Settings
- Name: Display name for the plugin
- Description: Brief explanation of functionality
- Slot: Where the plugin integrates (e.g., item actions, dashboard widgets)
- Version: Semantic version number
- UI Configuration: Custom interface elements
- Public/Private: Control plugin visibility in the marketplace
- STAC Actions: Define custom actions and behaviors
Plugin SDK Overview
Invenicum plugins are built using the STAC framework, which provides a declarative way to define actions and UI components.SDK Initialization
The plugin system initializes the STAC SDK with your custom action parsers:Available SDK Methods
Plugins can invoke several built-in methods through the SDK:Creating Custom Actions
Define custom actions in your plugin’s STAC configuration:Creating Your Own Plugins
To create a new plugin:Define Plugin Metadata
Fill in the basic information:
- Unique ID (auto-generated from name)
- Display name
- Description
- Target slot
- Initial version (1.0.0)
Configure UI and Actions
Define your plugin’s interface and behavior using the STAC format. Reference the SDK documentation for available methods.
GitHub Integration
Invenicum plugins are backed by GitHub for version control and collaboration:- Official Plugins: Stored in the main repository
- Community Plugins: Fetched from the community marketplace
- Auto-sync: Your plugins are automatically synchronized
- Pull Requests: Suggest improvements to community plugins
Publishing to Marketplace
When you publish a plugin:- Validates plugin structure
- Creates a GitHub entry (for authorized authors)
- Makes it available in the marketplace
- Tracks download statistics
Best Practices
Performance
Performance
- Keep plugin actions lightweight
- Avoid blocking UI operations
- Use async operations for network calls
- Cache data when possible
User Experience
User Experience
- Provide clear descriptions and documentation
- Use appropriate slots for your functionality
- Test with different screen sizes
- Handle errors gracefully with user feedback
Version Management
Version Management
- Use semantic versioning (major.minor.patch)
- Document breaking changes
- Test updates before publishing
- Maintain backward compatibility when possible
Troubleshooting
Plugin Not Appearing
Plugin Not Appearing
- Ensure the plugin is activated in your library
- Check that the slot configuration matches your use case
- Verify the plugin hasn’t been uninstalled
- Refresh the plugin list
Update Failed
Update Failed
- Check your internet connection
- Verify the new version is compatible
- Try uninstalling and reinstalling
- Check for error messages in the console
SDK Method Not Working
SDK Method Not Working
- Verify the method name is correct
- Check that parameters match the expected format
- Ensure the SDK is initialized
- Review the plugin logs for errors
Next Steps
Templates
Explore the template marketplace for collection starters
Integrations
Connect Invenicum with external services
Custom Fields
Define custom field types for your assets
Achievements
Track your inventory management progress
