Skip to content

2.0.6

Latest
Compare
Choose a tag to compare
@finder1793 finder1793 released this 18 Dec 23:19

Skript-Nexo v2.0.6 Release Notes
New Features

Added Custom Mechanic Creation System
    Create custom mechanics with unique IDs
    Set and get mechanic properties dynamically
    Full property management with YAML configuration support
    Added Mechanic Reload System

New Syntax

create [new] [nexo] mechanic [with id] %string%
set [the] property %string% of [mechanic] %string% to %object%
set [mechanic] %string%'s property %string% to %object%
[the] property %string% of [mechanic] %string%
[mechanic] %string%'s property %string%
reload [all] [nexo] mechanics

Technical Improvements

Added SkriptMechanicFactory with property management
Implemented SkriptMechanic class for custom mechanics
Added YAML configuration support for persistent storage
Integrated with Nexo's MechanicFactory system
Fixes targeted at getting item ID from Projectile
Added Mechanic Reload System
    Reload mechanics through Skript command
    Automatic reloading with Nexo plugin
    Configuration persistence during reloads

Added EffReloadMechanics class
Enhanced mechanic registration system
Improved configuration handling during reloads
Better integration with Nexo's reload cycle

Directory Structure

New mechanics folder in plugin directory
Individual YAML files for each custom mechanic
Organized property storage system

Documentation

Added examples for all new syntax
Included property management documentation
Updated technical documentation for developers
New Features
Added reload command examples
Updated technical documentation
Included reload system integration notes

System Changes

Mechanics now properly unregister before reloading
Configuration files are preserved during reloads
Smoother transition between plugin reloads
Enhanced error handling during reload process