Repository navigation
MacroMod v0.0.5
MC Macro Mod - Release Notes
Version 0.0.5
Note
Status: Version 0.0.5 marks the final alpha development milestone. The plugin and companion server ecosystem are fully feature-complete and feature-locked, preparing for upcoming public Beta releases.
🚀 Enhancements, Inventory Automation & Engine Lifecycle Stability
- Automated Container Stashing:
- Introduced
{STASHALL}keyword: automatically deposits main player inventory items into open container/vault screens while protecting hotbar tools (pickaxes & shovels).
- Introduced
- Screen Lifecycle & Container Sync Fixes:
- Refactored
{CLOSESCREEN}to callScreen.onClose()on the active GUI screen, properly triggering screen cleanup handlers and dispatching container close packets. - Resolved container desynchronization and screen overlay lockups when running automated container sequences (such as
/pvvault macros). - Pinned outbound commands (
sendCommand) and chat messages (sendChat) to Minecraft's main client execution thread (client.execute). - Added single-slot click actions
{SLOTCLICK},{SHIFTCLICK},{CTRLSHIFTCLICK},{QUICKMOVE},{QUICKMOVEALL slot}, and{CONTAINERCLICK}for granular container manipulation.
- Refactored
- Hotbar Slot Packet Synchronization:
- Updated
{SLOT 1..9}to convert 1-based hotbar numbers (1..9) to 0-based indices (0..8) and send explicitServerboundSetCarriedItemPacketnetwork packets to synchronize selected hotbar slots with the server.
- Updated
- File Array Operations & Chat Formatting:
- Introduced
{READFILE "file.txt" arrayVar},{ARRAYSIZE arrayVar targetVar}, and{GETARRAY arrayVar index targetVar}for reading and indexing text file arrays from.mcmscripts. - Added
{CHAT message}command with color section sign translation (&a->§a) for rich chat logging and command dispatching.
- Introduced
Version 0.0.4
🚀 Enhancements, Security & Server Policy Integration
-
Security & Sandbox Hardening:
- Audit and enforcement blocking user-supplied strings starting with dangerous reflection/process lookup prefixes (
java.,javax.,sun.,com.sun.,Runtime,ProcessBuilder). - Added
Throwablecatch wrapping inScriptInterpreter.tick()to gracefully isolate failing script instances without crashing the client tick loop. - Added friendly syntax error handling during script parsing.
- Audit and enforcement blocking user-supplied strings starting with dangerous reflection/process lookup prefixes (
-
New Event Triggers & Movement Options:
- Implemented
onItemPickupandonInventoryChangetriggers viaInventoryMixin. - Implemented
onWorldLoadtrigger viaWorldLoadMixin. - Extended durability threshold checking to cover off-hand items.
- Implemented script execution pause/resume suspension for priority event triggers.
- Implemented
-
Script Engine API Extensions & DSL Enhancements:
- Added read-only getters for
$isburning,$isswimming,$eyeheight. - Added inventory query actions:
{INVENTORYGETSLOT},{GETHELDITEM},{GETCONTAINERTITLE},{SWAPSLOT}. - Added
breakandcontinuekeyword support forwhileandforloops. - Enhanced condition evaluation to support string equality comparisons (e.g.
if $dimension == "minecraft:the_nether").
- Added read-only getters for
-
Companion Server Plugin & Network Enforcement:
- Created
ServerPermissionHandlercustom payload network listener formacromod:policypackets. - Initialized
macromod-servercompanion server multi-module plugin for Paper, Folia, Velocity, and BungeeCord. - Added LuckPerms meta-key integration (
macromod.<flag>) allowing per-player or per-group policy overrides. - Implemented unmanaged server discovery ping (
/macromod-info).
- Created
-
Build Pipeline & Version Bumping:
- Multi-artifact automated build pipeline (
scripts/build.sh) producingmacromod-0.0.4-free.jar,macromod-0.0.4-premium.jar, andmacromod-server-0.0.4.jar. - Automated version bump script (
scripts/bump-version.sh) and un-gated update checker for all users.
- Multi-artifact automated build pipeline (