⭐ Executable Blocks ⭐ Custom Traps / Generators / Builders / Triggers, Animated / Effect blocks.

Plugins ⭐ Executable Blocks ⭐ Custom Traps / Generators / Builders / Triggers, Animated / Effect blocks.

Version: 5.26.11.20
Fixes
SCore: the poplar blocks of Minecraft 26.x are now part of ALL_LOGS, ALL_PLANKS, ALL_WOODS, ALL_STRIPPED_LOGS and ALL_STRIPPED_WOODS. Before, an item with detailedBlocks: ALL_LOGS (a tree-cutting axe with VEIN_BREAKER, for example) did nothing on a poplar tree. Thanks to AZITAL.
SCore: some other woods were also missing from these groups and are now included:
ALL_WOODS: cherry wood, crimson hyphae and warped hyphae.
ALL_STRIPPED_LOGS: stripped mangrove log, stripped cherry log, stripped crimson stem and stripped warped stem.
ALL_STRIPPED_WOODS: stripped mangrove wood, stripped cherry wood, stripped crimson hyphae and stripped warped hyphae.
Nothing changes for your configs on older Minecraft versions, where these blocks don't exist.

This update only changes SCore. The other plugins are published again so that you can update everything at the same time; their code is the same as the previous version.

If something looks wrong after updating, open a post in the bug channel.

Good dev, if you have problem or suggestion join my discord !
Fixes
ExecutableBlocks: in the block editor, the "Suspicious Block Loot" icon no longer hides the furnace or hopper features of a block. It now appears only for suspicious sand and gravel. Thanks to Special70.
ExecutableBlocks: a suspicious sand or gravel block with no loot set no longer causes an error when it is placed.
ExecutableItems: /ei util-set-keepdefaultattributes-all-ei typed without true or false now only shows how to use it. Before, it changed every item to keep its default attributes.
MyFurniture: an activator with a wrong option: (a typo) no longer runs. It is turned off and the error appears in the console when the plugin loads, like in ExecutableBlocks and ExecutableEvents.
If something looks wrong after updating, open a post in the bug channel.

Good dev, if you have problem or suggestion join my discord !
Fixes
ExecutableItems: fixed a trident dupe. Throwing a normal trident while an ExecutableItems trident was in your inventory could turn the normal one into a second copy of the custom trident. Thanks to adam1231213 for the exact steps.
ExecutableItems: the usage of thrown items now works as expected:
snowballs, eggs, ender pearls, wind charges, potions and XP bottles now really lose usage when an activator on the throw removes some (it was ignored before);
throwing one item from a stack no longer gives you an extra one;
a custom trident now loses usage when it hits something (if the item is set up for it), and disappears for good when its usage runs out instead of staying on the ground.
ExecutableItems (Spigot): wind charges, lingering potions and the new blue and brown eggs are now recognized when thrown, so their activators work.
ExecutableBlocks: amountItemsTransferred now also applies when a hopper pulls items from the container above it, not only when it pushes them. Thanks to vinrey123.
SCore (Spigot 1.21.11): activators that run when a projectile hits a block (PROJECTILE_HIT_BLOCK) never triggered on Spigot 1.21.11. Fixed.
New
SCore: new command EICOOLDOWN_RESET {PLAYER} {ID} [activator] to remove the cooldown of an item for a player, for all its activators or only the one you name. Use all as the ID to reset every item. Thanks to yuiso. for the idea.
Changed
ExecutableItems: a thrown item that vanilla Minecraft uses up (snowball, egg, ender pearl, wind charge, potion, XP bottle, firework rocket) now loses 1 usage each time it is thrown, like the vanilla item. With a usage of 3, you can throw it 3 times. If the item has an activator on the throw that changes the usage, that value is used instead. Items with an unlimited usage (-1) don't change. Bows, crossbows and tridents don't lose usage on their own.
⚠️ If some of your throwable items have a usage above 1 and you counted on them never running out, give them an unlimited usage (usage: -1).

If something looks wrong after updating, open a post in the bug channel.

Good dev, if you have problem or suggestion join my discord !
Fixes
  • SCore: EQUIPMENT_VISUAL_REPLACE and EQUIPMENT_VISUAL_CANCEL no longer flood the server with packets. A long REPLACE sent the equipment packet to every online player on every tick, and CANCEL sent thousands of packets at once: everyone's ping went up and players could be kicked. Each entity and slot now has a single visual, sent once to the players who see the entity. CANCEL sends one reset and now also works on mobs, and a second REPLACE replaces the first one instead of stacking. The command syntax doesn't change. Thanks to darkchroma.
  • SCore: fixed a dupe. With smelt:true (VEIN_BREAKER, MINEINCUBE, MINEINSPHERE, INLINE_MINEINCUBE) and with SMELT, a block whose break was cancelled (protected region, activator with cancelEvent...) stayed in place but still dropped its smelted item. Nothing drops anymore when the break is refused, and FARMINCUBE no longer replants a crop it could not break.
  • SCore: delayed commands survive a restart again. Since Minecraft 1.21.3, the DELAY commands of ExecutableBlocks could not be saved when the server stopped, so a block that a DELAY had to put back never came back after a restart. They are now saved and resume after the restart, and the time left keeps running while the server is off. [<OFFLINE>] commands run without waiting for their player to join. Thanks to cyclexterminated.
  • SCore: blocks broken by commands can no longer start an endless chain that froze the server. With score run-block-command ... BREAK in a PLAYER_BLOCK_BREAK activator (a pickaxe that mines in a + shape), each broken block ran the activator again and broke its neighbours, until the watchdog stopped the server. A block is now broken once per chain, and a chain that goes past 64 levels or 512 blocks stops with one warning in the console. Normal uses don't change: a tree felled log by log stays far below these limits. Thanks to espadons.
  • SCore: ifHasEnchant and ifHasNotEnchant keep every level you write for the same enchantment: with LOYALTY:1, LOYALTY:2, LOYALTY:3, only the last one counted. An enchantment written without a level (LOYALTY) now means any level; it used to be skipped without a word. Thanks to lxstradiance.
  • ExecutableItems: an activator with VEIN_BREAKER, MINEINCUBE, FARMINCUBE or SMELT now behaves the same right after the editor and after a reload or a restart. Before, the blocks of the vein could get desactiveDrops and DROP_ITEM right after editing, then lose them after /ei reload. To make the blocks broken by the command run the activator, use the new runActivatorOnBlocks:true (see below). Thanks to CRY0G3N_.
  • ExecutableItems, ExecutableBlocks, ExecutableEvents, MyFurniture: no more "out of date" message when your version is newer than the one Spigot shows. The message only appears when a newer version is published. Thanks to officialbasic.
  • SCore: in the item editor, the message shown when no item is set now explains that the item is read from your cursor, not from your hand. Thanks to grim.
