Executable Levers - Scalable levers to execute custom commands

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

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
New Commands: SET_PLAYER_WEATHER & SET_PLAYER_TIME

Two new player commands for client-side weather and time control:

SET_PLAYER_WEATHER -- Set weather per-player without affecting the server or other players.
SET_PLAYER_WEATHER weather:CLEAR # clear skies
SET_PLAYER_WEATHER weather
:D
OWNFALL # rain/storm
SET_PLAYER_WEATHER weather:RESET # restore server weather

SET_PLAYER_TIME -- Set time per-player, with optional relative mode.
SET_PLAYER_TIME time:6000 # noon
SET_PLAYER_TIME time:18000 relative:true # offset from server time
SET_PLAYER_TIME time:-1 # reset to server time

Common time values: 0 sunrise, 6000 noon, 12000 sunset, 18000 midnight.
Fix of an issue with the custom command SMELT
SCore (All plugins)
Fix an issue where the plugin try to run tasks while it is disabled

ExecutableItems by Special70 !
New activator PLAYER_EMPTY_BUCKET
SCore (All plugins)
Fix of an issue with the player health placeholder

Improvement of the compatibility between the custom AROUND command and GriefPrevention.
SCore (All plugins)
- New custom player command: SET_EQUIPPABLE_MODEL slot:-1 model:minecraft:diamond
- New custom item command: SET_EQUIPPABLE_MODEL model:minecraft:diamond

ExecutableItems
New activators:
- PLAYER_ENABLE_SWIM
- PLAYER_DISABLE_SWIM

ExecutableCrafting
Custom crafting recipes now appear in the vanilla recipe book
Top Bottom