Executable Levers - Scalable levers to execute custom commands

MC Plugin Executable Levers - Scalable levers to execute custom commands 2.26.7.26
Place scalable Levers and customize their triggers

Fix an issue with the custom command : SET_EQUIPPABLE_MODEL


The player-only FORCE_DROP, (ei_id mode, names: FORCE_DROP, DROPSPECIFICEI)
and the mixed FORCEDROP, (slot mode, name: FORCEDROP) are now unified into a
single MixedCommand that supports both slot: and ei_id: parameters.

FORCE_DROP slot:-1 - to drop item of the entity/player of their main hand slot
FORCE_DROP ei_id:MyExecutableItem - to drop the mentionned EI from the player inventory
SCore, fix a crash issue that can happen with the custom command ADD_TEMPORARY_ATTRIBUTE
SCore Internal edits

EI fix of an issue with PLAYER_RECEIVE_EFFECT (it wasnt trigerred when the player already have the same effect at a lower level)
SCore, internal improvements

EI Improvements of the long lore

EI new repairable feature, now you can choose with which item you can repare the EI in the anvil.

EC Fix a dupe issue
Fix a small issue with HeadFeatures

Vietnam language added

Added the smelt argument for INLINE_MINEINCUBE, MINEINCUBE, MINEINSPHERE, VEIN_BREAKER

Added an option at direction argument of INLINE_MINEINCUBE that uses the XZ logic of Player Expansion from PlaceholderAPI (Added custom logic too for UP/DOWN direction)


Fix an issue with bundle restriction in 1.21.2 +

Update mostly done by Special70, ty
Update of checkvar ei placeholder.

Add a comment to mentio nthe deprecation of "itemCheckWithNBTAPI" setting.
Fix an issue with the custom command ADD_TEMPORARY_ATTRIBUT

+ Some other minor changes
SCore:
- Refactored logic for checkamount placeholder
- Added checkvar as substitute for checkitem's placeholders (checkitem can't detect doubles and I'm not gonna submit a PR to checkitem)
- Made a custom argument extractor so it doesn't have complications when dealing with arg inputs that contains underscores

ExecutableItems:
Added placeholders for PLAYER_PICKUP_ITEM

%item_type% : Returns Material value
%item_name% : Returns ItemStack display name
%item_amount% : Returns ItemStack amount
%item_cmdata% : Returns custom model data value
%item_cmdata_f_0% : Returns the first value of the floats custom model data array
%item_cmdata_s_0% : Returns the first value of the strings custom model data array

By Special70
SCore
New Player Conditions:

Added ifPlayerSpeed – compare the player's velocity magnitude (e.g., >= 0.1 to detect movement)

Added ifNearbyEntityCount – compare the number of entities within a 10-block radius

Added ifNearbyPlayerCount – compare the number of players within a 10-block radius

Added ifLineOfSight – check whether the player has direct line of sight to a living entity (requires 1.14+)


ExecutableItems:

Added ALL_OPTIONS for those who want to full update specific items using /ei refresh
Bug Fixes:

Fixed ArrayIndexOutOfBoundsException in HTTP request parsing when receiving malformed or incomplete request lines

Fixed NullPointerException when the HTTP connection is closed before a request line can be read
Top Bottom