Performance
  • SCore, ExecutableItems: a pickaxe that mines with chains of score run-block-command ... BREAK (a + shape pickaxe, for example) now costs about 3 times less server time per hit underground, and 5 times less in the open. Commands no longer try to break empty air blocks, which ran the activators again for nothing, and every ExecutableItems activation skips work it used to throw away (conditions that are not set, colors already converted, the lookup of command names). Thanks to espadons.
New
  • ExecutableItems: setting runActivatorOnBlocks:true on VEIN_BREAKER, MINEINCUBE and FARMINCUBE (off by default). The blocks broken by the command also run the activator that launched it: conditions, desactiveDrops, cancelEvent, the other commands, usageModification, variables. Cooldowns and uses are checked and taken only on the block you broke, so a cooldown doesn't stop the vein. triggerEvent:true, which old editor templates wrote, does nothing and still does nothing. Thanks to CRY0G3N_.
  • SCore: DRAININCUBE gets waterlogged:true (off by default). It also dries the waterlogged blocks of the cube (slabs, stairs...) and removes the water plants a sponge removes (kelp, seagrass, bubble columns). Minecraft 1.13+. Thanks to daphsquid.
  • ExecutableItems, MyFurniture: option texturesPackRequired in config.yml (default true, nothing changes). Set it to false to propose the textures pack without forcing it: players can decline it and still play. It applies to the next joins after /ei reload or /mf reload. Thanks to skinnylxgxnd.
  • SCore, MyFurniture: AROUND and MOB_AROUND now work in the commands of furniture, so a furniture can have an aura (effects on the players or the mobs around it).
  • ExecutableCrafting: the console says at startup when accurateRecipeBook is enabled, and the [EC debug] line shows the recipe book state of the matched recipe (craftable, not craftable, not tracked, option off). Thanks to grim.
  • SCore: option breakChains in config.yml (default true, nothing changes). Set it to false to stop the chains of blocks broken by commands: a block broken by a command then never makes the activators break other blocks by command. A + shape pickaxe mines its own 5 blocks only, and a tree felled log by log with score run-block-command stops at its second log. The line is not added to existing configs: write breakChains: false yourself. Thanks to espadons.
Every new setting keeps the current behaviour by default ( texturesPackRequired and breakChains default to true), so your configs are unchanged. If something looks wrong after updating, open a post in the bug channel.

Good dev, if you have problem or suggestion join my discord !
[IMG] ​
SCore & All plugins

- Fixed issues when adding custom int and double values to the nbt editor
String, Integer and Double values can now use the rand placeholder (Ex: %rand:-10|10%)
- Fixed issues of ExecutableItems not being able to import ListCompoundNBTs

ExecutableLevers

Fix an issue with EL

ExecutableItems

New error message to customise when the players try to use an EI in a worldguard blocked region.


Good dev, if you have problem or suggestion join my discord !
[IMG]
SCore
Fix of an issue with FALLING_DUST in SCore particles

Added an arg "nonliving" to MOB_AROUND. (Any bugs that occur when running entity commands while this argument is enabled will most likely be ignored due to scope creep.)

Fix an issue with Paper 26.1 related to an API change

-----
EI

New setting for the NBTTags feature to store them in Persistent Data Container instead of item nbt
nbt:
0:
type: STRING
key: my_custom_tag
value: hello
saveInPDC: true # stored as executableitems:my_custom_tag in the PDC
1:
type: INTEGER
key: raw_tag
value: 42
# saveInPDC not set — written as raw NBT tag (default, existing behaviour)


Fix an issue where the player can dupe EI trident

Fix of an issue where launching and egg triggered the two clicks : left and right

-----
EC

Fix a dupe issue in ExecutableCraft


Good dev, if you have problem or suggestion join my discord !
[IMG]
SCore changelogs (All plugins)

You can now put placeholders into SCore variabless and define if they will be parsed or not by SCore using
parsePlaceholders: true/false

Players can now disable particles using /score particles-toggle

Fix the compatibility with Spigot

Fix an issue with FR language

Fix of an issue with version management

The plugins have been tested and working with 26.1
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...
Hello, new update !
If you encounter any issue, join the discord server and report it as soon as possible.
1758485543336.png

The update may contains more content than what is shown of the screenshot.
Hello, new update !
If you encounter any issue, join the discord server and report it as soon as possible.
1755758742030.png

The update may contains more content than what is shown of the screenshot.