Skip to content

Release v4.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Sep 01:22

Inventory System Plugin v4.0.0 Update


Overview

The Inventory System Plugin has been updated to version 4.0.0 to maintain compatibility with the latest Horizon game server release (v0.36.0). This update ensures the plugin continues working with the new strongly-typed event system and standardized movement events.

Changes Made

Updated Dependencies

  • horizon_event_system: Updated from v0.5.1 → v0.17.0
  • Major version jump to stay current with Horizon server API changes

API Compatibility Updates

  • register_handlers method: Updated signature to include ServerContext parameter:
    // Old signature
    async fn register_handlers(&mut self, events: Arc<EventSystem>) -> Result<(), PluginError>
    
    // New signature  
    async fn register_handlers(&mut self, events: Arc<EventSystem>, _context: Arc<dyn ServerContext>) -> Result<(), PluginError>

Version Bump

  • Plugin version updated from v3.0.0 → v4.0.0 to reflect compatibility requirements

Why This Update Was Needed

The Horizon game server has introduced several architectural improvements including:

  • Strongly-typed event handlers with ClientEventWrapper<T>
  • Standardized player movement events
  • Enhanced GORC integration
  • Updated plugin API requirements

This plugin update ensures compatibility with these new features while maintaining all existing inventory functionality.

Impact

  • No functional changes to inventory system behavior
  • All existing inventory operations continue working as before
  • Plugin now compatible with latest Horizon server versions
  • Ready to leverage new strongly-typed event features in future updates

Installation

Replace the existing plugin file with the updated v4.0.0 version and restart the Horizon server. No configuration changes required.